summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-05-04 14:16:59 -0400
committerScott Dodson <sdodson@redhat.com>2016-05-06 10:33:32 -0400
commit83605374586409364cb41f52d953e28ffacce85a (patch)
treed003a46aa8c2002d750872f44677f5a67801e54a /playbooks/byo/openshift-cluster
parent506b993d30b46d2106d15a2ed3a46b4de3374818 (diff)
downloadopenshift-83605374586409364cb41f52d953e28ffacce85a.tar.gz
openshift-83605374586409364cb41f52d953e28ffacce85a.tar.bz2
openshift-83605374586409364cb41f52d953e28ffacce85a.tar.xz
openshift-83605374586409364cb41f52d953e28ffacce85a.zip
Enable dnsmasq on all hosts
- Reconfigures masters to use port 8053 for SkyDNS - Runs openshift_node_dnsmasq role on all nodes - Reconfigures node to use dnsmasq
Diffstat (limited to 'playbooks/byo/openshift-cluster')
-rw-r--r--playbooks/byo/openshift-cluster/enable_dnsmasq.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-cluster/enable_dnsmasq.yml b/playbooks/byo/openshift-cluster/enable_dnsmasq.yml
new file mode 100644
index 000000000..1c8d99341
--- /dev/null
+++ b/playbooks/byo/openshift-cluster/enable_dnsmasq.yml
@@ -0,0 +1,18 @@
+---
+- hosts: localhost
+ connection: local
+ become: no
+ gather_facts: no
+ tasks:
+ - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml
+ - add_host:
+ name: "{{ item }}"
+ groups: l_oo_all_hosts
+ with_items: g_all_hosts
+
+- hosts: l_oo_all_hosts
+ gather_facts: no
+ tasks:
+ - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml
+
+- include: ../../common/openshift-cluster/enable_dnsmasq.yml