commit ab20dbcb6119a34db79d86689bfe07ef7c5c86af Author: Chris Hammer Date: Thu Nov 30 13:20:39 2023 -0500 initial project commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5dcd75c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +collections/ansible_collections diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..f2c17f3 --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,4 @@ +[defaults] +collections_path = collections +callbacks_enabled = rhc.callback_demo.job_status + diff --git a/callback_demo.yml b/callback_demo.yml new file mode 100644 index 0000000..77018be --- /dev/null +++ b/callback_demo.yml @@ -0,0 +1,15 @@ +- 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. + diff --git a/collections/requirements.yml b/collections/requirements.yml new file mode 100644 index 0000000..790a755 --- /dev/null +++ b/collections/requirements.yml @@ -0,0 +1,4 @@ +collections: + - name: https://gitea.thezengarden.net/ansible_collections/callback_demo.git + type: git + version: main