Skip to content
Snippets Groups Projects
Commit 75795c53 authored by nimrod's avatar nimrod
Browse files

- More correct assertions.

- Can't run systemd-timesyncd in a container, for now removing from
testing using Docker.
parent 8819a053
No related branches found
No related tags found
No related merge requests found
......@@ -32,17 +32,6 @@ vagrant:
docker:
containers:
- name: ntp-client-jessie
image: debian
image_version: jessie
command: /sbin/init
privileged: True
volume_mounts:
- /sys/fs/cgroup:/sys/fs/cgroup
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
environment:
DEBIAN_FRONTEND: noninteractive
container: docker
- name: ntp-client-trusty
image: ubuntu-upstart
image_version: trusty
......
......@@ -3,7 +3,10 @@
- name: Assertions
assert:
that: ansible_os_family in [ 'Debian', 'OpenBSD' ]
that:
- ansible_os_family in ntpd_conf
- ansible_os_family in ntp_pool
- ansible_os_family in ntpd_service
- name: apt install
when: ansible_pkg_mgr == 'apt' and not ansible_service_mgr == 'systemd'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment