From 29d1c8ace37339519b04bceaf51ebaa000a99a79 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sat, 18 Apr 2020 23:48:08 +0100 Subject: [PATCH] Set locale and papersize in Arch --- roles/arch/tasks/locale.yml | 13 +++++++++++++ roles/arch/tasks/main.yml | 1 + 2 files changed, 14 insertions(+) create mode 100644 roles/arch/tasks/locale.yml diff --git a/roles/arch/tasks/locale.yml b/roles/arch/tasks/locale.yml new file mode 100644 index 0000000..54f94d8 --- /dev/null +++ b/roles/arch/tasks/locale.yml @@ -0,0 +1,13 @@ +--- +- name: Set system locale + become: true + lineinfile: + path: /etc/locale.conf + line: "LANG=en_GB.UTF-8" + create: yes +- name: Set default paper size + become: true + lineinfile: + path: /etc/papersize + line: a4 + create: yes diff --git a/roles/arch/tasks/main.yml b/roles/arch/tasks/main.yml index 7a4d7a9..bef6efa 100644 --- a/roles/arch/tasks/main.yml +++ b/roles/arch/tasks/main.yml @@ -5,3 +5,4 @@ - include: modules.yml - include: ssh.yml - include: solokeys.yml +- include: locale.yml