19 rader
462 B
YAML
19 rader
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
|
|
|