Simple example
This commit is contained in:
parent
7a9cb87ea6
commit
db54e1a3b0
|
@ -0,0 +1,3 @@
|
|||
first-play: First play
|
||||
create-tmp-file: Create a temporary file
|
||||
delete-tmp-file: Delete the temporary file
|
|
@ -0,0 +1,12 @@
|
|||
task: Tâche
|
||||
handler: Gestionnaire
|
||||
SUMMARY: RÉSUMÉ
|
||||
Gathering Facts: Rassembler les faits
|
||||
changed: changéE
|
||||
ok: ok
|
||||
ignored: ignoré
|
||||
failed: échoué
|
||||
unreachable: injoignable
|
||||
first-play: Première recette
|
||||
create-tmp-file: Créer un fichier temporaire
|
||||
delete-tmp-file: Supprimer le fichier temporaire
|
|
@ -0,0 +1,16 @@
|
|||
- name: first-play
|
||||
hosts: all
|
||||
tasks:
|
||||
# Only appears in debug mode because it never fails
|
||||
- name: check-passwd-exists
|
||||
file:
|
||||
path: /etc/passwd
|
||||
state: file
|
||||
- name: create-tmp-file
|
||||
file:
|
||||
path: /tmp/ansible_i18n_test
|
||||
state: touch
|
||||
- name: delete-tmp-file
|
||||
file:
|
||||
path: /tmp/ansible_i18n_test
|
||||
state: absent
|
Loading…
Reference in New Issue