You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/roles/common/tasks/locales.yml

20 lines
392 B
YAML

---
- name: Configure alternate locales generation
lineinfile:
path: /etc/locale.gen
state: present
regexp: 'de_DE.UTF-8'
line: 'de_DE.UTF-8 UTF-8'
notify: generate locales
- name: Configure timezone
timezone:
name: "{{ TIMEZONE }}"
when: TIMEZONE is defined
- name: Configure vim as defualt editor
alternatives:
name: editor
path: /usr/bin/vim.basic