summaryrefslogtreecommitdiffstats
path: root/ansible/roles/chrony
AgeCommit message (Collapse)AuthorFilesLines
2019-06-24Merge "Add tests for custom ntp authority mode in 'chrony' role"Samuli Silvius3-0/+109
2019-06-12Add verification tests for 'chrony' roleBartek Grzybowski2-0/+45
Testinfra tests are added for Molecule verifier. Change-Id: Id044cdc5535af97ce3ac48da034a9a6a1ca8cbd3 Issue-ID: OOM-1810 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-12Add tests for custom ntp authority mode in 'chrony' roleBartek Grzybowski3-0/+109
By default 'infra' node is set up as a time authority for nodes. This patch adds tests for alternative supported scenario where external time authority service is given. Change-Id: I114418e79fa90b3af1c62a148ca91af3acf2bb2b Issue-ID: OOM-1810 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-10Setup 'cluster_ip' fact for infra host in 'chrony' role testsBartek Grzybowski1-0/+4
This patch sets up a missing 'cluster_ip' fact for infrastructure host without which 'server' directive was set up improperly in chrony.conf on 'node' host. Change-Id: I3d98788b7eb54bf984d165a50072f51fd85c08fb Issue-ID: OOM-1810 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-16Molecule tests for chrony roleBartek Grzybowski6-4/+108
Change-Id: I2cfee4ef44b1aa0ddff0b5d93712390988846c90 Issue-ID: OOM-1710 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-04-02Support time synchronization on hostsBartek Grzybowski4-0/+69
This change introduces functionality to synchronize infra/kube nodes' clock with external NTP authority. Configuring external time source is optional, however default behaviour will be to setup NTP time source on infra-node and sync kube-nodes clock with it. It's also possible to setup custom time zone. Change-Id: I725ce9a306da1977628b6c03d5ff10fca77fb3b0 Issue-ID: OOM-1710 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>