Files @ b68d19ad38a3
Branch filter:

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

branko
MAR-33: Added initial scaffolding for wsgi_website tests:

- Added Molecule configuration file.
- Implemented test playbook that sets-up three separate instances of WSGI
website in order to test all variations of parameters.
- Added name for the set_fact task.
- Fixed linting errors related to mode that lacks leading zero.
- Added skip_ansible_lint tag for command that creates the Python virtual
environment.
- Added missing become keyword wherever become_user is specified.
- Fixed invalid parameter name for specifying if HTTPS should be enforced or
not.
- Added small initial sample WSGI apps that get deployed.
- Added static/media sample files.
- Added TLS material.
- Added initial dummy test file.
---

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