Files @ c6e7675e63f9
Branch filter:

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

branko
MAR-23: Implemented initial scaffolding for testing database role:

- Added Molecule configuration.
- Implemented basic playbook for setting-up the two instances used for testing
mandatory parameters and backups.
- Added data necessary for setting-up all roles.
- Updated database_serve role Molecule configuration not to depends on the
Ansible Galaxy.
---

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