Noelia
2018-11-28 564134b580767c2e81a51e6d784983ade9dcbd22
ansible/roles/ocp-workload-fuse-ignite/tasks/workload.yml
@@ -6,7 +6,8 @@
  ignore_errors: true
  changed_when: false
- fail:
- name: user granted access rights
  fail:
    msg: "User does not have cluster-admin rights to install Fuse Online"
  when: default_project_result is failed
@@ -57,14 +58,25 @@
      -p IMAGE_STREAM_NAMESPACE={{ocp_project}} \
      -n {{ocp_project}}
- name: resume syndesis oauthproxy and db
  shell: oc rollout resume dc/syndesis-oauthproxy dc/syndesis-db -n {{ocp_project}}
- name: "Resume {{with_items}}"
  command: oc rollout resume dc/"{{ item }}" -n "{{ ocp_project }}"
  with_items:
    - syndesis-db
    - syndesis-oauthproxy
- include_tasks: wait_for_deploy.yml
  vars:
    pod_to_wait:
    - syndesis-db
    - syndesis-oauthproxy
- name: resume todo
  shell: oc rollout resume dc/todo -n {{ocp_project}}
- include_tasks: ./wait_for_deploy.yml
  static: no
  vars:
    pod_to_wait:
      - syndesis-oauthproxy
      - syndesis-db
      - todo
- name: Scale up broker-amq
  shell: |
@@ -108,14 +120,6 @@
  vars:
    pod_to_wait:
      - syndesis-prometheus
- name: resume todo
  shell: oc rollout resume dc/todo -n {{ocp_project}}
- include_tasks: ./wait_for_deploy.yml
  static: no
  vars:
    pod_to_wait:
      - todo
# ########################################################