Skip to content

Commit

Permalink
ansible-playbook: add start-at and tags commands (tldr-pages#4171)
Browse files Browse the repository at this point in the history
  • Loading branch information
giper45 authored Jul 17, 2020
1 parent 33ee5d4 commit 887b7e7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/common/ansible-playbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@
- Run tasks in playbook with extra variables defined in a json file:

`ansible-playbook {{playbook}} -e "@{{variables.json}}"`

- Run tasks in playbook for the given tags:

`ansible-playbook {{playbook}} --tags {tags}}`

- Run tasks in a playbook starting at a specific task:

`ansible-playbook {{playbook}} --start-at {{task_name}}`

0 comments on commit 887b7e7

Please sign in to comment.