diff --git a/execute_command_ps.yml b/execute_command_ps.yml index 3aba170..afb5485 100644 --- a/execute_command_ps.yml +++ b/execute_command_ps.yml @@ -8,10 +8,6 @@ ansible.windows.win_powershell: script: "{{ command }}" chdir: "{{ execution_path }}" - executable: pwsh.exe - arguments: - - -ExecutionPolicy - - ByPass register: pwsh_output - debug: