mantis lab provisioning ansible
mantis lab provisioning ansible
Description
This command allows provisioning on targeted machines through the ansible utility.
Usage
$ mantis lab LAB_ID provisioning ansible (...)
Options
Optional Arguments
--id
The simulation id
--machines
Input path of machines configuration (YAML format)
-c
Input directory containing ansible playbook(s)
-r
Role used to filter targets ("client", "activate_directory", "file_server", "admin", ...)
-s
System type used to filter targets ("linux", "windows")
-o
Operating system used to filter targets ("Windows 7", "Windows 10", "Debian", "Ubuntu", ...)
-n
Machine name used to filter targets
--host-vars
Host vars given as a dictionary
-e, --extra-vars
Variables for the ansible playbook(s)
--no-wait
Don't wait for the task to be done
Default: False
--force-gather-facts
Force "gather_facts" to "yes" in the ansible playbook, regardless of its default value and its value in the playbook.
--force-no-gather-facts
Force "gather_facts" to "no" in the ansible playbook, regardless of its default value and its value in the playbook.
--timeout
Timeout of the provisioning task (default to 3600 seconds - 1 hour)
Default: 3600
--ansible-verbosity, -v
Determines the verbosity of the ansible output (and the number of "-v" passed to ansible)
Default: 0
--stream-ansible
If set, will stream the ansible output during the provisioning task
Default: False
--reload-provisioning-agent
If set, will force the reloading of the provisioning agent docker container
Default: False