Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to properly handle multiple server definitions #9

Open
vidkun opened this issue Sep 21, 2018 · 0 comments
Open

fails to properly handle multiple server definitions #9

vidkun opened this issue Sep 21, 2018 · 0 comments

Comments

@vidkun
Copy link

vidkun commented Sep 21, 2018

When configuring this role to use multiple time servers, it results in an incorrect server definition in the config file with an array defined. This causes chronyd to fail to start.
Providing the following vars:

chrony_server:
  - ntp-1.example.com prefer iburst
  - ntp-2.example.com prefer iburst

Results in the following line dropping into chrony.conf:

server [u'ntp-1.example.com prefer iburst', u'ntp-2.example.com prefer iburst']

It should instead result in:

server ntp-1.example.com prefer iburst
server ntp-2.example.com prefer iburst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant