summaryrefslogtreecommitdiffstats
path: root/roles/hostnames/vars
diff options
context:
space:
mode:
authorEric Sauer <esauer@redhat.com>2016-05-13 16:25:19 -0400
committerEric Sauer <esauer@redhat.com>2016-05-13 16:25:19 -0400
commitca1b17aeeb8ed4f4db0a90a11bccd9ea009f9eac (patch)
tree2218eb6052888edd805b531699b91fc1aa9efeca /roles/hostnames/vars
parentab61cddece9f010c17c1700b061638709701ee90 (diff)
downloadopenshift-ca1b17aeeb8ed4f4db0a90a11bccd9ea009f9eac.tar.gz
openshift-ca1b17aeeb8ed4f4db0a90a11bccd9ea009f9eac.tar.bz2
openshift-ca1b17aeeb8ed4f4db0a90a11bccd9ea009f9eac.tar.xz
openshift-ca1b17aeeb8ed4f4db0a90a11bccd9ea009f9eac.zip
Changes by JayKayy for a full provision of OpenShift on OpenStack
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