summaryrefslogtreecommitdiffstats
path: root/roles/hostnames/test
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/test
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/test')
-rw-r--r--roles/hostnames/test/inv12
l---------roles/hostnames/test/roles1
-rw-r--r--roles/hostnames/test/test.retry3
-rw-r--r--roles/hostnames/test/test.yaml21
4 files changed, 37 insertions, 0 deletions
diff --git a/roles/hostnames/test/inv b/roles/hostnames/test/inv
new file mode 100644
index 000000000..ffbe6e03d
--- /dev/null
+++ b/roles/hostnames/test/inv
@@ -0,0 +1,12 @@
+[all:vars]
+dns_domain=example.com
+
+[openshift_masters]
+192.168.124.41 dns_private_ip=1.1.1.41 dns_public_ip=192.168.124.41
+192.168.124.117 dns_private_ip=1.1.1.117 dns_public_ip=192.168.124.117
+
+[openshift_nodes]
+192.168.124.40 dns_private_ip=1.1.1.40 dns_public_ip=192.168.124.40
+
+#[dns]
+#192.168.124.117 dns_private_ip=1.1.1.117
diff --git a/roles/hostnames/test/roles b/roles/hostnames/test/roles
new file mode 120000
index 000000000..e2b799b9d
--- /dev/null
+++ b/roles/hostnames/test/roles
@@ -0,0 +1 @@
+../../../roles/ \ No newline at end of file
diff --git a/roles/hostnames/test/test.retry b/roles/hostnames/test/test.retry
new file mode 100644
index 000000000..63fc08e4c
--- /dev/null
+++ b/roles/hostnames/test/test.retry
@@ -0,0 +1,3 @@
+192.168.124.117
+192.168.124.40
+192.168.124.41
diff --git a/roles/hostnames/test/test.yaml b/roles/hostnames/test/test.yaml
new file mode 100644
index 000000000..34bf37942
--- /dev/null
+++ b/roles/hostnames/test/test.yaml
@@ -0,0 +1,21 @@
+---
+- hosts: all
+ roles:
+ - role: hostnames
+
+# - debug:
+#
+# - hosts: dns
+# roles:
+# - role: dns-server
+# named_config_views:
+# - name: private
+# acl_entry:
+# - 192.168.124.40/32
+# - 192.168.124.40/32
+# zone:
+# - dns_domain: example.com
+# - name: public
+# zone:
+# - dns_domain: example.com
+# - role: dns