lib/bolt/application.rb
# Run a task on a list of targets.
#
# @param task [String] The name of the task.
# @param options [Hash] Additional options.
# @return [Bolt::ResultSet]
#
Run a task on a list of targets.
Run a task on a list of targets .
def run_task(task, targets, params: {})
      targets = inventory.get_targets(targets)
      with_benchmark do
        pal.run_task(task, targets, params, executor, inventory)
      end
    end
def run_task ( task , targets , params : { } ) targets = inventory . get_targets ( targets ) with_benchmark do pal . run_task ( task , targets , params , executor , inventory ) end end
Run a task on a list of targets.
Run a task on a list of targets .
None
Bolt::ResultSet
task
The name of the task.
The name of the task .
targets
<not_specific>
params
<not_specific>
options
<not_specific>
None