Files @ 5c5d8636f699
Branch filter:

Location: majic-ansible-roles/roles/web_server/handlers/main.yml

branko
MAR-132: Added support for Debian 9 (Stretch) to mail_server role:

- Updated Molecule configuration to include set-up of additional
instances for testing.
- Updated configuration for test instances.
- Use separate clients in testing of Jessie/Stretch instances.
- Duplicate private keys/certificates for testing of mandatory
parameters on Debian 9.
- Refactored testing of mail deliveries (via swaks) to use
test-generated message ID - improves reliability and solves some
incompatibilities between swaks version in Jessie and Stretch.
- Updated tests for TLS testing to take into account newer OpenSSL
error/output messages. A bit of an ugly hack at the moment, but
beats duplicating tests for now.
---

- name: Restart nginx
  service:
    name: nginx
    state: restarted

- name: Restart php5-fpm
  service:
    name: php5-fpm
    state: restarted