Files @ ab20d5b216c4
Branch filter:

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

branko
MAR-192: Added support for Debian 12 Bookworm to web_server role:

- Some tweaks had to be done to test the TLS, but it would be useful
to revisit the TLS configuration in general in the future, and to
modernise it for TLSv1.2 and TLSv1.3, especially once the supports
for Debian 11 Bullseye is dropped.
---

dependency: {}

driver:
  name: vagrant
  provider:
    name: virtualbox

lint:
  name: yamllint
  options:
    config-file: ../../.yamllint.yml

platforms:

  - name: client
    box: debian/bookworm64
    memory: 256
    cpus: 1
    provider_raw_config_args:
      - "customize ['modifyvm', :id, '--paravirtprovider', 'minimal']"
    interfaces:
      - auto_config: true
        ip: 192.168.56.11
        network_name: private_network
        type: static

  - name: parameters-mandatory-bullseye
    groups:
      - parameters-mandatory
      - bullseye
    box: debian/bullseye64
    memory: 512
    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-bullseye
    groups:
      - parameters-optional
      - bullseye
    box: debian/bullseye64
    memory: 512
    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

  - name: parameters-mandatory-bookworm
    groups:
      - parameters-mandatory
      - bookworm
    box: debian/bookworm64
    memory: 512
    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

  - name: parameters-optional-bookworm
    groups:
      - parameters-optional
      - bookworm
    box: debian/bookworm64
    memory: 512
    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

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