Skip to content

Instantly share code, notes, and snippets.

@whytewolf
Created December 7, 2016 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whytewolf/59269fd5eabe2c586a4abb6162fde945 to your computer and use it in GitHub Desktop.
Save whytewolf/59269fd5eabe2c586a4abb6162fde945 to your computer and use it in GitHub Desktop.
{% for host,ip in salt.mine.get('roles:ntp.master','mgmt_network','pillar').items() -%}
server {{ip|first}} iburst
{% endfor -%}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment