Files @ 19020779a000
Branch filter:

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

branko
MAR-108: Implemented initial boilerplate for backup_client tests:

- Fixed backup_client role handling of encryption keys.
- Fixed backup server URI (had too many forward slashes).
- Added Molecule instance configuration file for backup server, one backup
client for testing mandatory parameters, and one backup client for testing
optional parameters.
- Implemented playbook for setting-up the test instances.
- Added test data (SSH, GnuPG keys).
- Added dummy (stock) Molecule test file.
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