diff --git a/README.md b/README.md index 5514ca8..56e4586 100644 --- a/README.md +++ b/README.md @@ -124,8 +124,8 @@ This role has been tested on these [container images](https://hub.docker.com/): This role has been tested on these Ansible versions: -- ansible~=2.7 - ansible~=2.8 +- ansible~=2.9 - git+https://github.com/ansible/ansible.git@devel The indicator '\~=' means [compatible with](https://www.python.org/dev/peps/pep-0440/#compatible-release). For example 'ansible\~=2.8' would pick the latest ansible-2.8, for example ansible-2.8.6. diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 1b7af1d..4287aa4 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -8,9 +8,15 @@ lint: driver: name: docker platforms: - - name: "${namespace:-robertdebock-}${image:-fedora}-${TOX_ENVNAME:-default}" + - name: "java-${image:-fedora}${TOX_ENVNAME}" image: "${namespace:-robertdebock}/${image:-fedora}:${tag:-latest}" - command: sh -c "while true ; do sleep 30 ; done" + command: /sbin/init + tmpfs: + - /run + - /tmp + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro + privileged: yes pre_build_image: yes provisioner: name: ansible