ansible-playbook

ansible-playbook

TLDR

Run tasks in playbook

>_ ansible-playbook [playbook]
copy

Run tasks in playbook with custom host inventory

>_ ansible-playbook [playbook] -i [inventory_file]
copy

Run tasks in playbook with extra variables defined via the command line

>_ ansible-playbook [playbook] -e "[variable1]=[value1] [variable2]=[value2]"
copy

Run tasks in playbook with extra variables defined in a json file

>_ ansible-playbook [playbook] -e "@[variables.json]"
copy

Copied to clipboard
free 100$ digital ocean credit