Method: MCollective::Util::Playbook::Tasks#reset

Defined in:
lib/mcollective/util/playbook/tasks.rb

#resetObject



23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/mcollective/util/playbook/tasks.rb', line 23

def reset
  @results = []
  @tasks = {
    "tasks" => [],
    "pre_task" => [],
    "post_task" => [],
    "on_fail" => [],
    "on_success" => [],
    "pre_book" => [],
    "post_book" => []
  }
end