Files @ 9ca9c3ada58a
Branch filter:

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

branko
MAR-181: Use Debian-provided Prosody package for testing optional parameter:

- Still properly tests the role, while at the same time making it
possible to use custom apt repository for Debian Buster (due to
Prosody project dropping all repository archives for it).
---

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

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

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