Skip to content

Instantly share code, notes, and snippets.

@austinpapp
Last active February 15, 2018 22:29
Show Gist options
  • Save austinpapp/e2775271305731327ae335c5c7e0ad17 to your computer and use it in GitHub Desktop.
Save austinpapp/e2775271305731327ae335c5c7e0ad17 to your computer and use it in GitHub Desktop.
runner1:
salt.runner:
- name: test.stdout_print
- parallel: True
runner2:
salt.runner:
- name: test.stdout_print
- parallel: True
waits_on_runners:
salt.function:
- name: cmd.run
- cmd: date
- require:
- salt: runner1
- salt: runner2
parallelize:
salt.parallel_runners:
- runners:
runner1:
- name: test.stdout_print
runner2:
- name: test.stdout_print
waits_on_runners:
salt.function:
- name: cmd.run
- cmd: date
- require:
- salt: parallelize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment