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.
20 lines
1.1 KiB
YAML
20 lines
1.1 KiB
YAML
- name: Report controller parameters
|
|
hosts: test-targets[0]
|
|
gather_facts: false
|
|
tasks:
|
|
- debug:
|
|
msg:
|
|
- ${ANSIBLE_STRATEGY}: "{{ lookup('env', 'ANSIBLE_STRATEGY') | default('<unset>') }}"
|
|
- ${USER}: "{{ lookup('env', 'USER') | default('<unset>') }}"
|
|
- $(groups): "{{ lookup('pipe', 'groups') }}"
|
|
- $(pwd): "{{ lookup('pipe', 'pwd') }}"
|
|
- $(whoami): "{{ lookup('pipe', 'whoami') }}"
|
|
- ansible_inventory_sources: "{{ ansible_inventory_sources | default('<unset>') }}"
|
|
- ansible_run_tags: "{{ ansible_run_tags | default('<unset>') }}"
|
|
- ansible_playbook_python: "{{ ansible_playbook_python | default('<unset>') }}"
|
|
- ansible_skip_tags: "{{ ansible_skip_tags | default('<unset>') }}"
|
|
- ansible_version.full: "{{ ansible_version.full | default('<unset>') }}"
|
|
- is_mitogen: "{{ is_mitogen | default('<unset>') }}"
|
|
- playbook_dir: "{{ playbook_dir | default('<unset>') }}"
|
|
delegate_to: localhost
|