Premier commit

This commit is contained in:
gitea committed 2026-10-18 16:41:04 +02:00
commit 518c7ab04b
49 files changed
+1120

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
---
- name: "Create empty files"
hosts: ansible.debian
become: true
gather_facts: no
tasks:
- name: "Create empty file"
ansible.builtin.file:
path: /tmp/TEST1
state: touch
notify:
- Handler1
- name: "Create empty file"
ansible.builtin.file:
path: /tmp/TEST2
state: touch
notify:
- Handler3
- Handler2
handlers:
- name: "Handler1"
ansible.builtin.debug:
msg: " Le fichier TEST1 est créé"
- name: "Handler2"
ansible.builtin.debug:
msg: " Le fichier TEST2 est créé"
- name: "Handler3"
ansible.builtin.shell:
cmd: ls -l /tmp/TEST*