summaryrefslogtreecommitdiff
path: root/roles/uwsgi/app/tasks/main.yml
blob: 69bea0a23ea0f314c1a999595d5ccffa9a86eebf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: install app config
  copy:
    content: "{{ uwsgi_app.content }}"
    dest: "/etc/uwsgi/apps-available/{{ uwsgi_app.name }}.ini"
  notify: reload uwsgi

- name: enable app config
  file:
    src: "../apps-available/{{ uwsgi_app.name }}.ini"
    dest: "/etc/uwsgi/apps-enabled/{{ uwsgi_app.name }}.ini"
    state: link
  notify: reload uwsgi