Files @ e75d5d4fba3b
Branch filter:

Location: majic-ansible-roles/roles/mail_forwarder/molecule/default/molecule.yml

branko
MAR-149: Switch Molecule to using Python 3 interpreter in all tests on remote machines.
---

dependency: {}

driver:
  name: vagrant
  provider:
    name: virtualbox

lint:
  name: yamllint
  options:
    config-file: ../../.yamllint.yml

platforms:

  - name: mail-server
    groups:
      - mail-servers
      - helper
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.10
        network_name: private_network
        type: static

  - name: client1
    groups:
      - clients
      - helper
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.11
        network_name: private_network
        type: static

  - name: parameters-mandatory-stretch64
    groups:
      - parameters-mandatory
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.30
        network_name: private_network
        type: static

  - name: parameters-optional-stretch64
    groups:
      - parameters-optional
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.31
        network_name: private_network
        type: static

  - name: parameters-no-incoming-stretch64
    groups:
      - parameters-no-incoming
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.32
        network_name: private_network
        type: static

provisioner:
  name: ansible
  config_options:
    defaults:
      force_valid_group_names: "ignore"
      interpreter_python: "/usr/bin/python3"
    ssh_connection:
      pipelining: "True"
  lint:
    name: ansible-lint

scenario:
  name: default

verifier:
  name: testinfra
  lint:
    name: flake8