callback_demo/callback_demo.yml
Chris Hammer b9e155feeb
All checks were successful
Ansible Test / CentOS9-Ansible-Pipeline (push) Successful in 15s
Ansible Test / Fedora39-Ansible-Pipeline (push) Successful in 15s
Ansible Test / Debian11-Ansible-Pipeline (push) Successful in 14s
Ansible Test / Debian12-Ansible-Pipeline (push) Successful in 13s
add exception for job_status_url and job_status_token; these arent defined by default when running under ansible-core
2023-12-13 13:01:32 -05:00

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