Files @ 998aab91d6b4
Branch filter:

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

branko
MAR-33: Implemented tests for the wsgi_website role:

- Updated test playbook to have better coverage of functionality.
- Fixed some additional permission mode issues (leading zero).
- Use expanded syntax for deploying TLS material in order to avoid mangling of
TABs.
- Implemented proper WSGI applications in order to test everything.
- Implemented tests covering mandatory parameters, optional parameters, and the
use of WSGI requirements/Paster.
---

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