mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-15 11:14:24 +02:00
update
This commit is contained in:
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 tag a task, role (and its tasks), include, etc...
|
||||||
|
|
||||||
You can then limit an execution by using
|
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
|
There are special tags: always
|
||||||
|
|
||||||
@@ -307,6 +307,8 @@ You can tag a task, role (and its tasks), include, etc...
|
|||||||
#### LIMIT
|
#### LIMIT
|
||||||
You can limit an execution of your tasks to defined hosts
|
You can limit an execution of your tasks to defined hosts
|
||||||
|
|
||||||
|
ansible-playbook playbooks/simple_playbook.yml --limmit localhost
|
||||||
|
|
||||||
--limit my_hostname
|
--limit my_hostname
|
||||||
--limit groupname
|
--limit groupname
|
||||||
--limit some_prefix*
|
--limit some_prefix*
|
||||||
|
Reference in New Issue
Block a user