mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
parent
fca55c25ff
commit
0af19935f6
1 changed files with 2 additions and 2 deletions
|
@ -126,9 +126,9 @@ This method is widely used.
|
|||
``` ruby
|
||||
desc "Ask about breakfast"
|
||||
task :breakfast do
|
||||
breakfast = ask(:breakfast, "What would you like your colleagues to bring you for breakfast?")
|
||||
ask(:breakfast, "What would you like your colleagues to bring you for breakfast?")
|
||||
on roles(:all) do |h|
|
||||
execute "echo \"$(whoami) wants #{breakfast} for breakfast!\" | wall"
|
||||
execute "echo \"$(whoami) wants #{fetch(:breakfast)} for breakfast!\""
|
||||
end
|
||||
end
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue