227:64acb7b50eee
Anton Shestakov <av6@dwimlabs.net>, Fri, 12 Aug 2016 22:26:01 +0800
pipelines: re-enable idempotence testing

next change 309:f8c525ff01cd
previous change 211:4b03f725cb69

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