Skip to content

Commit

Permalink
replace config file path with configuration on failure data in inline…
Browse files Browse the repository at this point in the history
… playbook plugin
  • Loading branch information
L2JE committed Oct 5, 2023
1 parent f636c70 commit 54bdb14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ public void executeNodeStep(
} catch (AnsibleException e) {
Map<String,Object> failureData = new HashMap<>();
failureData.put("message",e.getMessage());
failureData.put("ansible-config", builder.getConfigFile());
failureData.put("ansible-config", configuration);
throw new NodeStepException(e.getMessage(), e, e.getFailureReason(), failureData, e.getMessage());
} catch (Exception e) {
Map<String,Object> failureData = new HashMap<>();
failureData.put("message",e.getMessage());
failureData.put("ansible-config", builder.getConfigFile());
failureData.put("ansible-config", configuration);
throw new NodeStepException(e.getMessage(),e, AnsibleException.AnsibleFailureReason.AnsibleError, failureData, e.getMessage());
}

Expand Down

0 comments on commit 54bdb14

Please sign in to comment.