Files @ b68d19ad38a3
Branch filter:

Location: majic-ansible-roles/roles/mail_forwarder/molecule.yml

branko
MAR-33: Added initial scaffolding for wsgi_website tests:

- Added Molecule configuration file.
- Implemented test playbook that sets-up three separate instances of WSGI
website in order to test all variations of parameters.
- Added name for the set_fact task.
- Fixed linting errors related to mode that lacks leading zero.
- Added skip_ansible_lint tag for command that creates the Python virtual
environment.
- Added missing become keyword wherever become_user is specified.
- Fixed invalid parameter name for specifying if HTTPS should be enforced or
not.
- Added small initial sample WSGI apps that get deployed.
- Added static/media sample files.
- Added TLS material.
- Added initial dummy test file.
---

dependency: {}

driver:
  name: vagrant

vagrant:
  platforms:
    - name: debian-jessie64
      box: debian/contrib-jessie64
    - name: debian-stretch64
      box: debian/stretch64

  providers:
    - name: virtualbox
      type: virtualbox
      options:
        memory: 768
        cpus: 1

  instances:

    - name: mail-server
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.10
          auto_config: yes

    - name: client1
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.20
          auto_config: yes

    - name: parameters-mandatory
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.30
          auto_config: yes

    - name: parameters-optional
      interfaces:
        - network_name: private_network
          type: static
          ip: 10.31.127.31
          auto_config: yes

verifier:
  name: testinfra