playbook¶Run ansible playbook
usage: strong-opx playbook [-h] [--host [GROUP_NAME ...]] [--keep-host-state-unchanged] [--project PROJECT] [--env ENVIRONMENT] [-v {0,1,2,3}] [--traceback] playbook
Ansible playbook name (without extension) to run. Must be a file in playbooks/ directory
show this help message and exit
Specify hosts to deploy to
Keep host state Unchanged
Select project by its name. If missing, strong-opx will attempt to auto-select project based on current working directory and its parents and looking for presence of configured project
Environment name. If project has only one environment that will be auto selected
Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output.
Raise instead of handling known exceptions
Note
This command is a thin wrapper around ansible-playbook. It will
automatically set the inventory file based on the current environment.
To pass additional arguments to ansible-playbook you can use the -- separator.
All arguments after -- will be passed as it is to ansible-playbook.