summaryrefslogtreecommitdiff
path: root/final/playbook.yml
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-08-18 11:22:14 +0200
committerjerome <jerome@xlinfo.fr>2025-08-18 11:22:14 +0200
commit4293df73e636a3bb9097d4cbe80ae8c194862f6b (patch)
treec7cbf89deac7fcbc85850938b7c926778999c9bc /final/playbook.yml
downloadincus-4293df73e636a3bb9097d4cbe80ae8c194862f6b.tar.gz
incus-4293df73e636a3bb9097d4cbe80ae8c194862f6b.zip
commit initial
Diffstat (limited to 'final/playbook.yml')
-rw-r--r--final/playbook.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/final/playbook.yml b/final/playbook.yml
new file mode 100644
index 0000000..bf82fef
--- /dev/null
+++ b/final/playbook.yml
@@ -0,0 +1,8 @@
+- hosts: all
+ tasks:
+ - name: uptime des serveurs
+ command: uptime
+ register: uptime_result
+ - name: debug
+ debug:
+ msg: "uptime de {{ansible_hostname}} : {{uptime_result.stdout}}"