浏览代码

Fix nested iteration of `openvpn_clients`.

John Giannelos 7 年前
父节点
当前提交
264d61ec73
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      roles/vpn/tasks/openvpn.yml

+ 2
- 2
roles/vpn/tasks/openvpn.yml 查看文件

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

正在加载...
取消
保存