summaryrefslogtreecommitdiffstats
path: root/roles/hostnames/vars
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-06-14 16:28:00 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-06-14 16:28:00 +0200
commit6241e33432ea88cf9c5bc67db6d09c90b2e891ba (patch)
tree4e82fafc32a598d9cf5c1c72b9c20e83268b0251 /roles/hostnames/vars
parent672f8e155bdc7244d4bf0cbcca5e4be5f063d55f (diff)
parent22e88c9ce8f81cb13c3d050455d332161a1acd83 (diff)
downloadopenshift-6241e33432ea88cf9c5bc67db6d09c90b2e891ba.tar.gz
openshift-6241e33432ea88cf9c5bc67db6d09c90b2e891ba.tar.bz2
openshift-6241e33432ea88cf9c5bc67db6d09c90b2e891ba.tar.xz
openshift-6241e33432ea88cf9c5bc67db6d09c90b2e891ba.zip
Merge redhat-cop/casl-ansible into openstack-provider
This imports the openstack provisioning bits of: https://github.com/redhat-cop/casl-ansible taking care to preserve the original history of those files.
Diffstat (limited to 'roles/hostnames/vars')
-rw-r--r--roles/hostnames/vars/main.yaml2
-rw-r--r--roles/hostnames/vars/records.yaml28
2 files changed, 30 insertions, 0 deletions
diff --git a/roles/hostnames/vars/main.yaml b/roles/hostnames/vars/main.yaml
new file mode 100644
index 000000000..3eecb8dc4
--- /dev/null
+++ b/roles/hostnames/vars/main.yaml
@@ -0,0 +1,2 @@
+---
+counter: 1
diff --git a/roles/hostnames/vars/records.yaml b/roles/hostnames/vars/records.yaml
new file mode 100644
index 000000000..3bf12ae2b
--- /dev/null
+++ b/roles/hostnames/vars/records.yaml
@@ -0,0 +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