éè¦ã¯æãããã ãæ å ±ãå°ãªãã®ã§ç°¡åã«ã¾ã¨ãã¦ããã æ¹é ãµã¼ããã¨ã«ç¬ç«ãã¼ã«ãè¨å® ãã¼ã«ãã¨ã®ã¿ã¹ã¯ã追å afterã¿ã¹ã¯çã使ç¨ãã¦ãè¤æ°ã®ã¿ã¹ã¯ã追éèµ·åãããã ãµã³ãã« (deploy.rb â»æç²) role :web, "localhost", "192.168.2.20" ... # ç¬ç«ãããã¼ã«ãè¨å® role :web1, "localhost" role :web2, "192.168.2.20" # afterã§ãaa:echoãã¿ã¹ã¯ã®å¾ã«å®è¡ãããã¿ã¹ã¯ãè¨è¿°(è¤æ°è¨è¿°å¯è½) after "aa:echo", "aa:echo1", "aa:echo2" # ãã¼ã«ãã¨ã®ã¿ã¹ã¯ãè¨è¿° namespace :aa do task :echo, :roles => :web do run "echo ECHO" end task :echo1, :rol
{{#tags}}- {{label}}
{{/tags}}