Created
November 5, 2017 23:43
-
-
Save anonymous/7a9628e0c092e0d923fbaf19bc3a6e87 to your computer and use it in GitHub Desktop.
This file contains 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
# | |
# orchestration run with: salt-run state.orch orch.my-orch | |
# | |
{% set foo = salt['my_mod.foo_method']() %} | |
{% set bar = salt['my_mod.bar_method']() %} | |
invoke something: | |
salt.state: | |
- tgt: {{ pillar.get('foo_targets') }} | |
- sls: | |
- orch.something | |
# salt.state doesn't have anything for this that i can find. can it be done at all? | |
- pass_data: | |
foo: {{ foo }} | |
bar: {{ bar }} |
This file contains 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
# | |
# state involked by orchestration | |
# | |
/tmp/file: | |
file.managed: | |
- content: FOO={{ foo }} BAR={{ bar }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment