summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster/enable_dnsmasq.yml
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-05-06 11:39:45 -0400
committerJason DeTiberus <detiber@gmail.com>2016-05-06 11:39:45 -0400
commit4f3f588ee59a1e888340d24ba912346c240cacc6 (patch)
tree662f579fd77d839c2a2e4284fda5f6c34ecf3fd4 /playbooks/byo/openshift-cluster/enable_dnsmasq.yml
parent506b993d30b46d2106d15a2ed3a46b4de3374818 (diff)
parentec9ce7da464a74d9adad1c4eace2cd91079cc1e6 (diff)
downloadopenshift-4f3f588ee59a1e888340d24ba912346c240cacc6.tar.gz
openshift-4f3f588ee59a1e888340d24ba912346c240cacc6.tar.bz2
openshift-4f3f588ee59a1e888340d24ba912346c240cacc6.tar.xz
openshift-4f3f588ee59a1e888340d24ba912346c240cacc6.zip
Merge pull request #1857 from sdodson/dns-upgrade
Playbook to enable dnsmasq
Diffstat (limited to 'playbooks/byo/openshift-cluster/enable_dnsmasq.yml')
-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