diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-09-15 01:56:10 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-09-15 02:01:34 +0200 |
commit | b4e72043367ba7f951e7dd4a35db1d1362f73b56 (patch) | |
tree | 180c4ffd284572301dcc27ce5902261632662c00 /inventory/group_vars/accesspoints/vars.yml | |
parent | accesspoints/80211r: simplify setup since hostapd supports locally generated ... (diff) |
chaos-at-home-ap: enable ntp
Diffstat (limited to 'inventory/group_vars/accesspoints/vars.yml')
-rw-r--r-- | inventory/group_vars/accesspoints/vars.yml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/inventory/group_vars/accesspoints/vars.yml b/inventory/group_vars/accesspoints/vars.yml index 3d9a8be2..f234beb3 100644 --- a/inventory/group_vars/accesspoints/vars.yml +++ b/inventory/group_vars/accesspoints/vars.yml @@ -301,13 +301,9 @@ openwrt_uci: - name: timeserver 'ntp' options: - enabled: '0' + enabled: '{{ accesspoint_ntp_servers is defined | ternary("1", "0") }}' enable_server: '0' - server: - - '0.lede.pool.ntp.org' - - '1.lede.pool.ntp.org' - - '2.lede.pool.ntp.org' - - '3.lede.pool.ntp.org' + server: "{{ accesspoint_ntp_servers | default([]) }}" - name: led options: |