tldr/pages/common/ansible-playbook.md

12 lines
252 B
Markdown
Raw Normal View History

2017-01-27 12:39:22 +03:00
# 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}}`