Set acme.sh default server to letsencrypt to avoid missing registration for new domains

main
Georg Krause 2021-11-11 10:48:49 +01:00 committed by Gitea
parent 2781a588fa
commit a19fa1aec1
1 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,14 @@
register: _account_conf_update
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
become: yes
command: