Files @ 8902cd5aa66b
Branch filter:

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

branko
MAR-218: Improve mail server role test reliability:

- Introduce sleep after sending out mails in order to ensure that
Postfix has had enough time to process the messages.
- Relevant only for tests that take care of parsing the mail log.
- Solves the false negatives caused by timing issues.
- It might be a good idea down the line to implement some kind of
retry/backoff mechanism instead.
---

dependency:
  name: galaxy
  enabled: false

driver:
  name: vagrant
  provider:
    name: virtualbox

platforms:

  - name: parameters-mandatory-bookworm
    groups:
      - parameters-mandatory
    box: debian/bookworm64
    memory: 384
    cpus: 1
    provider_raw_config_args:
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
    interfaces:
      - auto_config: true
        ip: 192.168.56.31
        network_name: private_network
        type: static

  - name: parameters-optional-bookworm
    groups:
      - parameters-optional
    box: debian/bookworm64
    memory: 384
    cpus: 1
    provider_raw_config_args:
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
    interfaces:
      - auto_config: true
        ip: 192.168.56.32
        network_name: private_network
        type: static

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

scenario:
  name: default

verifier:
  name: testinfra