Files @ b1caa3b3c7ad
Branch filter:

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

branko
MAR-150: Refactor the common role tests fixture handling:

- Use the cleanup playbook for removing the X.509 generated
keys/certificates.
- Drop the fixture.yml playbook, and include it inside of prepare
playbook (reduce unnecessary nesting).
---

dependency: {}

driver:
  name: vagrant
  provider:
    name: virtualbox

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

platforms:
  - name: helper
    box: debian/contrib-stretch64
    memory: 512
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.2
        network_name: private_network
        type: static

  - name: parameters-mandatory-stretch64
    groups:
      - parameters-mandatory
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.5
        network_name: private_network
        type: static

  - name: parameters-optional-stretch64
    groups:
      - parameters-optional
    box: debian/contrib-stretch64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.6
        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