Skip to content

Commit

Permalink
Merge pull request #162 from Jason-Hendry/fix/timesyncd-conf
Browse files Browse the repository at this point in the history
fix: #161 NTP should be a space-separated list of NTP server host nam…
  • Loading branch information
uk-bolly authored Nov 9, 2023
2 parents ad55112 + 7fe1318 commit 504b7f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/etc/systemd/timesyncd.conf.d/50-timesyncd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# Added as part of ansible-lockdown CIS baseline
# provided by MindPointGroup LLC

NTP={{ ubtu22cis_time_pool }}
[Time]
NTP={% for pool in ubtu22cis_time_pool %}{{ pool.name }} {% endfor %}


FallbackNTP={% for servers in ubtu22cis_time_servers %}{{ servers.name }} {% endfor %}

0 comments on commit 504b7f1

Please sign in to comment.