1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_base.git synced 2024-08-16 14:29:50 +02:00
ansible_role_base/tasks/os_info.yml

14 lines
500 B
YAML
Raw Normal View History

2019-07-16 16:53:03 +02:00
---
- name: Print OS Infos
debug:
msg: |
ansible_os_family = '{{ ansible_os_family }}'
ansible_distribution = '{{ ansible_distribution }}'
ansible_distribution_version = '{{ ansible_distribution_version }}'
ansible_distribution_release = '{{ ansible_distribution_release }}'
ansible_machine = '{{ ansible_machine }}'
2020-08-10 10:42:47 +02:00
inventory_hostname = '{{ inventory_hostname }}'
ansible_hostname = '{{ ansible_hostname }}'
ansible_fqdn = '{{ ansible_fqdn }}'