summaryrefslogtreecommitdiff
path: root/roles/acmetool-cert/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/acmetool-cert/tasks')
-rw-r--r--roles/acmetool-cert/tasks/main.yml12
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