Saltstack Official Linux Formula
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {%- from "linux/map.jinja" import network with context %}
- {%- if network.enabled %}
-
- {%- for name, host in network.host.iteritems() %}
-
- {%- if host.names is defined %}
-
- linux_host_{{ name }}:
- host.present:
- - ip: {{ host.address }}
- - names: {{ host.names }}
-
- {%- endif %}
-
- {%- endfor %}
-
- {%- endif %}
|