24 lines
605 B
YAML
24 lines
605 B
YAML
- name: Callback plugin from collection demo
|
|
hosts: localhost
|
|
connection: local
|
|
become: false
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
- name: Simply say hello
|
|
ansible.builtin.debug:
|
|
msg: Hello.
|
|
|
|
- name: Hello again.
|
|
ansible.builtin.debug:
|
|
msg: Hello. Again.
|
|
|
|
- name: Job status URL & token obtained from custom credential extra_vars
|
|
ansible.builtin.debug:
|
|
msg:
|
|
- "job_status_url: {{ job_status_url }}"
|
|
- "job_status_token: {{ job_status_token }}"
|
|
when:
|
|
- job_status_url is defined
|
|
- job_status_token is defined
|