Created
May 10, 2018 08:30
-
-
Save haam3r/f14520cb67b53e65854c70d11af88cfb to your computer and use it in GitHub Desktop.
salt jinja interfaces
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 int = salt['pillar.get']('test:int') %} | |
{{ salt['grains.get']('ip4_interfaces:' ~ int, grains.ip4_interfaces.ens160) | first }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment