Nate Stephany
2020-01-09 69ea3d1f1e06086dc3158b176565273c9828c029
OCP4 Disconnected DNS & Trunks (#977)

* Change trunk ports to false

* Add DNS cleanup to ocp4-disco config
2 files modified
12 ■■■■ changed files
ansible/configs/ocp4-disconnected-osp-lab/destroy_env.yml 10 ●●●● patch | view | raw | blame | history
ansible/configs/ocp4-disconnected-osp-lab/files/general-ms.yaml.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/ocp4-disconnected-osp-lab/destroy_env.yml
@@ -7,9 +7,11 @@
  gather_facts: false
  become: false
  tasks:
    - name: Run infra-osp-resources-destroy role
    - name: Run infra-osp-dns
      include_role:
        name: infra-osp-resources-destroy
        name: infra-osp-dns
      vars:
        _dns_state: absent
    - name: Remove DNS entry for OpenShift API and ingress
      nsupdate:
@@ -26,3 +28,7 @@
      when:
        - openshift_fip_provision
        - use_dynamic_dns
    - name: Run infra-osp-resources-destroy role
      include_role:
        name: infra-osp-resources-destroy
ansible/configs/ocp4-disconnected-osp-lab/files/general-ms.yaml.j2
@@ -50,6 +50,6 @@
            openshiftClusterID: {{ lookup('env', 'INFRA_ID') }}
          tags:
          - openshiftClusterID={{ lookup('env', 'INFRA_ID') }}
          trunk: true
          trunk: false
          userDataSecret:
            name: worker-user-data