Skip to content

[RFC] Helper script for disabling Ansible #45

@leoluk

Description

@leoluk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions