Skip to content

Instantly share code, notes, and snippets.

@mkanoor
Last active September 18, 2023 21:05
Show Gist options
  • Select an option

  • Save mkanoor/1b56551ed7395c21abd5ead6c73a21a3 to your computer and use it in GitHub Desktop.

Select an option

Save mkanoor/1b56551ed7395c21abd5ead6c73a21a3 to your computer and use it in GitHub Desktop.
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/mkanoor/ansible-rulebook/schema_changes/ansible_rulebook/schema/ruleset_schema.json
- name: Test run workflow templates
hosts: all
sources:
- ansible.eda.range:
limit: 5
rules:
- name: "Run workflow template"
condition: event.i == 1
action:
run_workflow_template:
name: Demo Job Template
job_args:
extra_vars:
hello: Fred
retries: 1
delay: 10
set_facts: True
organization: Default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment