diff options
Diffstat (limited to 'opt/servers/roles/nginx/tasks')
-rw-r--r-- | opt/servers/roles/nginx/tasks/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/opt/servers/roles/nginx/tasks/main.yml b/opt/servers/roles/nginx/tasks/main.yml new file mode 100644 index 00000000..5c78166c --- /dev/null +++ b/opt/servers/roles/nginx/tasks/main.yml @@ -0,0 +1,13 @@ +--- +- 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 + - qtip + - testapi + notify: + - restart nginx |