ntpd: Initial version of role
This commit is contained in:
parent
e1edd338aa
commit
554e3f9701
4 changed files with 35 additions and 0 deletions
11
roles/ntpd/templates/ntpd.conf.j2
Normal file
11
roles/ntpd/templates/ntpd.conf.j2
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% if ntpd_listen is defined %}
|
||||
# listen to network
|
||||
{% for listen in ntpd_listen %}
|
||||
listen on {{ listen }}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
# remote servers
|
||||
{% for server in ntpd_servers %}
|
||||
server {{ server }}
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue