--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/provision/roles/common/defaults/main.yml Sat Mar 19 00:37:23 2016 +0800
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/provision/roles/common/files/etc/apt/apt.conf.d/99recommends Sat Mar 19 00:37:23 2016 +0800
+APT::Install-Recommends "no";
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/provision/roles/common/handlers/main.yml Sat Mar 19 00:37:23 2016 +0800
+ command: dpkg-reconfigure --frontend noninteractive tzdata
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/provision/roles/common/tasks/main.yml Sat Mar 19 00:37:23 2016 +0800
+- name: Set timezone {{ timezone }}
+ template: src=etc/timezone dest=/etc/timezone
+ 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
+- 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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/provision/roles/common/templates/etc/timezone Sat Mar 19 00:37:23 2016 +0800