Files @ e75d5d4fba3b
Branch filter:

Location: majic-ansible-roles/roles/backup_client/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

# NOTE: Hostnames are shortened because default values for backup
# usernames are calculated by appending hostname to the "bak-" string,
# which will easily exceed the maximum username length of 32. Yay
# stupid legacy design decisions!
platforms:
  - name: backup-server
    box: debian/contrib-stretch64
    memory: 512
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.10
        network_name: private_network
        type: static

  - name: parameters-mandatory-s64
    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-s64
    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

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