Skip to content

Releases: linux-system-roles/timesync

bump tox-lsr version to 2.11.0; remove py37; add py310

16 May 18:37
Compare
Choose a tag to compare

[citest skip] bump tox-lsr version to 2.11.0; remove py37; add py310

tox-lsr version 2.11.0 has support for collection-requirements.yml,
runqemu improvements, and support for python 3.10

python 3.7 is not used on any supported platform, so remove it

Signed-off-by: Rich Megginson [email protected]

support gather_facts: false; support setup-snapshot.yml (#52)

25 Apr 20:04
Compare
Choose a tag to compare

support gather_facts: false; support setup-snapshot.yml (#52)

Some users use gather_facts: false in their playbooks. This changes
the role to work in that case, by gathering only the facts it requires
to run.
CI testing can be sped up by creating a snapshot image pre-installed
with packages. tests/setup-snapshot.yml can be used by a CI system
to do this.

Use tests/setup-snapshot.yml just to put the packages in the local
cache. These packages may be or may not be installed.

handle errors with stopping services

28 Feb 18:57
Compare
Choose a tag to compare

handle errors with stopping services

https://bugzilla.redhat.com/show_bug.cgi?id=2058645
Not sure if it is a problem with rhel9 systemctl list-units, or a problem
with ansible-core 2.12 parsing that output, but service_facts reports
that ptp4l is a valid service, and the service module reports an error
trying to use state: stopped. For example, here is the corresponding
systemctl status ptp4l when service_facts reports a valid service:
Failed to get properties: Access denied
Here is the systemctl list-units output

  ptp4l.service                          loaded    inactive dead    Precision Time Protocol (PTP) service

Here is the service_fact:

    "ptp4l.service": {
        "name": "ptp4l.service",
        "source": "systemd",
        "state": "stopped",
        "status": "inactive"
    },

The fix is to check the result of the state: stopped task. If it is
a failure, but the MSG is Could not find the requested service NAME,
then ignore the failure.

Support for Debian

17 Jan 21:43
Compare
Choose a tag to compare

Initial version for Debian

Fix typos..

fix another typo

fix another typo

remove recursive role symlink in tests/roles; fix service_facts issue

11 Jan 13:29
Compare
Choose a tag to compare

change recursive role symlink to individual role dir symlinks

Signed-off-by: Rich Megginson [email protected]

bump tox-lsr version to 2.8.3

Signed-off-by: Rich Megginson [email protected]

Fix an issue if a service is listed by service_facts that does not have the 'status' property defined

This is probably a bit cleaner

Processed feedback

Support ansible-core 2.12; workaround service_facts issues

03 Dec 01:00
Compare
Choose a tag to compare

evaluate is_ntp_default as boolean, not string

I guess earlier versions of Ansible would evaluate this string as
a jinja2 expression when evauluated in a when or other conditional
context, but in Ansible 2.12, it gets evaluated as a string. Ensure
that the evaluation into a boolean happens at variable assignment
time.

reject services which have a status == not-found

also reject masked and failed services

update tox-lsr version to 2.8.0

New version adds check for proper commenting of the ansible_managed var

Signed-off-by: Sergei Petrosian [email protected]

Run the new tox test

Signed-off-by: Sergei Petrosian [email protected]

test with Ansible 2.12; check port state in PTP tests

08 Nov 20:25
Compare
Choose a tag to compare

make role work with ansible-core-2.11 ansible-lint and ansible-test

support python 39, ansible-core 2.12, ansible-plugin-scan

update tox-lsr version to 2.7.1

update the tox-lsr version used in github actions tox CI
to 2.7.1

The only difference between this an 2.7.0 is that Ansible 2.12
is now GA.

Signed-off-by: Rich Megginson [email protected]

Check port state in PTP tests

Role now supports ansible-core; use ansible_managed | comment to fix multi-line ansible_managed

27 Sep 17:33
Compare
Choose a tag to compare

use tox-lsr version 2.5.1 (#120)

This version removes support for molecule until we can figure out
what to do about molecule. This should make all of the tox tests
pass (except for python 2.6).

Signed-off-by: Rich Megginson [email protected]

use apt-get install -y (#121)

Signed-off-by: Rich Megginson [email protected]

replace json_query with selectattr/map

Use {{ ansible_managed | comment }} to fix multi-line ansible_managed

Fixes #123

BZ#2006230, BZ#2006231, BZ#2006233

Drop support for ansible 2.8

12 Aug 16:17
Compare
Choose a tag to compare

Raise supported Ansible version to 2.9

min_ansible_version is now 2.9
Bug 1989197 - drop support for Ansible 2.8
https://bugzilla.redhat.com/show_bug.cgi?id=1989197

Add NTS support; fix iburst value checking; add prefer and trust

04 Jun 16:51
7803bef
Compare
Choose a tag to compare

Add NTS support (#83)

  • Fix templates to check iburst value
    Fixes #70.
  • Add prefer and trust options
    Fixes #61.
  • Add NTS support