tldr/pages/common/ansible-playbook.md

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}}`