diff options
author | Michael Gugino <gugino.michael@yahoo.com> | 2017-11-28 10:34:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 10:34:12 -0500 |
commit | b9ab765528ff2e7f9aa46b6942d74027ef9b6799 (patch) | |
tree | 446766a541618590b79ff263e5edc5de580ec25a /playbooks/common/openshift-cluster | |
parent | c7645af60a5411af83b04fb6a5617887d3b39183 (diff) | |
parent | 73bf3e7137d80ba5b225108f39240c43d385a1ea (diff) | |
download | openshift-b9ab765528ff2e7f9aa46b6942d74027ef9b6799.tar.gz openshift-b9ab765528ff2e7f9aa46b6942d74027ef9b6799.tar.bz2 openshift-b9ab765528ff2e7f9aa46b6942d74027ef9b6799.tar.xz openshift-b9ab765528ff2e7f9aa46b6942d74027ef9b6799.zip |
Merge pull request #6268 from mgugino-upstream-stage/combine-dnsmasq-with-node
Combine openshift_node and openshift_node_dnsmasq
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r-- | playbooks/common/openshift-cluster/enable_dnsmasq.yml | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/playbooks/common/openshift-cluster/enable_dnsmasq.yml b/playbooks/common/openshift-cluster/enable_dnsmasq.yml deleted file mode 100644 index f91361b67..000000000 --- a/playbooks/common/openshift-cluster/enable_dnsmasq.yml +++ /dev/null @@ -1,55 +0,0 @@ ---- -- name: Load openshift_facts - hosts: oo_masters_to_config:oo_nodes_to_config - roles: - - openshift_facts - -- name: Reconfigure masters to listen on our new dns_port - hosts: oo_masters_to_config - handlers: - - include: ../../../roles/openshift_master/handlers/main.yml - static: yes - vars: - os_firewall_allow: - - service: skydns tcp - port: "{{ openshift.master.dns_port }}/tcp" - - service: skydns udp - port: "{{ openshift.master.dns_port }}/udp" - roles: - - os_firewall - tasks: - - openshift_facts: - role: "{{ item.role }}" - local_facts: "{{ item.local_facts }}" - with_items: - - role: master - local_facts: - dns_port: '8053' - - modify_yaml: - dest: "{{ openshift.common.config_base }}/master/master-config.yaml" - yaml_key: dnsConfig.bindAddress - yaml_value: "{{ openshift.master.bind_addr }}:{{ openshift.master.dns_port }}" - notify: restart master api - - meta: flush_handlers - -- name: Configure nodes for dnsmasq - hosts: oo_nodes_to_config - handlers: - - include: ../../../roles/openshift_node/handlers/main.yml - static: yes - pre_tasks: - - openshift_facts: - role: "{{ item.role }}" - local_facts: "{{ item.local_facts }}" - with_items: - - role: node - local_facts: - dns_ip: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}" - roles: - - openshift_node_dnsmasq - post_tasks: - - modify_yaml: - dest: "{{ openshift.common.config_base }}/node/node-config.yaml" - yaml_key: dnsIP - yaml_value: "{{ openshift.node.dns_ip }}" - notify: restart node |