mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
clarify role filtering docs
This commit is contained in:
parent
7a14ddb47d
commit
cd7c273d9f
1 changed files with 4 additions and 5 deletions
|
@ -12,11 +12,10 @@ match a given role or roles.
|
||||||
|
|
||||||
If the filter matches no servers, no actions will be taken.
|
If the filter matches no servers, no actions will be taken.
|
||||||
|
|
||||||
If you specify a filter, it will match any servers that have that role, but
|
If you specify a filter, it will match any servers that have that role, and
|
||||||
it will _only_ run the tasks for that role, not for any other roles that
|
it will run _all_ tasks for each of the roles that server has. For example,
|
||||||
server may have. For example, if you filtered for servers with the `web` role,
|
if you filtered for servers with the `web` role, and a server had both the
|
||||||
and a server had both the `web` and `db` role, only the `web` role would
|
`web` and `db` role, both the `web` and `db` role tasks would be executed on it.
|
||||||
be executed on it.
|
|
||||||
|
|
||||||
### Specifying a role filter
|
### Specifying a role filter
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue