Skip to content
molecule.yml 956 B
Newer Older
nimrod's avatar
nimrod committed
---
ansible:
nimrod's avatar
nimrod committed
  playbook: tests/playbook.yml
  diff: True
  config_file: ../ansible.cfg
dependency:
  requirements_file: tests/requirements.yml
nimrod's avatar
nimrod committed

vagrant:
  providers:
  - name: virtualbox
    type: virtualbox
nimrod's avatar
nimrod committed
  platforms:
  - name: openbsd
    box: kaorimatz/openbsd-6.0-amd64
  - name: xenial
    box: ubuntu/xenial64
nimrod's avatar
nimrod committed
  instances:
  - name: example
nimrod's avatar
nimrod committed
    options:
        append_platform_to_hostname: yes
  raw_config_args:
  - 'vm.synced_folder ".", "/vagrant", disabled: true'
nimrod's avatar
nimrod committed
  - 'vbguest.auto_update = false'
nimrod's avatar
nimrod committed
  - 'landrush.enabled = false'
  - 'landrush_ip.override = false'

docker:
  containers:
  - name: example-xenial
    image: ubuntu
    image_version: xenial
    command: /sbin/init
    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