lemano ansible
Use Ansible inventories and passwords with lemano
Description
The Ansible integration of lemano. It is a program of its own, installed
beside lemano and run as "lemano ansible": lemano itself knows nothing
of Ansible.
Write this program's flags after "ansible": lemano passes on what follows
the name and nothing before it, so "lemano --store FILE ansible ..." does
not reach it. Use the environment instead (LEMANO_STORE).
Exit codes are lemano's: 0 success, 1 other error, 2 usage (also unsafe
tasks a check refused), 7 partial (an import in which a host could not
be imported, a check in which a host could not be compared), 8 with
check --detailed-exitcode, something drifted, missing or forgotten, 130
interrupted.Synopsis
lemano ansibleExamples
lemano ansible import -i inventories/prod/hosts.yml --out targets/prod.yaml
lemano ansible check site.yml -i inventories/prod/hosts.yml
lemano ansible discover -i inventories/prod/hosts.ymlExit codes
See exit codes.
See also
- lemano: the parent command
- lemano ansible check: Compare servers with what a playbook would do, in check mode
- lemano ansible codify: Propose the edits that make your roles describe your servers
- lemano ansible discover: Run lemano discover on the hosts of an Ansible inventory
- lemano ansible end-trial: Run lemano target end-trial on a host of an Ansible inventory
- lemano ansible export: Write an Ansible project from what Lemano last read on servers
- lemano ansible import: Turn the hosts of an Ansible inventory into targets
- lemano ansible revert: Run lemano revert on a host of an Ansible inventory