You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/controller/tasks/main.yml

10 lines
314 B
YAML

- 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 }}"