Temporarily disable Ansible from running on a host for 1 hour

13 views
Skip to first unread message

Nima V

unread,
Sep 3, 2019, 7:56:01 PM9/3/19
to Ansible Project
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.

Karl Auer

unread,
Sep 3, 2019, 8:10:13 PM9/3/19
to ansible-project
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 <v.nim...@gmail.com> 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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/78a86819-5ae3-405c-82e9-52f8c811c8b8%40googlegroups.com.


--
Karl Auer

Email  : ka...@2pisoftware.com
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
Reply all
Reply to author
Forward
0 new messages