summaryrefslogtreecommitdiffstats
path: root/supporting/servers/roles/ngnix/tasks/main.yml
blob: 8673b3d20eec588ff48fc72313116c1173fa3247 (plain)
1
2
3
4
5
6
7
8
9
10
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