Skip to content

Instantly share code, notes, and snippets.

@mkanoor
Last active January 24, 2023 15:56
Show Gist options
  • Select an option

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

Select an option

Save mkanoor/dfafe9bc6b869ca8be2edfba1e4b25ca to your computer and use it in GitHub Desktop.
---
- hosts: all
name: Multiple actions with sequetial execution
rules:
- actions:
- action:
echo:
message: Hurray it works
- action:
debug:
- action:
print_event:
- action:
shutdown:
delay: 0.01
condition: event.i == 1
name: r1
action_order: sequential
sources:
- name: range
range:
limit: 5
@benthomasson
Copy link

benthomasson commented Jan 24, 2023

- actions:
    - echo:
          message: Hurray it works
    - debug:
    - print_event:
    - shutdown:
          delay: 0.01```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment