This commit is contained in:
Ulf Renman 2021-07-01 22:42:42 +02:00 committed by GitHub
commit 6e10635bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,12 @@
changed_when: upgrade_result.rc == 0 and "Upgrade success" in upgrade_result.stdout
become_user: "{{ acme_sh_become_user }}"
- name: Use letsencrypt as CA
command: ./acme.sh --set-default-ca --server letsencrypt
args:
chdir: "~/.acme.sh"
become_user: "{{ acme_sh_become_user }}"
- name: Create certificate path
file:
path: "{{ acme_sh_copy_certs_to_path }}"