ansible-roles/letsencrypt-acmetool-client/handlers/main.yml

10 lines
373 B
YAML

---
- name: Initialize letsencrypt acmetool
become: True
become_user: '{{ letsencrypt_acme_user }}'
command: '{{ letsencrypt_acme_command }} {{ letsencrypt_acme_command_opts }} quickstart ; {{ letsencrypt_acme_command }} {{ letsencrypt_acme_command_opts }} reconcile'
args:
creates: '{{ letsencrypt_acme_user_home }}/accounts'
when: letsencrypt_acme_install