Authored by chunhua.zhang

add

@@ -5,6 +5,10 @@ @@ -5,6 +5,10 @@
5 10.66.4.18 5 10.66.4.18
6 10.66.4.17 6 10.66.4.17
7 7
  8 +[askip-nginx]
  9 +10.66.4.23
  10 +10.66.4.15
  11 +
8 [nameserver-master] 12 [nameserver-master]
9 10.66.4.17 13 10.66.4.17
10 14
@@ -19,10 +19,10 @@ @@ -19,10 +19,10 @@
19 headers: 19 headers:
20 Host: 'dnsresolver.yohoops.org' 20 Host: 'dnsresolver.yohoops.org'
21 register: result 21 register: result
22 - with_items: "{{ask_nginx}}" 22 + with_items: "groups['askip-nginx']"
23 23
24 - name: print results 24 - name: print results
25 debug: 25 debug:
26 - msg: item  
27 - loop: "{{ gitlab_api_usuario.results | map(attribute='content') | list }}" 26 + msg: result[0]
  27 +
28   28