summaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-09-06 15:11:44 +0300
committerLars Wirzenius <liw@liw.fi>2016-09-06 15:11:44 +0300
commitac0ac75ff26e7bc4d5cc09a510652c0890d053ba (patch)
treea595bb3f3d4f90e26198e592bec68f425c73f667 /ansible
parent95e0e803143756ef5d4cf7821b7e94b5fd13a7c7 (diff)
downloadminipc-router-ac0ac75ff26e7bc4d5cc09a510652c0890d053ba.tar.gz
Add sane-debian-system role
Diffstat (limited to 'ansible')
-rw-r--r--ansible/minipc-router.yml1
-rw-r--r--ansible/roles/sane-debian-system/tasks/main.yml19
2 files changed, 3 insertions, 17 deletions
diff --git a/ansible/minipc-router.yml b/ansible/minipc-router.yml
index 9f1308e..2f9371b 100644
--- a/ansible/minipc-router.yml
+++ b/ansible/minipc-router.yml
@@ -7,3 +7,4 @@
distro: jessie
roles:
- lan1-dhcp-client
+ - sane-debian-system
diff --git a/ansible/roles/sane-debian-system/tasks/main.yml b/ansible/roles/sane-debian-system/tasks/main.yml
index 187539c..c445a4e 100644
--- a/ansible/roles/sane-debian-system/tasks/main.yml
+++ b/ansible/roles/sane-debian-system/tasks/main.yml
@@ -44,20 +44,5 @@
- name: install ntp
apt: name=ntp
-- name: install locales
- apt: name=locales
-
-- name: create en_GB.UTF-8 locale
- locale_gen: state=present name=en_GB.UTF-8
-
-- name: create fi_FI.UTF-8 locale
- locale_gen: state=present name=fi_FI.UTF-8
-
-# Get rid of bash-completion. It tends to irritate me more than it is
-# ever helpful.
-
-- name: REMOVE bash-completion
- apt:
- name: bash-completion
- state: absent
- purge: yes
+- name: install locales-all
+ apt: name=locales-all