diff --git a/app/lib/actions/foreman_acd/deploy_all_hosts.rb b/app/lib/actions/foreman_acd/deploy_all_hosts.rb index 2bdf5c7c..c61de052 100644 --- a/app/lib/actions/foreman_acd/deploy_all_hosts.rb +++ b/app/lib/actions/foreman_acd/deploy_all_hosts.rb @@ -5,8 +5,7 @@ module ForemanAcd # DeployAllHosts implements a Foreman Task EntryAction class DeployAllHosts < Actions::EntryAction def plan(app_instance, safe_deploy) - action_subject(app_instance, :safe_deploy => safe_deploy) - plan_self(:id => app_instance.id) + plan_self(:id => app_instance.id, :safe_deploy => safe_deploy) end def run