Download:
child 5:5c3d359316e0
parent 3:57fa4a33c318
4:67349ffb6dc5
Anton Shestakov <engored@ya.ru>, Sun, 13 Mar 2016 06:23:08 +0000
(none)

1 файлов изменено, 4 вставок(+), 4 удалений(-) [+]
roles/nginx/tasks/easy-rsa.yml file | annotate | diff | comparison | revisions
--- a/roles/nginx/tasks/easy-rsa.yml Wed Feb 03 11:56:00 2016 +0800
+++ b/roles/nginx/tasks/easy-rsa.yml Sun Mar 13 06:23:08 2016 +0000
@@ -9,7 +9,7 @@
args:
regexp: '^export KEY_{{ item.key }}="'
line: 'export KEY_{{ item.key }}="{{ item.value }}"'
- with_items: munin_ca_vars
+ with_items: '{{ munin_ca_vars }}'
- name: Running clean-all
shell: . ./vars && ./clean-all
@@ -38,7 +38,7 @@
args:
chdir: /etc/nginx/easy-rsa/
creates: /etc/nginx/easy-rsa/keys/munin.{{ hostname }}.{{ item }}.key
- with_items: munin_clients
+ with_items: '{{ munin_clients }}'
- name: Export client certificate as a PKCS#12 file
command: >
@@ -51,9 +51,9 @@
-passout 'pass:{{ munin_pkcs12_pass }}'
args:
creates: /etc/nginx/easy-rsa/keys/munin.{{ hostname }}.{{ item }}.p12
- with_items: munin_clients
+ with_items: '{{ munin_clients }}'
- name: Fetch the resulting PKCS#12 file
fetch: src=/etc/nginx/easy-rsa/keys/munin.{{ hostname }}.{{ item }}.p12 dest=./pkcs12/ flat=yes fail_on_missing=yes
- with_items: munin_clients
+ with_items: '{{ munin_clients }}'
...