Put a check at the top of every script for a particular file; if the file is there, stop.
On Wed, Sep 4, 2019 at 9:56 AM Nima V <[email protected]> wrote: > I have Ansible running regularly via Jenkins. There are times where I want > to prevent a host from running ansible temporarily. What is the best way to > temporarily disable Ansible so that it does not run when Jenkins runs it. > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/78a86819-5ae3-405c-82e9-52f8c811c8b8%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/78a86819-5ae3-405c-82e9-52f8c811c8b8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Karl Auer Email : [email protected] Website: http://2pisoftware.com GPG/PGP : 301B 1F4E 624D AD99 242C 7A68 EC24 7113 E854 4A4E Previous: 958A 2647 6C44 D376 3D63 86A5 FFB2 20BC 0257 5816 -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2B%2BT08RoKmX1hOaGiT5BjnpT%3D2ssBD6KhVDEsPmPt4jucLHMkg%40mail.gmail.com.
