Files @ 814be5def61d
Branch filter:

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

branko
MAR-189: Added support for Debian 11 Bullseye to xmpp_server role:

- Roll-out LDAP client configuration since Bullseye does not come with
a stock one at /etc/ldap/ldap.conf that sets the trust anchor
correctly for validating LDAP server certificates.
- Drop the backports pinning in case of Bullseye (for now let's try to
keep the Buster and Bullseye at same versions for simplicity).
- Drop installation of Python apt bindings (no longer used).
- Tests for Buster and Bullseye need to be split-up a bit due to some
differences around backports etc.
---

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-buster64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 192.168.56.10
        network_name: private_network
        type: static

  - name: client1
    groups:
      - clients
      - helper
    box: debian/contrib-buster64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 192.168.56.11
        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: 192.168.56.20
        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: 192.168.56.21
        network_name: private_network
        type: static

  - name: parameters-no-incoming-buster64
    groups:
      - parameters-no-incoming
    box: debian/contrib-buster64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 192.168.56.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