Files @ a718023f9e76
Branch filter:

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

branko
MAR-181: Drop support for Debian 9 Stretch from the backup_client role:

- Provide more details on use of pexpect+sftp backed for
Duplicity (backend has to be used on Debian 10 Buster as well, not
just Debian 9 Stretch).
- Switch to using IPs from VirtualBox default allowed host-only
network subnets.
---

dependency: {}

driver:
  name: vagrant
  provider:
    name: virtualbox

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

platforms:

  - name: ldap-server
    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-stretch
    groups:
      - client
      - client-relay-allowed
      - stretch
      - smtp-server-requiring-tls
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.22
        network_name: private_network
        type: static

  - name: client2-stretch
    groups:
      - client
      - client-relay-forbidden
      - stretch
      - smtp-server-refusing-tls
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.23
        network_name: private_network
        type: static

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

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

  - name: client1-buster
    groups:
      - client
      - client-relay-allowed
      - buster
      - smtp-server-requiring-tls
    box: debian/contrib-buster64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.20
        network_name: private_network
        type: static

  - name: client2-buster
    groups:
      - client
      - client-relay-forbidden
      - buster
      - smtp-server-refusing-tls
    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-mandatory-buster64
    groups:
      - parameters-mandatory
      - buster
    box: debian/contrib-buster64
    memory: 1536
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.30
        network_name: private_network
        type: static

  - name: parameters-optional-buster64
    groups:
      - parameters-optional
      - buster
    box: debian/contrib-buster64
    memory: 1536
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.31
        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