summaryrefslogtreecommitdiff
path: root/roles/acmetool/base
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-05-25 03:12:47 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-05-25 03:12:47 +0200
commitf8ab68e40dda046171de02df6a7c12514f570bf8 (patch)
treeabe825df189af419216eb66c857cb3f8f089578f /roles/acmetool/base
parentloop vs. with - the beginnings... (diff)
replace all with_items with loop
Diffstat (limited to 'roles/acmetool/base')
-rw-r--r--roles/acmetool/base/tasks/selfsigned.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/acmetool/base/tasks/selfsigned.yml b/roles/acmetool/base/tasks/selfsigned.yml
index f5fb0466..7ba829e6 100644
--- a/roles/acmetool/base/tasks/selfsigned.yml
+++ b/roles/acmetool/base/tasks/selfsigned.yml
@@ -69,12 +69,12 @@
command: "cp '{{ tmpdir }}/cert' '{{ tmpdir }}/fullchain'"
- name: create additional empty files
+ loop:
+ - chain
+ - selfsigned
copy:
content: ""
dest: "{{ tmpdir }}/{{ item }}"
- with_items:
- - chain
- - selfsigned
### TODO: remove this once acmetool respects it's own storage layout
### see: https://github.com/hlandau/acme/blob/master/_doc/SCHEMA.md#temporary-use-of-self-signed-certificates