Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Helper script for disabling Ansible #45

Open
leoluk opened this issue Jan 2, 2019 · 0 comments
Open

[RFC] Helper script for disabling Ansible #45

leoluk opened this issue Jan 2, 2019 · 0 comments

Comments

@leoluk
Copy link
Contributor

leoluk commented Jan 2, 2019

Build a ansible-disable script that creates a persistent lock file. The script takes a required parameter which describes the reason for disabling and records the value of $USER or $SUDO_USER (for root).

$ ansible-disable "Working on a local branch"
/run/ring-ansible.disable lock created (expires in 8 days)

$ cat /run/ring-ansible.disable
Working on local branch

Wed, 02 Jan 2019 20:00:38 +0000 by leopold
@leoluk leoluk changed the title Helper script for disabling Ansible [RFC] Helper script for disabling Ansible Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant