From e731ec2d5929f68688f0f4d48830c19ccfc00af0 Mon Sep 17 00:00:00 2001 From: Patrick T. Rutledge III <rut31337@users.noreply.github.com> Date: Wed, 04 Mar 2020 20:05:29 +0100 Subject: [PATCH] change tasks msg to software from workload (#1233) --- ansible/roles/ocp4-workload-rhsso-foundations/tasks/post_workload.yml | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/ansible/roles/ocp4-workload-rhsso-foundations/tasks/post_workload.yml b/ansible/roles/ocp4-workload-rhsso-foundations/tasks/post_workload.yml index 4d2c7b3..9e14c85 100644 --- a/ansible/roles/ocp4-workload-rhsso-foundations/tasks/post_workload.yml +++ b/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 \ No newline at end of file + 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) -- Gitblit v1.9.3