Set acme.sh default server to letsencrypt to avoid missing registration for new domains
parent
2781a588fa
commit
a19fa1aec1
|
@ -49,6 +49,14 @@
|
||||||
register: _account_conf_update
|
register: _account_conf_update
|
||||||
changed_when: '_account_conf_hash_before.stdout not in _account_conf_update.stdout'
|
changed_when: '_account_conf_hash_before.stdout not in _account_conf_update.stdout'
|
||||||
|
|
||||||
|
- name: Set letsencrypt as default CA
|
||||||
|
become: yes
|
||||||
|
shell:
|
||||||
|
cmd: ./acme.sh --set-default-ca --server letsencrypt
|
||||||
|
chdir: ~/.acme.sh
|
||||||
|
register: _account_conf_update
|
||||||
|
changed_when: '_account_conf_hash_before.stdout not in _account_conf_update.stdout'
|
||||||
|
|
||||||
- name: Issue certificates
|
- name: Issue certificates
|
||||||
become: yes
|
become: yes
|
||||||
command:
|
command:
|
||||||
|
|
Loading…
Reference in New Issue