Initial Push of scraped playbooks
This commit is contained in:
12
playbooks/gatherfacts/gather_facts.yaml
Normal file
12
playbooks/gatherfacts/gather_facts.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- hosts: all
|
||||
gather_facts: yes
|
||||
become: false
|
||||
tasks:
|
||||
- name: Distribution
|
||||
debug: msg="{{ ansible_distribution }}"
|
||||
- name: Distribution version
|
||||
debug: msg="{{ ansible_distribution_version}}"
|
||||
- name: Distribution major version
|
||||
debug: msg="{{ ansible_distribution_major_version }}"
|
||||
...
|
||||
Reference in New Issue
Block a user