diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-12-08 20:06:25 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-12-08 20:06:25 +0100 |
commit | 785cae7ccf8c69366438a446ff121ecbb7ad5465 (patch) | |
tree | f9971024e7befb12bb2bf26277d7b8c2006c36e1 /roles/uwsgi/app/tasks | |
parent | add role for graphite carbon-cache (diff) |
add grahpite web and grafana roles
Diffstat (limited to 'roles/uwsgi/app/tasks')
-rw-r--r-- | roles/uwsgi/app/tasks/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/uwsgi/app/tasks/main.yml b/roles/uwsgi/app/tasks/main.yml new file mode 100644 index 00000000..69bea0a2 --- /dev/null +++ b/roles/uwsgi/app/tasks/main.yml @@ -0,0 +1,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 |