Skip to content
lemano ansible revert

lemano ansible revert

Run lemano revert on a host of an Ansible inventory

Description

Run lemano revert on a host of an Ansible inventory, reached with the
inventory's own settings, with no target file to keep. --vault-id,
--vault-password-file and --ask-vault-pass (-J) are given to the Ansible
commands below this one. Every other flag but -i goes to lemano revert:
its preview, its question, its trial, its output and its exit code are
this command's.

Synopsis

lemano ansible revert [-i INVENTORY]... HOST --to SEQ [PATH]... [lemano revert flags]

Examples

lemano ansible revert -i hosts.ini web1 --to 12 --dry-run
lemano ansible revert -i hosts.ini web1 --to 12 /etc/nginx/nginx.conf
lemano ansible revert -i hosts.ini web1 --to 12 --expect-plan hmac-sha256:3f0c...e9a1 --no-trial

Exit codes

See exit codes.

See also