--- # See https://github.com/ContinuousSecurityTooling/ansible-role-secure-docker/blob/master/molecule/default/molecule.yml # See https://gitlab.com/richardskumat/ansible-role-client-debian-role/-/blob/master/molecule/default/molecule.yml dependency: name: galaxy driver: name: docker lint: | set -e yamllint -c molecule/default/yaml-lint.yml . ansible-lint -c molecule/default/ansible-lint.yml platforms: - name: instance image: "${MOLECULE_DISTRO:-qwe1/docker-debian:10-nonfree}" command: ${MOLECULE_DOCKER_COMMAND:-""} # capabilities: # - SYS_ADMIN # Needed to change hostname via playbook # see https://github.com/ansible/ansible/issues/19681#issuecomment-450425779 # - AUDIT_CONTROL # - AUDIT_READ volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro privileged: true pre_build_image: true # groups: # - testgroup provisioner: name: ansible log: true config_options: defaults: local_tmp: /tmp/.ansible-$USER/tmp remote_tmp: /tmp/.ansible-$USER/tmp connection_options: ansible_user: root inventory: links: group_vars: ../../../../inventories/production/group_vars/ host_vars: ../../../../inventories/production/host_vars/ playbooks: converge: playbook.yml options: vvv: true scenario: name: default