aboutsummaryrefslogtreecommitdiffstats
path: root/opt/servers/roles/ngnix/tasks/main.yml
blob: ec146850bee940195572abe8366abf1192df055f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- 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
  notify:
    - restart nginx