diff --git a/molecule.yml b/molecule.yml index b65f9db46e02a1a2f3f664d5a33d2527fdcfb9e3..3b66af535f2b66c90c7b5d27c5d8f33b3055373c 100644 --- a/molecule.yml +++ b/molecule.yml @@ -16,7 +16,7 @@ vagrant: platforms: - name: openbsd box: kaorimatz/openbsd-6.0-amd64 - - name: ubuntu + - name: xenial box: ubuntu/xenial64 instances: - name: example @@ -30,8 +30,15 @@ vagrant: docker: containers: - - name: example-ubuntu + - name: example-xenial image: ubuntu image_version: xenial + command: /sbin/init + cap_add: + - SYS_ADMIN + 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 diff --git a/tests/playbook.yml b/tests/playbook.yml index 96e70610e41f9000d6723c2be767189246fec2c0..740afed352870f6fce7d9fdcf81d0fac95d2f431 100644 --- a/tests/playbook.yml +++ b/tests/playbook.yml @@ -3,7 +3,7 @@ gather_facts: false roles: [adarnimrod.openbsd-bootstrap] -- hosts: example-ubuntu +- hosts: example-xenial gather_facts: false roles: [adarnimrod.debian-bootstrap]