-
-
Save whytewolf/2765f921021297ab7865bde1025a023d 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
base: | |
'minionid': | |
- roles.mongodb-server | |
'minionid2': | |
- roles.mongodb-client |
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
roles: | |
mongodb-client | |
ntp-client | |
someotherrole |
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
roles: | |
mongodb-server | |
ntp-server | |
other-role |
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
{% set host,ip = salt.mine.get('I@roles:mongodb-server','network_ipaddrs','compound') %} | |
not exact and a way over simplification. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment