Patrick T. Rutledge III
2020-03-04 e731ec2d5929f68688f0f4d48830c19ccfc00af0
change tasks msg to software from workload (#1233)

4 files modified
44 ■■■■ changed files
ansible/roles/ocp4-workload-rhsso-foundations/tasks/post_workload.yml 21 ●●●● patch | view | raw | blame | history
ansible/roles/ocp4-workload-rhsso-foundations/tasks/pre_workload.yml 18 ●●●●● patch | view | raw | blame | history
ansible/roles/ocp4-workload-rhsso-foundations/tasks/remove_workload.yml 2 ●●● patch | view | raw | blame | history
ansible/roles/ocp4-workload-rhsso-foundations/tasks/workload.yml 3 ●●●● patch | view | raw | blame | history
ansible/roles/ocp4-workload-rhsso-foundations/tasks/post_workload.yml
@@ -2,7 +2,22 @@
# Implement your Post Workload deployment tasks here
# Leave this as the last task in the playbook.
- name: post_workload tasks complete
# For deployment onto a dedicated cluster (as part of the
# cluster deployment) set workload_shared_deployment to False
# This is the default so it does not have to be set explicitely
- name: pre_workload tasks complete
  debug:
    msg: "Post-Workload Tasks completed successfully."
  when: not silent|bool
    msg: "Post-Workload tasks completed successfully."
  when:
  - not silent|bool
  - not workload_shared_deployment|d(True)
# For RHPDS deployment (onto a shared cluster) set
# workload_shared_deployment to True
# (in the deploy script or AgnosticV configuration)
- name: pre_workload tasks complete
  debug:
    msg: "Post-Software checks completed successfully"
  when:
  - not silent|bool
  - workload_shared_deployment|d(True)
ansible/roles/ocp4-workload-rhsso-foundations/tasks/pre_workload.yml
@@ -7,6 +7,22 @@
    definition: "{{ lookup('template', role_path ~ '/templates/clusterresourcequota.j2' ) | from_yaml }}"
# Leave this as the last task in the playbook.
# For deployment onto a dedicated cluster (as part of the
# cluster deployment) set workload_shared_deployment to False
# This is the default so it does not have to be set explicitely
- name: pre_workload tasks complete
  debug:
    msg: "Pre-Workload tasks completed successfully."
    msg: "Pre-Workload tasks completed successfully."
  when:
  - not silent|bool
  - not workload_shared_deployment|d(True)
# For RHPDS deployment (onto a shared cluster) set
# workload_shared_deployment to True
# (in the deploy script or AgnosticV configuration)
- name: pre_workload tasks complete
  debug:
    msg: "Pre-Software checks completed successfully"
  when:
  - not silent|bool
  - workload_shared_deployment|d(True)
ansible/roles/ocp4-workload-rhsso-foundations/tasks/remove_workload.yml
@@ -32,4 +32,4 @@
- name: remove_workload tasks complete
  debug:
    msg: "Remove Workload tasks completed successfully."
  when: not silent|bool
  when: not silent|bool
ansible/roles/ocp4-workload-rhsso-foundations/tasks/workload.yml
@@ -53,4 +53,5 @@
# Leave this as the last task in the playbook.
- name: workload tasks complete
  debug:
    msg: "Workload Tasks completed successfully."
    msg: "Workload Tasks completed successfully."
  when: not silent|bool