mirror of https://dev.ccchb.de/ccchb/ansible.git
Compare commits
6 Commits
3ffb1b53c8
...
09cf6f693b
Author | SHA1 | Date |
---|---|---|
Crest | 09cf6f693b | |
Crest | 6a81bb2b72 | |
Crest | 428f4be8da | |
Crest | 8ec0f09538 | |
Crest | 90e6df0381 | |
Crest | 641a48332d |
Binary file not shown.
|
@ -1,2 +1,2 @@
|
|||
---
|
||||
ansible_python_interpreter: /usr/local/bin/python
|
||||
ansible_python_interpreter: /usr/local/bin/python3.8
|
||||
|
|
|
@ -9,6 +9,7 @@ postfix_my_networks:
|
|||
|
||||
haproxy_v4: 176.9.59.104
|
||||
haproxy_v6: 2a01:4f8:150:926f::2
|
||||
haproxy_acme_email: root@ccchb.de
|
||||
|
||||
haproxy_http:
|
||||
- host: 'ccchb.de'
|
||||
|
|
|
@ -216,9 +216,9 @@
|
|||
meta: flush_handlers
|
||||
|
||||
- name: "Register Let's Encrypt account"
|
||||
command: env sudo -u acme acme.sh --register-account --home /var/db/acme
|
||||
command: 'env sudo -u acme acme.sh --email {{ haproxy_acme_email }} --server letsencrypt --register-account --home /var/db/acme'
|
||||
args:
|
||||
creates: /var/db/acme/ca/acme-v02.api.letsencrypt.org/account.json
|
||||
creates: /var/db/acme/ca/acme-v02.api.letsencrypt.org/directory/account.json
|
||||
|
||||
- name: Use the example deploy hooks
|
||||
file:
|
||||
|
|
Loading…
Reference in New Issue