mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
update
This commit is contained in:
parent
844e24899e
commit
147533c849
Binary file not shown.
@ -298,7 +298,7 @@ You should know about a way to increase efficiency by this simple functionality
|
||||
You can tag a task, role (and its tasks), include, etc...
|
||||
|
||||
You can then limit an execution by using
|
||||
--tags tagA, other_tag,...
|
||||
ansible-playbook playbooks/simple_playbook.yml --tags tagA, tag_other
|
||||
|
||||
There are special tags: always
|
||||
|
||||
@ -307,6 +307,8 @@ You can tag a task, role (and its tasks), include, etc...
|
||||
#### LIMIT
|
||||
You can limit an execution of your tasks to defined hosts
|
||||
|
||||
ansible-playbook playbooks/simple_playbook.yml --limmit localhost
|
||||
|
||||
--limit my_hostname
|
||||
--limit groupname
|
||||
--limit some_prefix*
|
||||
|
Loading…
Reference in New Issue
Block a user