Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% if salt['network.interfaces']()['br-eth1']['inet'][0]['address'] is not defined %}
- my_ip: {{ salt['network.interfaces']()['eth1']['inet'][0]['address'] }}
- {% else %}
- my_ip: {{ salt['network.interfaces']()['br-eth1']['inet'][0]['address'] }}
- {% endif %}
- local:
- Data failed to compile:
- ----------
- Rendering SLS 'cloud:nova' failed: Jinja variable 'dict object' has no attribute 'br-eth1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement