summaryrefslogtreecommitdiffstats
path: root/roles/hostnames/test
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/test
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/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