From 4604f2f3efc1b837b5c94b5c6f70563defe0f456 Mon Sep 17 00:00:00 2001 From: donotos Date: Thu, 30 Oct 2025 20:49:25 +0100 Subject: [PATCH] powershell command --- execute_command_ps.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 execute_command_ps.yml diff --git a/execute_command_ps.yml b/execute_command_ps.yml new file mode 100644 index 0000000..11ded14 --- /dev/null +++ b/execute_command_ps.yml @@ -0,0 +1,10 @@ +--- +- name: Execute Powershell Command + hosts: all + + tasks: + + - name: On execute la commande "{{ command }}" + ansible.windows.win_powershell: + script: "{{ command }}" + chdir: "{{ execution_path }}" \ No newline at end of file