OptionsOn ansible itself
--ask-vault-pass
Ask for vault password
--list-hosts
Outputs a list of matching hosts; does not execute
--playbook-dir
Since this tool does not use playbooks, use this as a substitute playbook directory.This sets the relative path for many features including roles/ group_vars/etc <playbook dir>
--syntax-check
Perform a syntax check on the playbook, but do not execute it
--vault-id
Specify the vault identity to use <vault ID>
--vault-password-file
Specify a vault password file <vault password file>
--version
Show program's version number, config file location, configured module search path, module location and executable location
--background-B
Run asynchronously, failing after specified seconds <seconds>
--check-C
Don't make any changes; instead, try to predict some of the changes that may occur
--diff-D
When changing (small) files and templates, show the differences in those files
--module-path-M
Prepend colon-separated path(s) to module library <module path>
--poll-P
Set the poll interval if using -B <poll interval>
--args-a
Specify module arguments <module arguments>
--extra-vars-e
Set additional variables as key=value or YAML/JSON, if filename prepend with @ <extra vars>
--forks-f
Specify number of parallel processes to use <forks>
--help-h
Show help for ansible
--inventory-i
Specify inventory host path or comma separated host list <inventory>
--limit-l
Limit selected hosts to an additional pattern <subset>
--module-name-m
Specify the module name to execute <module name>
--one-line-o
Condense output
--tree-t
Log output to specific directory <tree>
--verbose-v
Enable verbose mode
-vvv
Enable very verbose mode
-vvvv
Enable connection debug mode
--become-method
Privilege escalation method to use <become method>
--become-user
Privilege escalation user to use <become user>
--ask-become-pass-K
Prompt for privilege escalation password
--become-b
Run operations with become
--private-key--key-file
Use this fole to authenticate the connection <private key>
--scp-extra-args
Extra arguments to pass to (only) scp <SCP extra args>
--sftp-extra-args
Extra arguments to pass to (only) sftp <SFTP extra args>
-ssh-extra-args
Extra arguments to pass to (only) ssh <SSH extra args>
--ssh-common-args
Extra arguments to pass to sftp/scp/ssh <SSH common args>
--timeout-T
Override the connection timeout in seconds <timeout>
--connection-c
Connection type to use <connection type>
--ask-pass-k
Ask for connection password
--user-u
Connect as this user <user>