diff --git a/section_2/cis_2.3/cis_2.3.2.1.yml b/section_2/cis_2.3/cis_2.3.2.1.yml index 5b3cdae..158ceca 100644 --- a/section_2/cis_2.3/cis_2.3.2.1.yml +++ b/section_2/cis_2.3/cis_2.3.2.1.yml @@ -9,7 +9,7 @@ file: path: /etc/systemd/timesyncd.conf.d/50-timesyncd.conf exists: true contents: - - '/^NTP={{ .Vars.ubtu24cis_time_pool_name }}/' + - '/^NTP={{- range .Vars.ubtu24cis_time_pool }}{{ .name }}i{{ end }}/' - '/^FallbackNTP={{- range .Vars.ubtu24cis_time_servers }}{{ .name }} {{ end }}/' meta: server: 1