322:7dfdf32e8577
Anton Shestakov <av6@dwimlabs.net>, Sat, 14 Jul 2018 20:23:13 +0800
index: authorizing contact also adds it to the roster Maybe there are cases when this doesn't make sense, but so far this looks like the right thing to do.

previous change 309:f8c525ff01cd

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:
update_cache: yes
cache_valid_time: 3600
pkg: '{{ item }}'
state: present
with_items:
- ca-certificates
- openntpd
- ufw
tags: [packages]
- name: Don't install 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]
...