Sadhana Nandakumar
2020-02-25 67d8372b9b49d75b165f7bd2c45206c744abcaae
image stream not available (#1180)

1 files modified
19 ■■■■■ changed files
ansible/roles/ocp-workload-pam7-offer-management-dmn-pmml/tasks/workload.yml 19 ●●●●● patch | view | raw | blame | history
ansible/roles/ocp-workload-pam7-offer-management-dmn-pmml/tasks/workload.yml
@@ -34,9 +34,20 @@
         --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
@@ -45,14 +56,6 @@
  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