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
tags: always
lineinfile:
path: /root/.profile
regexp: '^export LANG=en_US.UTF-8'
line: 'export LANG=en_US.UTF-8'
state: present
- 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
- name: ensure locales exist
locale_gen:
name: '{{ item }}'
state: present
loop:
- en_US.UTF-8
- de_DE.UTF-8