-
-
Save whytewolf/259cd4b3406a8a6a65aa49c3b6b8debf 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
jinja input: | |
{{salt['pillar'].keys('test')}} | |
output: | |
['boo.us', 'example.com', 'test.com'] |
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
jinja input: | |
{{salt.pillar.get('test',{'test':'go'}).keys()}} | |
output: | |
['boo.us', 'example.com', 'test.com'] |
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
jinja input: | |
{{salt.pillar.get('test22',{'test':'go'}).keys()}} | |
output: | |
['test'] |
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
test: | |
example.com: voague | |
test.com: no | |
boo.us: k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment