blob: 354a593e5e99681c924cbba04b297d6bfdd9906f (
plain)
1
2
3
4
5
6
7
8
9
|
- name: Verify testhost is control host
stat:
path: "{{ output_dir }}"
- name: Get control host details
setup:
register: control_host
- name: Show control host details
debug:
msg: "{{ control_host.ansible_facts.ansible_distribution }} {{ control_host.ansible_facts.ansible_distribution_version }}"
|