|
@@ -1,28 +1,28 @@
|
|
|
---
|
|
|
- - name: "Building Records"
|
|
|
- set_fact:
|
|
|
- dns_records_add:
|
|
|
- - view: private
|
|
|
- zone: example.com
|
|
|
- entries:
|
|
|
- - type: A
|
|
|
- hostname: master1.example.com
|
|
|
- ip: 172.16.15.94
|
|
|
- - type: A
|
|
|
- hostname: node1.example.com
|
|
|
- ip: 172.16.15.86
|
|
|
- - type: A
|
|
|
- hostname: node2.example.com
|
|
|
- ip: 172.16.15.87
|
|
|
- - view: public
|
|
|
- zone: example.com
|
|
|
- entries:
|
|
|
- - type: A
|
|
|
- hostname: master1.example.com
|
|
|
- ip: 10.3.10.116
|
|
|
- - type: A
|
|
|
- hostname: node1.example.com
|
|
|
- ip: 10.3.11.46
|
|
|
- - type: A
|
|
|
- hostname: node2.example.com
|
|
|
- ip: 10.3.12.6
|
|
|
+- name: "Building Records"
|
|
|
+ set_fact:
|
|
|
+ dns_records_add:
|
|
|
+ - view: private
|
|
|
+ zone: example.com
|
|
|
+ entries:
|
|
|
+ - type: A
|
|
|
+ hostname: master1.example.com
|
|
|
+ ip: 172.16.15.94
|
|
|
+ - type: A
|
|
|
+ hostname: node1.example.com
|
|
|
+ ip: 172.16.15.86
|
|
|
+ - type: A
|
|
|
+ hostname: node2.example.com
|
|
|
+ ip: 172.16.15.87
|
|
|
+ - view: public
|
|
|
+ zone: example.com
|
|
|
+ entries:
|
|
|
+ - type: A
|
|
|
+ hostname: master1.example.com
|
|
|
+ ip: 10.3.10.116
|
|
|
+ - type: A
|
|
|
+ hostname: node1.example.com
|
|
|
+ ip: 10.3.11.46
|
|
|
+ - type: A
|
|
|
+ hostname: node2.example.com
|
|
|
+ ip: 10.3.12.6
|