aboutsummaryrefslogtreecommitdiffstats
path: root/supporting/servers/roles/elk/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'supporting/servers/roles/elk/tasks')
-rw-r--r--supporting/servers/roles/elk/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/supporting/servers/roles/elk/tasks/main.yml b/supporting/servers/roles/elk/tasks/main.yml
new file mode 100644
index 00000000..8673b3d2
--- /dev/null
+++ b/supporting/servers/roles/elk/tasks/main.yml
@@ -0,0 +1,11 @@
+---
+- name: nginx is installed
+ become: true
+ package: name=nginx state=present
+- name: qtip server configuration is generated
+ become: true
+ template: src={{ item }}.conf.j2 dest=/etc/nginx/sites-enabled/{{ item }}.conf
+ with_items:
+ - elk
+ notify:
+ - restart nginx