gather facts

This commit is contained in:
2026-05-12 17:11:22 +02:00
parent fe6e91d8e4
commit 8ae6813615

View File

@@ -1,6 +1,10 @@
---
- hosts: all
gather_facts: true
tasks:
- name: mostrar tots el gather facts
debug:
var: ansible_facts
- name: get server hostname
command: hostname
- name: mostrar IP del host