Created
February 7, 2024 01:12
-
-
Save mkanoor/1a9f1dbd9184ea96d8fafe8cd4df12c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - name: Test run job templates | |
| hosts: all | |
| sources: | |
| - ansible.eda.webhook: | |
| port: 4444 | |
| host: 0.0.0.0 | |
| rules: | |
| - name: "Run job template" | |
| condition: event.payload.i == 0 | |
| actions: | |
| - run_job_template: | |
| name: Demo Job Template | |
| organization: Default | |
| job_args: | |
| extra_vars: | |
| hello: Fred | |
| limit: "{{ event.payload.meta.host }}" | |
| retries: 1 | |
| delay: 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment