Files @ 01f4b619cfa6
Branch filter:

Location: majic-ansible-roles/testsite/playbooks/roles/phpinfo/meta/main.yml

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.
---

dependencies:
  - role: php_website
    fqdn: phpinfo.{{ testsite_domain }}
    php_rewrite_urls:
      - ^(.*) /index.php
    admin_uid: 3000
    uid: 2000
    enforce_https: False
    https_tls_key: "{{ lookup('file', inventory_dir + '/tls/phpinfo.' + testsite_domain + '_https.key') }}"
    https_tls_certificate: "{{ lookup('file', inventory_dir + '/tls/phpinfo.' + testsite_domain + '_https.pem') }}"
    additional_fpm_config:
      "env[PATH]": "\"/usr/local/bin:/usr/bin:/bin\""
  - role: database
    db_name: phpinfo_{{ testsite_domain_underscores }}
    db_password: phpinfo_{{ testsite_domain_underscores }}