Files @ 325b9d16a72b
Branch filter:

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

branko
MAR-151: Added support for Debian 10 Buster to common role:

- Updated tests.
- Updated role reference documentation.
- Updated role metadata information.
- Refactored IP plan for the test machines for better separation
between different types of machines and versions.
- Parametrised tests for limited connectivity using the maintenance
mode.
- Don't use MariaDB compat package in tests - name differs between
Debian 9 and Debian 10, and relevant parameter is already getting
tested properly using the remaining packages.
---

dependency: {}

driver:
  name: vagrant
  provider:
    name: virtualbox

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

platforms:
  - name: helper
    box: debian/contrib-stretch64
    memory: 512
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.2
        network_name: private_network
        type: static

  - name: client1-stretch64
    groups:
      - client
      - client-allowed
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.3
        network_name: private_network
        type: static

  - name: client2-stretch64
    groups:
      - client
      - client-disallowed
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.4
        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.11
        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.12
        network_name: private_network
        type: static

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

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

provisioner:
  name: ansible
  playbooks:
    cleanup: cleanup.yml
  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