Files @ 14eb78a4f466
Branch filter:

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

branko
MAR-129: Updated php_website role for Ansible 2.5.x and new Molecule:

- Include global linting configuration file in tests.
- Fixed linting issues.
- Fix deprecation warnings from Ansible (for apt module and
state=installed).
- Updated how the hosts are being referenced within tests.
---

dependency: {}

driver:
  name: vagrant
  provider:
    name: virtualbox

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

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

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

  - name: parameters-optional-jessie64
    groups:
      - parameters-optional
    box: debian/contrib-jessie64
    memory: 256
    cpus: 1
    interfaces:
      - auto_config: true
        ip: 10.31.127.4
        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
  config_options:
    ssh_connection:
      pipelining: "True"
  lint:
    name: ansible-lint

scenario:
  name: default

verifier:
  name: testinfra
  lint:
    name: flake8