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