Files @ 1e88ff36efbd
Branch filter:

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

branko
MAR-243: Drop inventory_hostname use from tests where possible:

- Primarily focused on Ansible playbooks and variable files.
- The variable is still used within some Python test fixtures. Test
behaviour should still be correct, with one advantage being that
lookups should be much faster than using the setup module (which
would require running Ansible code on each remote/test machine).
---

dependency:
  name: galaxy
  enabled: false

driver:
  name: vagrant
  provider:
    name: virtualbox

platforms:

  - name: client
    box: debian/bookworm64
    memory: 512
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 192.168.56.11
        network_name: private_network
        type: static
      - auto_config: true
        ip: fd00::192:168:56:11
        network_name: private_network
        netmask: 116
        type: static

  - name: parameters-mandatory-bookworm
    groups:
      - parameters-mandatory
    box: debian/bookworm64
    memory: 384
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 192.168.56.21
        network_name: private_network
        type: static
      - auto_config: true
        ip: fd00::192:168:56:21
        network_name: private_network
        netmask: 116
        type: static

  - name: parameters-optional-bookworm
    groups:
      - parameters-optional
      - backup-server
    box: debian/bookworm64
    memory: 384
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 192.168.56.22
        network_name: private_network
        type: static
      - auto_config: true
        ip: fd00::192:168:56:22
        network_name: private_network
        netmask: 116
        type: static

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