Petit stack

This commit is contained in:
2026-05-12 18:38:47 +02:00
parent 52e636b8e5
commit 8f477950d8
9 changed files with 79 additions and 50 deletions

View File

@@ -1,5 +1,11 @@
---
- hosts: all
tasks:
- name: get server hostname
- name: Ping to servers
ping:
- name: Get hostname
command: hostname
register: hostname
- name: Show hostname with message
debug:
msg: "The hostname of this server is {{ hostname.stdout }}"