16 lines
350 B
YAML
16 lines
350 B
YAML
---
|
|
|
|
- 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 }} )"
|
|
|
|
|