summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-08-18 12:21:17 +0200
committerjerome <jerome@xlinfo.fr>2025-08-18 12:21:17 +0200
commitfd1965078368a4de0ed6c006ece5ea6443d0674a (patch)
treeab03b66a1268c6488b7140894eed229679c457d9
parent2b460f3d16ae3f3d7ac6cd8ac3901b58ef4a8c4d (diff)
downloadincus-fd1965078368a4de0ed6c006ece5ea6443d0674a.tar.gz
incus-fd1965078368a4de0ed6c006ece5ea6443d0674a.zip
ansible
-rw-r--r--final/playbook.yml8
-rwxr-xr-xfinal/wrapper2
2 files changed, 1 insertions, 9 deletions
diff --git a/final/playbook.yml b/final/playbook.yml
deleted file mode 100644
index bf82fef..0000000
--- a/final/playbook.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-- hosts: all
- tasks:
- - name: uptime des serveurs
- command: uptime
- register: uptime_result
- - name: debug
- debug:
- msg: "uptime de {{ansible_hostname}} : {{uptime_result.stdout}}"
diff --git a/final/wrapper b/final/wrapper
index 8047680..e85b65c 100755
--- a/final/wrapper
+++ b/final/wrapper
@@ -2,4 +2,4 @@
tofu apply --auto-approve
-ansible-playbook -i hosts playbook.yml
+ansible-playbook -i hosts lamp.yml