Files @ b598cf22ae50
Branch filter:

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

branko
MAR-28: Implemented backup tests for mail_server role:

- Reworked slightly how /etc/hosts is set-up to allow for multiple names to be
associated with the same IP in test playbook.
- Updated LDAP server to behave as backup server as well.
- Enabled backups on server used for testing optional parameters.
- Implemented backup tests.
- Added necessary test data for backups (keys etc).
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