callback_demo/callback_demo.yml
Chris Hammer ebc0f63e35
All checks were successful
Ansible Test / CentOS9-Ansible-Pipeline (push) Successful in 5s
FIX: add env dump
2024-02-07 13:33:34 -05:00

29 lines
683 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
- name: Show environment
ansible.builtin.debug:
var: vars