Files @ 6f26ccefa724
Branch filter:

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

branko
MAR-151: Added support for Debian 10 Buster to php_website role:

- Updated role reference documentaiton.
- Updated role meta information.
- Updated tests.
- Refactor the code to take into account differences in PHP-related
paths between Debian Stretch and Debian Buster.
- Make the test for web application user less dependant on what the
actual UID number is in case of default value. By default user
should be created as system user, which means its UID number should
be less than 1000.
- Drop the installation of libmariadbclient-dev-compat library - the
test is good enough without it, and the actual package is
differently named under Debian Stretch and Debian Buster (which
would complicate the test without any benefits).
---

dependency: {}

driver:
  name: vagrant
  provider:
    name: virtualbox

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

platforms:

  - name: php-website-stretch64
    groups:
      - parameters-mandatory
      - parameters-optional
      - stretch
    box: debian/contrib-stretch64
    memory: 512
    cpus: 1

  - name: php-website-buster64
    groups:
      - parameters-mandatory
      - parameters-optional
      - buster
    box: debian/contrib-buster64
    memory: 512
    cpus: 1

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