callback_demo/callback_demo.yml
2023-12-01 11:42:22 -05:00

33 lines
717 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
ansible.builtin.debug:
var: job_status_url
- name: Job status token
ansible.builtin.debug:
var: job_status_token
- name: Get some infos
ansible.builtin.shell:
cmd: "pwd && echo && ls -ltra && echo && find ."
changed_when: false
register: r_some_info
- name: Show some infos
ansible.builtin.debug:
var: r_some_info