lib/bolt/transport/orch.rb
# run_task generates a result that makes sense for a generic task which
# needs to be unwrapped to extract stdout/stderr/exitcode.
#
run_task generates a result that makes sense for a generic task which
needs to be unwrapped to extract stdout/stderr/exitcode.
run_task generates a result that makes sense for a generic task which needs to be unwrapped to extract stdout / stderr / exitcode .
def unwrap_bolt_result(target, result, action, obj)
        if result.error_hash
          return result
        end
        Bolt::Result.for_command(target, result.value, action, obj, [])
      end
def unwrap_bolt_result ( target , result , action , obj ) if result . error_hash return result end Bolt :: Result . for_command ( target , result . value , action , obj , [ ] ) end
run_task generates a result that makes sense for a generic task which
needs to be unwrapped to extract stdout/stderr/exitcode.
run_task generates a result that makes sense for a generic task which needs to be unwrapped to extract stdout / stderr / exitcode .
# something went wrong return the failure # If we get here, there's no error so we don't need the file or line # number
target
<not_specific>
result
<not_specific>
action
<not_specific>
obj
<not_specific>