ソースを参照

Merge pull request #741 from johngian/fix-nested-openvpnclients

Fix nested iteration of `openvpn_clients`.
Sven Neuhaus 6年前
コミット
0b8852ef39
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      roles/vpn/tasks/openvpn.yml

+ 2
- 2
roles/vpn/tasks/openvpn.yml ファイルの表示

@@ -163,14 +163,14 @@
163 163
   tags:
164 164
     - skip_ansible_lint
165 165
   with_nested:
166
-    - openvpn_clients
166
+    - "{{ openvpn_clients }}"
167 167
     - ["ca.crt", "ta.key"]
168 168
 
169 169
 - name: Retrieve the files that clients will need in order to connect to the OpenVPN server
170 170
   fetch: src={{ openvpn_path }}/{{ item[0] }}/{{ item[1] }}
171 171
          dest=/tmp/sovereign-openvpn-files
172 172
   with_nested:
173
-    - openvpn_clients
173
+    - "{{ openvpn_clients }}"
174 174
     - ["client.crt", "client.key", "ca.crt", "ta.key", "{{ openvpn_server }}.ovpn"]
175 175
 
176 176
 - pause: seconds=5

読み込み中…
キャンセル
保存