get rc powershell test11
This commit is contained in:
@@ -8,7 +8,5 @@
|
|||||||
ansible.windows.win_powershell:
|
ansible.windows.win_powershell:
|
||||||
script: "{{ command }}"
|
script: "{{ command }}"
|
||||||
chdir: "{{ execution_path }}"
|
chdir: "{{ execution_path }}"
|
||||||
register: pwsh_output
|
register: output
|
||||||
|
failed_when: output.output[0] != 0
|
||||||
- debug:
|
|
||||||
msg: "{{ pwsh_output.output[0] }}"
|
|
||||||
Reference in New Issue
Block a user