powershell command
This commit is contained in:
10
execute_command_ps.yml
Normal file
10
execute_command_ps.yml
Normal file
@@ -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 }}"
|
||||||
Reference in New Issue
Block a user