Hi,
What is the best way to run a script on completion of a successful ansible run. We have a set of automated tests which we need to run via a code deployment server each time we make a run of ansible. This meets our business documentation requirements for change control.
Currently we have a simple script to run that calls the codeshare api and can trigger the checks, but I am unsure how to firstly get ansible to run this after it has completed the run of any playbook and secondly ideally only run it if all the checks that ran before were ok?
any ideas on where to start ?
Thanks
Mark
--
|
MARK OLLIVER |
HEAD OF IT OPERATIONS
|
|
|
|
|  |
|
|
| |
|
|
| This email and any attachments are confidential and may also be |
| privileged. If you are not the intended recipient, please notify the sender |
| immediately, and do not disclose the contents to another person, use it for |
| any purpose, or store, or copy the information in any medium. Please also |
| destroy and delete the message from your computer. |
|
|
|