From 785cae7ccf8c69366438a446ff121ecbb7ad5465 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 8 Dec 2020 20:06:25 +0100 Subject: add grahpite web and grafana roles --- roles/uwsgi/app/tasks/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 roles/uwsgi/app/tasks/main.yml (limited to 'roles/uwsgi/app/tasks') 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 -- cgit v1.2.3