added encoding

This commit is contained in:
Tobias Lehmann 2024-04-16 10:47:05 +02:00
parent 360da9a22b
commit 37f344bd1a

View File

@ -1,32 +1,7 @@
- name: LANG in '.profile' für root analog Locale setzen - name: ensure locales exist
tags: always locale_gen:
lineinfile: name: '{{ item }}'
path: /root/.profile state: present
regexp: '^export LANG=en_US.UTF-8' loop:
line: 'export LANG=en_US.UTF-8' - en_US.UTF-8
state: present - de_DE.UTF-8
- name: LANG in '.profile' für root analog Locale setzen
tags: always
lineinfile:
path: /root/.profile
regexp: '^export LANG=de_DE.UTF-8'
line: 'export LANG=de_DE.UTF-8'
state: present
- name: LANG in '.profile' für Benutzer ansible analog Locale setzen
tags: always
lineinfile:
path: /home/ansible/.profile
regexp: '^export LANG=en_US.UTF-8'
line: 'export LANG=en_US.UTF-8'
state: present
- name: LANG in '.profile' für Benutzer ansible analog Locale setzen
tags: always
lineinfile:
path: /home/ansible/.profile
regexp: '^export LANG=de_DE.UTF-8'
line: 'export LANG=de_DE.UTF-8'
state: present