Created
August 25, 2017 13:05
-
-
Save anonymous/e8b73eccfab67f5707eb574f07627564 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
salt 'postgresdb' mine.get roles:webserver network.ip_addrs grain | |
postgresdb: | |
---------- | |
salt -G 'roles:webserver' test.ping | |
html-prod2: | |
True | |
html-prod1: | |
True | |
htmlserver: | |
True | |
cat pillar/development/mine.sls | |
mine_functions: | |
network.ip_addrs: [ens32] | |
cat pillar/development/top.sls | |
development: | |
'*': | |
- users | |
- mine | |
'htmlserver': | |
- apache_html | |
'html-prod*': | |
- html_prod | |
'nginxproxy': | |
- nginx_proxy | |
'nginx-prod*': | |
- nginx_prod | |
'python-app*': | |
- python_app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment