feat: ensure letsencrypt is always selected

This commit is contained in:
VC
2024-07-05 11:53:40 +02:00
parent 4bc017a5dd
commit 34d30d68f1

View File

@@ -7,3 +7,8 @@
curl https://get.acme.sh | INSTALLONLINE=1 LE_WORKING_DIR=/etc/x509 sh # noqa: command-instead-of-module
executable: /bin/bash
creates: /etc/x509
- name: Set default CA
ansible.builtin.command: /etc/x509/acme.sh --set-default-ca --server letsencrypt
register: acme_output
changed_when: acme_output.rc != 0