diff --git a/execute_command_ps.yml b/execute_command_ps.yml index d981511..c0de028 100644 --- a/execute_command_ps.yml +++ b/execute_command_ps.yml @@ -12,8 +12,8 @@ arguments: - -ExecutionPolicy - ByPass - register: pwsh_output - failed_when: - - pwsh_output.output[0] != 7 + register: pwsh_output + failed_when: + - pwsh_output.output[0] != 7 - debug: msg: "{{ pwsh_output }}" \ No newline at end of file