| 1 |
- name: Report controller parameters |
| 2 |
hosts: test-targets[0] |
| 3 |
gather_facts: false |
| 4 |
tasks: |
| 5 |
- debug: |
| 6 |
msg: |
| 7 |
- ${ANSIBLE_STRATEGY}: "{{ lookup('env', 'ANSIBLE_STRATEGY') | default('<unset>') }}" |
| 8 |
- ${USER}: "{{ lookup('env', 'USER') | default('<unset>') }}" |
| 9 |
- $(groups): "{{ lookup('pipe', 'groups') }}" |
| 10 |
- $(pwd): "{{ lookup('pipe', 'pwd') }}" |
| 11 |
- $(whoami): "{{ lookup('pipe', 'whoami') }}" |
| 12 |
- ansible_inventory_sources: "{{ ansible_inventory_sources | default('<unset>') }}" |
| 13 |
- ansible_run_tags: "{{ ansible_run_tags | default('<unset>') }}" |
| 14 |
- ansible_playbook_python: "{{ ansible_playbook_python | default('<unset>') }}" |
| 15 |
- ansible_skip_tags: "{{ ansible_skip_tags | default('<unset>') }}" |
| 16 |
- ansible_version.full: "{{ ansible_version.full | default('<unset>') }}" |
| 17 |
- is_mitogen: "{{ is_mitogen | default('<unset>') }}" |
| 18 |
- playbook_dir: "{{ playbook_dir | default('<unset>') }}" |
| 19 |
delegate_to: localhost |