Files @ 01f4b619cfa6
Branch filter:

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

branko
MAR-27: Update mail_forwarder role/tests:

- Install swaks on mail-server instance for testing SMTP.
- Install procmail via mail_forwarder role (needed to be explicit for Debian
Stretch).
- Introduce small sleep when mails are sent to localhost for delivery to remote
hosts before checking the logs in order to allow Postfix to process the
queue.
---

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