Files @ 5eb7821a1e4d
Branch filter:

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

branko
MAR-218: Switch to using ldap_attrs module:

- Update invocations and syntax.
- Drop the workaround for configuring TLS on the LDAP server (should
be possible to set all relevant attributes at the same time at this
point).
- Group some invocations where it makes sense.
---

dependency:
  name: galaxy
  enabled: false

driver:
  name: vagrant
  provider:
    name: virtualbox

platforms:
  - name: helper
    box: debian/bookworm64
    memory: 512
    cpus: 1
    provider_raw_config_args:
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
    interfaces:
      - auto_config: true
        ip: 192.168.56.2
        network_name: private_network
        type: static
      - auto_config: true
        ip: fd00::192:168:56:2
        network_name: private_network
        netmask: 116
        type: static

  - name: client1
    groups:
      - client
      - client-allowed
    box: debian/bookworm64
    memory: 256
    cpus: 1
    provider_raw_config_args:
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
    interfaces:
      - auto_config: true
        ip: 192.168.56.3
        network_name: private_network
        type: static
      - auto_config: true
        ip: fd00::192:168:56:3
        network_name: private_network
        netmask: 116
        type: static

  - name: client2
    groups:
      - client
      - client-disallowed
    box: debian/bookworm64
    memory: 256
    cpus: 1
    provider_raw_config_args:
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
    interfaces:
      - auto_config: true
        ip: 192.168.56.4
        network_name: private_network
        type: static
      - auto_config: true
        ip: fd00::192:168:56:4
        network_name: private_network
        netmask: 116
        type: static

  - 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.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
    box: debian/bookworm64
    memory: 384
    cpus: 1
    provider_raw_config_args:
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
    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"
    ssh_connection:
      pipelining: "True"

scenario:
  name: default

verifier:
  name: testinfra