Mig prod bugs (#822)
* remove useless variable
* fix wrong bastion
| | |
| | | loop: |
| | | - { dest: "/home/{{ student_name }}/cpma", src: "https://cpma.s3.us-east-2.amazonaws.com/cpma" } |
| | | when: student_name is defined and not status.failed |
| | | vars: |
| | | bastion_hostanme: "{{ bastion_host | d( groups.bastions | first ) }}" |
| | | delegate_to: "{{ bastion_host }}" |
| | | delegate_to: "{{ bastion_host | d( groups.bastions | first ) }}" |
| | | become: yes |
| | | |
| | | - name: "Adding public key to authorized_keys" |
| | |
| | | - name: "Creating controller and operator" |
| | | become: true |
| | | ignore_errors: true |
| | | shell: "oc apply -f {{ repodir.path }}/deploy/non-olm/{{ mig_operator_repo_path }}/{{ item }}" |
| | | shell: "oc apply -f {{ repodir.path }}/deploy/non-olm/{{ mig_operator_version }}/{{ item }}" |
| | | loop: |
| | | - "operator.yml" |
| | | - "controller-{{ mig_ocp_version }}.yml" |