mirror of https://github.com/CrimsonTome/tldr.git
12 lines
252 B
Markdown
12 lines
252 B
Markdown
|
# ansible-playbook
|
||
|
|
||
|
> Execute tasks defined in playbook on remote machines over SSH.
|
||
|
|
||
|
- Run tasks in playbook:
|
||
|
|
||
|
`ansible-playbook {{playbook}}`
|
||
|
|
||
|
- Run tasks in playbook with custom host inventory:
|
||
|
|
||
|
`ansible-playbook {{playbook}} -i {{inventory_file}}`
|