2023-07-26 17:21:49 +00:00
|
|
|
---
|
2023-07-26 19:44:34 +00:00
|
|
|
- name: Obtener la versión del sistema operativo
|
2023-07-27 15:21:17 +00:00
|
|
|
hosts: "{{ hosts_servers }}"
|
2023-07-27 15:32:57 +00:00
|
|
|
gather_facts: yes
|
2023-07-26 19:44:34 +00:00
|
|
|
|
2023-07-26 17:21:49 +00:00
|
|
|
tasks:
|
2023-07-26 19:44:34 +00:00
|
|
|
- name: Mostrar la versión de Debian
|
|
|
|
debug:
|
2023-07-27 15:31:43 +00:00
|
|
|
msg: "OS is {{ ansible_distribution }} V. {{ ansible_distribution_version }} , {{ ansible_lsb.codename }}"
|
2023-07-26 20:01:26 +00:00
|
|
|
|