Files @ 796d87f58565
Branch filter:

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

branko
MAR-218: Fix the custom m_ldap_permissions module to work correctly with ansible-lint:

- In order for things to behave correctly, module should not invoke
the main part of code automatically during import, but only if run
via CLI.
- Without this the ansible-lint kept erroring out with:

"missing required arguments: filter, rules"
---

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