39:28ad6d3e2618
Anton Shestakov <av6@dwimlabs.net>, Wed, 23 Mar 2016 16:55:52 +0800
index: maintain only one contact with type 'self' This isn't done in an event handler of contacts collection because doing it in 'add' handler would trigger 'sort' event after the model has been added, but before its 'add' event has propagated, and that's dumb.

next change 211:4b03f725cb69
previous change 1:7ab80565bcdd

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

Permissions: -rw-r--r--

Other formats: Feeds:
---
- name: Set timezone {{ timezone }}
template: src=etc/timezone dest=/etc/timezone
notify:
- update timezone
- name: Generate locale
locale_gen: name={{ locale }}
- name: Set system locale
command: update-locale LANG={{ locale }}
- name: Install base packages
apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=3600
with_items:
- ca-certificates
- openntpd
- ufw
tags: [packages]
- name: Stop installing recommends
copy: src=etc/apt/apt.conf.d/99recommends dest=/etc/apt/apt.conf.d/99recommends
- name: Allow ssh access
ufw: rule=allow name=OpenSSH
tags: [ufw]
- name: Enable ufw
ufw: state=enabled
tags: [ufw]
...