Capistrano ã§è¤æ°ã®ãµã¼ãã¼ç¾¤ã«å¯¾ãã¦å¦çãå®è¡ãã ãªãã®ãã£ã¡ãã¨æãæ¹ãå¤ãããããã¾ããããããã¯ä»¥ä¸ã®ãããªè©±ã§ãã web1, web2, web3 ã«å¯¾ã㦠run ã使ã db1, db2, db3 ã«å¯¾ã㦠run ã使ã ã¨ãããããªãã¨ãä¸ã¤ã® task ã®ä¸ã«æ¸ãããã¨ããäºä¾ã§ããçµå±ãããªã£ãã set :webserver, ["web1","web2","web3"] set :dbserver, ["db1","db2","db3"] task :hogehoge, :roles => [:server] do role(:server){webserver} run "hogehoge" role(:server){dbserver} run "hugahuga" end ãããçã®ããããæ¹ã ã¨ããæ°ã¯å ¨ãããªããã¨ããããè¦ä»¶ãæºããã¨ã¯
{{#tags}}- {{label}}
{{/tags}}