Ansible_PUBLIC/debug/test.yml
2020-03-14 14:46:51 +01:00

19 行
462 B
YAML

- hosts: all
hosts: thismachine
connection: local
tasks:
- name: debug through ansible.env
debug: var=ansible_env.HOME
- name: ansible_os_family is
debug: var=ansible_os_family
- name: ansible_distribution is
debug: var=ansible_distribution
- name: ansible_distribution_release is
debug: var=ansible_distribution_release
- name: ansible_distribution_version is
debug: var=ansible_distribution_version