Last active
March 1, 2017 14:43
-
-
Save jwerak/285aa44d041891b499e910f188bf04a8 to your computer and use it in GitHub Desktop.
salt orchestrate runner to accept minion
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
| Vefify minion if possible: | |
| salt.state: | |
| - tgt: {{ grains['id'] }} | |
| - sls: ec2.accept |
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
| check_new_minion: | |
| runner.state.orchestrate: | |
| - mods: orch.accept_new_minion | |
| - pillar: | |
| event_data: {{ data | json() }} |
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
| salt-run state.orchestrate orch.accept |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment