diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-12-22 22:22:09 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-12-22 22:22:09 +0100 |
commit | 0c469b73df57b25a96e77e0b9ae09ab7cd1bf128 (patch) | |
tree | febbbcec4a842042fa45a905d83062b72cc6d172 /roles/x509/acmetool/cert | |
parent | move acmetool to new x509 subdir (diff) |
acmetool: minor refactroing
Diffstat (limited to 'roles/x509/acmetool/cert')
-rw-r--r-- | roles/x509/acmetool/cert/handlers/main.yml | 2 | ||||
-rw-r--r-- | roles/x509/acmetool/cert/tasks/main.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/x509/acmetool/cert/handlers/main.yml b/roles/x509/acmetool/cert/handlers/main.yml index 08892c18..a7fc43ed 100644 --- a/roles/x509/acmetool/cert/handlers/main.yml +++ b/roles/x509/acmetool/cert/handlers/main.yml @@ -1,6 +1,6 @@ --- - name: reconcile acmetool when: not acmetool_reconcile_disabled - ansible.builtin.systemd: + systemd: name: acmetool.service state: started diff --git a/roles/x509/acmetool/cert/tasks/main.yml b/roles/x509/acmetool/cert/tasks/main.yml index e97aab84..09980dad 100644 --- a/roles/x509/acmetool/cert/tasks/main.yml +++ b/roles/x509/acmetool/cert/tasks/main.yml @@ -4,7 +4,7 @@ acmetool_cert_satisfy: satisfy: names: "{{ acmetool_cert_hostnames | default([acmetool_cert_name]) }}" - ansible.builtin.copy: + copy: content: "{{ acmetool_cert_config | default({}) | combine(acmetool_cert_satisfy) | to_nice_yaml }}" dest: "/var/lib/acme/desired/{{ acmetool_cert_name }}" notify: reconcile acmetool |