Subject: [ansible-project] How to try one task in Ansible ?


When using things like script/shell/command, Ansible has no way to
know what happened since this is arbitrary code you supply.
That said, script has some helper options like 'creates/removes' that
let you tell ansible ' my code creates this or removes this' and the
module will check these conditions and use that as a reflection of if
the script  needs to run again or not with the supposition that it
already ran previously in successful fashion.
--
----------
Brian Coca

--
To post to this group, send email to [EMAIL PROTECTED].