Update os/os-release.yml

This commit is contained in:
David Lopez 2023-07-26 20:01:26 +00:00
parent 2615679635
commit 5c8d48a65d
1 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
tasks: tasks:
- name: Mostrar la versión de Debian - name: Mostrar la versión de Debian
when: ansible_distribution == 'Debian'
debug: debug:
msg: "El sistema operativo en {{ inventory_hostname }} es {{ ansible_distribution }} {{ ansible_distribution_version }}" #msg: "El sistema operativo en {{ inventory_hostname }} es {{ ansible_distribution }} {{ ansible_distribution_version }}"
msg: "El pretty name de {{ ansible_facts['ansible_distribution'] }} {{ ansible_facts['ansible_distribution_version'] }} es {{ ansible_facts['ansible_lsb']['description'] }}"