Files @ fc2c40c98e0c
Branch filter:

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

branko
MAR-189: Refactored web_server tests to be less hostname-dependent:

- Use the inventory name (alongisde distribution version) in places
where it's possible and makes sense to do so.
- Rearrange the IP allocation a bit to make more sense.
- Drop architecture information from the hostnames.
- Make the connectivity test operate over a matrix of input
parameters.
- Replace singular use of wget for testing with curl.
---

dependency: {}

driver:
  name: vagrant
  provider:
    name: virtualbox

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

platforms:

  - name: client
    box: debian/contrib-buster64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 192.168.56.11
        network_name: private_network
        type: static

  - name: parameters-mandatory-buster
    groups:
      - parameters-mandatory
      - buster
    box: debian/contrib-buster64
    memory: 512
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 192.168.56.21
        network_name: private_network
        type: static

  - name: parameters-optional-buster
    groups:
      - parameters-optional
      - buster
    box: debian/contrib-buster64
    memory: 512
    cpus: 1
    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