Added this repo
This commit is contained in:
15
ansible/playbooks/os-ping-test.yml
Normal file
15
ansible/playbooks/os-ping-test.yml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
|
||||
- hosts: "{{ hosts_target }}"
|
||||
become: false
|
||||
gather_facts: true
|
||||
vars_files:
|
||||
- /root/.secret/.ansible/vars_creds.yml
|
||||
|
||||
tasks:
|
||||
- name: Debug
|
||||
debug:
|
||||
# var: ansible_facts
|
||||
msg: " It is {{ansible_facts['distribution'] }} {{ ansible_facts.distribution_major_version }} ( {{ ansible_facts.distribution_release }} )"
|
||||
|
||||
|
Reference in New Issue
Block a user