275:0cc89d697eef
Anton Shestakov <av6@dwimlabs.net>, Sun, 01 Jan 2017 03:33:46 +0800
index: start saving settings only after everything has finished loading

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]
...