diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-10-12 03:01:11 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-10-12 03:01:11 +0200 |
commit | d11a24b7f0edf309a2bbd5687acbea8bc1e012cc (patch) | |
tree | 919f7fedd1fecd88877ffbb12449345bf589dc83 /roles/acmetool | |
parent | create acmetool accounts for some machines (diff) |
added generic nginx role
Diffstat (limited to 'roles/acmetool')
-rw-r--r-- | roles/acmetool/cert/tasks/main.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/roles/acmetool/cert/tasks/main.yml b/roles/acmetool/cert/tasks/main.yml index c2f778f6..8f9f6d41 100644 --- a/roles/acmetool/cert/tasks/main.yml +++ b/roles/acmetool/cert/tasks/main.yml @@ -1,10 +1,9 @@ - name: add acmetool desired file - loop: - - satisfy: + vars: + acmetool_desired: + satisfy: names: "{{ acmetool_cert_hostnames | default([acmetool_cert_name]) }}" - loop_control: - label: "{{ item.satisfy.names | join(', ') }}" copy: - content: "{{ item | to_nice_yaml }}" + content: "{{ acmetool_desired | to_nice_yaml }}" dest: "/var/lib/acme/desired/{{ acmetool_cert_name }}" notify: reconcile acmetool |