Files
ansible-project/execute_command_ps.yml
2025-10-30 20:49:25 +01:00

10 lines
213 B
YAML

---
- name: Execute Powershell Command
hosts: all
tasks:
- name: On execute la commande "{{ command }}"
ansible.windows.win_powershell:
script: "{{ command }}"
chdir: "{{ execution_path }}"