Files @ 2d15529786b7
Branch filter:

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

branko
MAR-218: Fix linting errors related to commands doing unconditional changes:

- Tasks run during the prepare stage of test runs do not matter.
- Some of the role tasks are already effectively running only when
change _will_ happen (when it is detected via variable registered by
a previous task).
---

dependency:
  name: galaxy
  enabled: false

driver:
  name: vagrant
  provider:
    name: virtualbox

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-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"

scenario:
  name: default

verifier:
  name: testinfra