Files @ 44d578f5e1f3
Branch filter:

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

branko
MAR-28: Minor fixes for mail_server tests:

- Take into account different extension for ClamAV database (cvd or cld) that
could happen in cases where the test VM has been running for a long time.
- Before checking Dovecot directory permissions, make sure to send out at least
two mails so the directory structure will get created.
- Fixed incorrect directory path for testing Dovecot directory permissions.
1
2
3
4
5
6
7
8
9
---

- name: Create directory for hosting the application
  file: dest="/var/www/phpinfo.{{ testsite_domain }}/htdocs/" state=directory
        owner="admin-phpinfo_{{ testsite_domain_underscores }}" group="web-phpinfo_{{ testsite_domain_underscores }}" mode=2750

- name: Deploy the index.php
  copy: src="index.php" dest="/var/www/phpinfo.{{ testsite_domain }}/htdocs/index.php"
        owner="admin-phpinfo_{{ testsite_domain_underscores }}" group="web-phpinfo_{{ testsite_domain_underscores }}" mode=640