325:2baf34a19915
Anton Shestakov <av6@dwimlabs.net>, Sat, 14 Jul 2018 20:53:10 +0800
messages: more sugar I mean coffee

previous change 263:c92c3639acf3

contrib/provision/roles/nginx/tasks/main.yml

Permissions: -rw-r--r--

Other formats: Feeds:
---
- name: Install packages
apt:
pkg: '{{ item }}'
state: present
with_items:
- nginx
tags: [packages]
- name: Disable default site
file:
path: /etc/nginx/sites-enabled/default
state: absent
notify:
- restart nginx
- name: Allow HTTP and HTTPS
ufw:
rule: allow
name: '{{ item }}'
with_items:
- Nginx HTTP
- Nginx HTTPS
tags: [ufw]
...