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 | |
parent | improved preseed fetch script (diff) |
refactor acmetool role
Diffstat (limited to 'roles/acmetool')
-rw-r--r-- | roles/acmetool/base/defaults/main.yml (renamed from roles/acmetool/defaults/main.yml) | 0 | ||||
-rw-r--r-- | roles/acmetool/base/handlers/main.yml (renamed from roles/acmetool/handlers/main.yml) | 0 | ||||
-rw-r--r-- | roles/acmetool/base/tasks/main.yml (renamed from roles/acmetool/tasks/main.yml) | 0 | ||||
-rw-r--r-- | roles/acmetool/base/templates/responses.j2 (renamed from roles/acmetool/templates/responses.j2) | 0 | ||||
-rw-r--r-- | roles/acmetool/cert/tasks/main.yml | 12 |
5 files changed, 12 insertions, 0 deletions
diff --git a/roles/acmetool/defaults/main.yml b/roles/acmetool/base/defaults/main.yml index 409523da..409523da 100644 --- a/roles/acmetool/defaults/main.yml +++ b/roles/acmetool/base/defaults/main.yml diff --git a/roles/acmetool/handlers/main.yml b/roles/acmetool/base/handlers/main.yml index 3d6f1b76..3d6f1b76 100644 --- a/roles/acmetool/handlers/main.yml +++ b/roles/acmetool/base/handlers/main.yml diff --git a/roles/acmetool/tasks/main.yml b/roles/acmetool/base/tasks/main.yml index c2fc2c6c..c2fc2c6c 100644 --- a/roles/acmetool/tasks/main.yml +++ b/roles/acmetool/base/tasks/main.yml diff --git a/roles/acmetool/templates/responses.j2 b/roles/acmetool/base/templates/responses.j2 index a7bf2504..a7bf2504 100644 --- a/roles/acmetool/templates/responses.j2 +++ b/roles/acmetool/base/templates/responses.j2 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 |