summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/dns.yml
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-09-27 13:03:14 -0400
committerGitHub <noreply@github.com>2016-09-27 13:03:14 -0400
commitbd7363f4b64181dee300a85775b484ffa6f45917 (patch)
tree9bd340de3a8936d67bc1886aa3b6f406f4449b20 /playbooks/openstack/openshift-cluster/dns.yml
parent93c242367ee6e29ab0cb2b1f33da9ed8c4f084a7 (diff)
parent41407f31f8cc88401d8e435c4bb0de89ae0d052a (diff)
downloadopenshift-bd7363f4b64181dee300a85775b484ffa6f45917.tar.gz
openshift-bd7363f4b64181dee300a85775b484ffa6f45917.tar.bz2
openshift-bd7363f4b64181dee300a85775b484ffa6f45917.tar.xz
openshift-bd7363f4b64181dee300a85775b484ffa6f45917.zip
Merge pull request #2507 from lhuard1A/remove_openstack_dns
Remove the DNS VM on OpenStack
Diffstat (limited to 'playbooks/openstack/openshift-cluster/dns.yml')
-rw-r--r--playbooks/openstack/openshift-cluster/dns.yml52
1 files changed, 0 insertions, 52 deletions
diff --git a/playbooks/openstack/openshift-cluster/dns.yml b/playbooks/openstack/openshift-cluster/dns.yml
deleted file mode 100644
index 3ea0929bf..000000000
--- a/playbooks/openstack/openshift-cluster/dns.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-- name: Populate oo_dns_hosts_to_update group
- hosts: localhost
- connection: local
- become: no
- gather_facts: no
- vars_files:
- - vars.yml
- - cluster_hosts.yml
- tasks:
- - name: Evaluate oo_dns_hosts_to_update
- add_host:
- name: "{{ item }}"
- groups: oo_dns_hosts_to_update
- ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
- ansible_become: "{{ deployment_vars[deployment_type].become }}"
- with_items: "{{ groups[cluster_id ~ '-dns'] }}"
-
- - name: Evaluate oo_hosts_to_add_in_dns
- add_host:
- name: "{{ item }}"
- groups: oo_hosts_to_add_in_dns
- ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
- ansible_become: "{{ deployment_vars[deployment_type].become }}"
- with_items: "{{ groups['meta-clusterid_' ~ cluster_id] }}"
-
-- name: Gather facts
- hosts: oo_hosts_to_add_in_dns
- vars_files:
- - vars.yml
- - cluster_hosts.yml
-
-- name: Configure the DNS
- hosts: oo_dns_hosts_to_update
- vars_files:
- - vars.yml
- - cluster_hosts.yml
- roles:
- # Explicitly calling openshift_facts because it appears that when
- # rhel_subscribe is skipped that the openshift_facts dependency for
- # openshift_repos is also skipped (this is the case at least for Ansible
- # 2.0.2)
- - openshift_facts
- - role: rhel_subscribe
- when: deployment_type in ["enterprise", "atomic-enterprise", "openshift-enterprise"] and
- ansible_distribution == "RedHat" and
- lookup('oo_option', 'rhel_skip_subscription') | default(rhsub_skip, True) |
- default('no', True) | lower in ['no', 'false']
-
- - { role: dns,
- dns_forwarders: "{{ openstack_network_dns }}",
- dns_zones: [ example.com ],
- dns_all_hosts: "{{ g_all_hosts }}" }