Commit 684aec46 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: improve get-os-info playbook

parent 518f0334
...@@ -2,11 +2,13 @@ ...@@ -2,11 +2,13 @@
gather_facts: yes gather_facts: yes
become: false become: false
tasks: tasks:
- name: Distribution - name: Distribution (ansible_distribution)
debug: msg="{{ ansible_distribution }}" debug: msg="{{ ansible_distribution }}"
- name: Distribution version - name: Distribution version (ansible_distribution_version)
debug: msg="{{ ansible_distribution_version}}" debug: msg="{{ ansible_distribution_version}}"
- name: Distribution major version - name: Distribution major version (ansible_distribution_major_version)
debug: msg="{{ ansible_distribution_major_version }}" debug: msg="{{ ansible_distribution_major_version }}"
- name: OS family - name: OS family (ansible_os_family)
debug: msg="{{ ansible_os_family }}" debug: msg="{{ ansible_os_family }}"
- name: LSB (ansible_lsb)
debug: msg="{{ ansible_lsb }}"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment