You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
613 B
YAML
16 lines
613 B
YAML
9 months ago
|
- name: Report target facts
|
||
3 years ago
|
hosts: localhost:test-targets
|
||
|
gather_facts: true
|
||
4 years ago
|
tasks:
|
||
3 years ago
|
- debug: {var: ansible_facts.distribution}
|
||
|
- debug: {var: ansible_facts.distribution_major_version}
|
||
|
- debug: {var: ansible_facts.distribution_release}
|
||
|
- debug: {var: ansible_facts.distribution_version}
|
||
|
- debug: {var: ansible_facts.kernel}
|
||
|
- debug: {var: ansible_facts.kernel_version}
|
||
|
- debug: {var: ansible_facts.os_family}
|
||
|
- debug: {var: ansible_facts.osrevision}
|
||
|
- debug: {var: ansible_facts.osversion}
|
||
|
- debug: {var: ansible_facts.python}
|
||
|
- debug: {var: ansible_facts.system}
|