Skip to content

fails to properly handle multiple server definitions #9

@vidkun

Description

@vidkun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions