Files @ 9f804c9501da
Branch filter:

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

branko
MAR-39: Added support for specifying consumers of LDAP structure to the LDAP server role. Added support to the LDAP server role for specifying groups to create. Modified the ldap_entry implementation, replacing the addattributes/replaceattributes with append/replace states. The new states allow for creation of entry if it does not exist, making them more versatille. The existing classes and configurations have been updated accordingly.
---

- name: Create directroy for storing code
  file: dest="/var/www/wsgi.{{ testsite_domain }}/code/" state=directory
        owner="admin" group="web-wsgi_{{ testsite_domain_underscores }}" mode=2750

- name: Deploy WSGI application
  copy: src="hello.wsgi" dest="/var/www/wsgi.{{ testsite_domain }}/code/wsgi.py"
        owner="admin" group="web-wsgi_{{ testsite_domain_underscores }}" mode=640
  notify:
    - Restart website wsgi.{{ testsite_domain }}