Authored by chunhua.zhang

add

1 --- 1 ---
2 -- hosts: 127.0.0.1 2 +- hosts: nameserver-master
3 vars: 3 vars:
4 - confirmation: 'YES' 4 - confirmation: 'YES'
5 tasks: 5 tasks:
@@ -16,9 +16,7 @@ @@ -16,9 +16,7 @@
16 "{{item.key}}": "{{item.value}}" 16 "{{item.key}}": "{{item.value}}"
17 with_dict: 17 with_dict:
18 - "{{ new_vars.response }}" 18 - "{{ new_vars.response }}"
19 -  
20 -- include: yoho.dns.yml  
21 - vars:  
22 - "{{item.key}}": "{{item.value}}"  
23 - with_dict:  
24 - - "{{ new_vars.response }}"  
  19 +
  20 + remote_user: root
  21 + roles:
  22 + - yoho.dns