summaryrefslogtreecommitdiff
path: root/roles/acmetool-cert/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-02-25 19:14:05 +0100
committerChristian Pointner <equinox@spreadspace.org>2018-02-25 19:14:05 +0100
commitcf6d6af1d274ce607ae181d846044a65bfe6f29d (patch)
treeb61dcfb1373564e2cb356eb5b05b0a8c441ca0cb /roles/acmetool-cert/tasks/main.yml
parentswitch to task (diff)
added acmetool cert role
Diffstat (limited to 'roles/acmetool-cert/tasks/main.yml')
-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