Files
ansible-project/execute_command.yml
2025-10-11 13:14:01 +02:00

10 lines
174 B
YAML

---
- name: Execute Command
hosts: all
tasks:
- name: On execute la commande "{{ command }}"
shell:
chdir: "{{ execution_path }}"
cmd: "{{ command }}"