| | |
| | | --description="Red Hat Process Automation Manager 7 Offer Management Demo" |
| | | ignore_errors: true |
| | | |
| | | |
| | | - name: Import PAM template |
| | | shell: "oc create -f {{pam_template_yml}} -n {{ OCP_PROJECT }}" |
| | | |
| | | |
| | | |
| | | - name: Check if PAM ImageStreams exists |
| | | shell: oc get is/rhpam-businesscentral-rhel8 -n openshift |
| | | register: rhpam_is_exists_result |
| | | ignore_errors: true |
| | | |
| | | - name: Import the RHPAM ImageStreams into the cluster. |
| | | shell: "oc create -f {{pam_imagestreams_yml}} -n openshift" |
| | | when: rhpam_is_exists_result is failed |
| | | ignore_errors: true |
| | | |
| | | - name: Wait for RHPAM ImageStream tags to be available |
| | |
| | | until: result.stdout != "" |
| | | retries: 5 |
| | | delay: 10 |
| | | |
| | | - name: Import the RHPAM ImageStreams into the cluster. |
| | | shell: "oc create -f {{pam_imagestreams_yml}} -n openshift" |
| | | when: rhpam_is_exists_result is failed |
| | | ignore_errors: true |
| | | |
| | | - name: Import PAM template |
| | | shell: "oc create -f {{pam_template_yml}} -n {{ OCP_PROJECT }}" |
| | | |
| | | |
| | | - name: Create Secrets Business Central |