Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {%- for host_name, host in pillar.get('machines', {}).get('all', []) %}
- host.present:
- - ip: {{host}}
- - names:
- - {{host_name}}
- {%- endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement