diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-10-05 17:55:53 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-10-05 17:55:53 +0200 |
commit | 42f023c73a2e30f17abff585b787b41f48d91042 (patch) | |
tree | 9ff2e64653571fc295df6bb4a472d32fa75c5d08 /roles/acmetool/cert | |
parent | improved preseed fetch script (diff) |
refactor acmetool role
Diffstat (limited to 'roles/acmetool/cert')
-rw-r--r-- | roles/acmetool/cert/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/acmetool/cert/tasks/main.yml b/roles/acmetool/cert/tasks/main.yml new file mode 100644 index 00000000..a24ea2ed --- /dev/null +++ b/roles/acmetool/cert/tasks/main.yml @@ -0,0 +1,12 @@ +- name: add acmetool desired file + copy: + content: "{{ item | to_nice_yaml }}" + dest: "/var/lib/acme/desired/{{ acmetool_cert_name }}" + with_items: + - satisfy: + names: "{{ acmetool_cert_hostnames }}" + +- name: reconcile acmetool + systemd: + name: acmetool + state: started |