--- molecule: # directory in CWD to place all temp files, etc. molecule_dir: .molecule # where temporary state will be stored (lives under molecule_dir) state_file: state # name of temporary vagrantfile created during runs (lives under molecule_dir) vagrantfile_file: vagrantfile # directories to ignore when doing trailing whitespace checks on files during verify command ignore_paths: - .git - .vagrant - .molecule # directory to look for testinfra tests testinfra_dir: tests # directory containing group_vars to use with ansible group_vars: ../tests/group_vars # ansible related configuration ansible: playbook: tests/playbook.yml # configuration options for the internal call to vagrant vagrant: raw_config_args: - "landrush.enabled = true" - "landrush.tld = 'vm'" - "landrush.guest_redirect_dns = false" # molecule's --platform option will look for these names platforms: - name: Debian9 box: debian/stretch64 - name: Debian8 box: debian/jessie64 - name: Ubuntu box: ubuntu/xenial64 providers: - name: virtualbox type: virtualbox options: memory: 512 cpus: 1 instances: - name: openjdk.vm ansible_groups: - openjdk interfaces: - network_name: private_network type: dhcp auto_config: true - name: oraclejdk.vm ansible_groups: - oraclejdk interfaces: - network_name: private_network type: dhcp auto_config: true docker: containers: - name: openjdk ansible_groups: - openjdk dockerfile: tests/Dockerfile image: debian9-testinfra image_version: latest privileged: True cap_add: - SYS_ADMIN volume_mounts: - '/sys/fs/cgroup:/sys/fs/cgroup:ro' command: '/lib/systemd/systemd' - name: oraclejdk ansible_groups: - oraclejdk dockerfile: tests/Dockerfile image: debian9-testinfra image_version: latest privileged: True cap_add: - SYS_ADMIN volume_mounts: - '/sys/fs/cgroup:/sys/fs/cgroup:ro' command: '/lib/systemd/systemd' verifier: name: testinfra options: connection: ansible ansible-inventory: .molecule/ansible_inventory