mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Don't advise users to use :all role
Shame on me. Of course, :all is a meta role: https://github.com/capistrano/capistrano/issues/746
This commit is contained in:
parent
cefe18f4ff
commit
bd766aef06
1 changed files with 0 additions and 16 deletions
|
@ -77,19 +77,3 @@ It's better to use:
|
|||
end
|
||||
end
|
||||
{% endprism %}
|
||||
|
||||
#### Refactor roles
|
||||
|
||||
Instead of:
|
||||
|
||||
{% prism ruby %}
|
||||
role :app, %w{example.com}
|
||||
role :web, %w{example.com}
|
||||
role :db, %w{example.com}
|
||||
{% endprism %}
|
||||
|
||||
It's better to use:
|
||||
|
||||
{% prism ruby %}
|
||||
role :all, %w{example.com}
|
||||
{% endprism %}
|
||||
|
|
Loading…
Add table
Reference in a new issue