roles/nrser.rb/library/vars.rb in qb-0.1.17 vs roles/nrser.rb/library/vars.rb in qb-0.1.18
- old
+ new
@@ -45,14 +45,12 @@
'changed' => changed,
'ansible_facts' => result,
})
rescue Exception => e
- raise e
-
print JSON.dump({
'failed' => true,
- 'msg' => e,
+ 'msg' => e.message,
# 'input' => input,
# 'args' => args,
# 'ARGV' => ARGV,
# 'ruby' => RUBY_VERSION,
})
\ No newline at end of file