Wolfgang Kulhanek
2018-08-28 6a52452e8ed2e0689ab26f1cc06b533b8f6b2231
Updated bastion "when" statements
1 files modified
4 ■■■■ changed files
ansible/configs/ocp-multi-cloud-example/pre_software.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp-multi-cloud-example/pre_software.yml
@@ -46,8 +46,8 @@
    - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml"
    - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_secret_vars.yml"
  roles:
    - { role: "{{ ANSIBLE_REPO_PATH }}/roles/bastion", when: 'install_bastion' }
    - { role: "{{ ANSIBLE_REPO_PATH }}/roles/bastion-student-user", when: 'student_password' }
    - { role: "{{ ANSIBLE_REPO_PATH }}/roles/bastion", when: install_bastion|bool }
    - { role: "{{ ANSIBLE_REPO_PATH }}/roles/bastion-student-user", when: student_password is defined }
  tags:
    - step004
    - bastion_tasks