Files @ c8d4251a6ea5
Branch filter:

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

branko
MAR-131: Added support for specifying Python version in wsgi_website role:

- Introduced additional role parameter for specifying the Python
version.
- Updated tests to verify new functionality.
- Fixed existing tests to account for differences between Python 2 and
Python 3 - including changes to WSGI test applications.
- Updated documentation, documenting new parameter and fixing one
minor typo.
- Updated release notes.
- Bumped default version of Gunicorn/futures used.
---

dependencies:
  - role: wsgi_website
    fqdn: wsgireq.{{ testsite_domain }}
    admin_uid: 3002
    uid: 2002
    wsgi_application: wsgi:application
    static_locations:
      - /static/
    https_tls_key: "{{ lookup('file', inventory_dir + '/tls/wsgireq.' + testsite_domain + '_https.key') }}"
    https_tls_certificate: "{{ lookup('file', inventory_dir + '/tls/wsgireq.' + testsite_domain + '_https.pem') }}"
    environment_variables:
      WEBSITE_NAME: "Majic Ansible Roles Test Site"
    wsgi_requirements:
      - futures==3.1.1
      - gunicorn==19.6.0
  - role: database
    db_name: wsgi_{{ testsite_domain_underscores }}
    db_password: wsgi_{{ testsite_domain_underscores }}