Files @ 1b6495e2ba42
Branch filter:

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

branko
MAR-29: Added scaffolding for testing the php_website role:

- Added molecule configuration with a single instance.
- Added playbook that sets-up the test instances.
- Fixed issues related to incorrect mode syntax when deploying files (missing
leading zero).
- Added test data.
- Added dummy tests.
---

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