Wolfgang Kulhanek
2019-02-27 fe5b6d787976ed683bad1a43c1053c4a9eb5fe4b
Fix erroneous secret updates...
1 files modified
5 ■■■■ changed files
ansible/configs/ocp4-coreos-deployer/post_software.yml 5 ●●●● patch | view | raw | blame | history
ansible/configs/ocp4-coreos-deployer/post_software.yml
@@ -10,13 +10,16 @@
        msg: "Post-Software Steps starting"
    - name: Check if secret is present for registry (AWS)
      when: install_ocp4|d(False)
      command: >-
        oc get secret -n openshift-image-registry image-registry-private-configuration-user
      failed_when: false
      changed_when: false
      register: _registrysecret
    - when: _registrysecret.rc != 0
    - when:
      - _registrysecret.rc != 0
      - install_ocp4|d(False)
      block:
        - name: Create secret if it doesn't exist
          environment: