diff options
author | Michael Gugino <gugino.michael@yahoo.com> | 2017-12-05 10:26:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 10:26:57 -0500 |
commit | 40ccc162de50107c6b1db06ca0c96aa949698f9f (patch) | |
tree | addf10149e686b3ac99af154936915dd57724306 /roles/openshift_openstack/tasks | |
parent | 351785e4c44101fb109f03ac4aedbddd86faaa72 (diff) | |
parent | a1e32351eca751c7e1391dd67b0e8607adf9211f (diff) | |
download | openshift-40ccc162de50107c6b1db06ca0c96aa949698f9f.tar.gz openshift-40ccc162de50107c6b1db06ca0c96aa949698f9f.tar.bz2 openshift-40ccc162de50107c6b1db06ca0c96aa949698f9f.tar.xz openshift-40ccc162de50107c6b1db06ca0c96aa949698f9f.zip |
Merge pull request #6341 from bogdando/openstack_cleanup_static
Cleanup unused openstack provider code
Diffstat (limited to 'roles/openshift_openstack/tasks')
-rw-r--r-- | roles/openshift_openstack/tasks/populate-dns.yml | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/roles/openshift_openstack/tasks/populate-dns.yml b/roles/openshift_openstack/tasks/populate-dns.yml index c03aceb94..b5c4da532 100644 --- a/roles/openshift_openstack/tasks/populate-dns.yml +++ b/roles/openshift_openstack/tasks/populate-dns.yml @@ -63,15 +63,6 @@ when: - hostvars[groups.masters[0]].openshift_master_cluster_public_hostname is defined - openshift_openstack_num_masters == 1 - - not openshift_openstack_use_bastion|bool - -- name: "Add public master cluster hostname records to the public A records (single master behind a bastion)" - set_fact: - public_records: "{{ public_records | default([]) + [ { 'type': 'A', 'hostname': (hostvars[groups.masters[0]].openshift_master_cluster_public_hostname | replace(openshift_openstack_full_dns_domain, ''))[:-1], 'ip': hostvars[groups.bastions[0]].public_v4 } ] }}" - when: - - hostvars[groups.masters[0]].openshift_master_cluster_public_hostname is defined - - openshift_openstack_num_masters == 1 - - openshift_openstack_use_bastion|bool - name: "Add public master cluster hostname records to the public A records (multi-master)" set_fact: |