lemano ansible end-trial
Runs lemano target end-trial on one host of an Ansible inventory,
reached with the inventory’s own settings, with no target file to keep:
it ends a revert’s trial that was left unfinished, putting back the files
the trial saved (--undo) or keeping them (--keep). It is the way to
end a trial on a host whose target was made by
recording a playbook run.
lemano ansible end-trial [-i INVENTORY]... HOST --undo|--keep [--trial ID]The flags and examples of the command are also on its generated page.
It builds the host’s target file as
lemano ansible discover does, in a private
temporary folder removed afterwards, then runs
lemano target end-trial -f FOLDER HOST from the folder of this program,
with your standard streams. Every flag but -i, --vault-id,
--vault-password-file and -J (the vault options, see
lemano ansible discover)
goes to it, and its
output and exit code are this command’s. HOST is the host’s inventory
name. -f and --limit are refused.
See revert for trials.