Commit 1cb6bbd9 authored by David Coutadeur's avatar David Coutadeur
Browse files

ansible cleaning (remove useless localedef + use rather ansible replace than sed)

parent 4117f21c
......@@ -114,10 +114,11 @@
- glibc-langpack-vi
state: present
- name: Configure locales
shell: |
localedef --no-archive -i fr_FR -f UTF-8 fr_FR.UTF-8
sed -i -e 's/LANG=".*"/LANG="fr_FR.UTF-8"/' /etc/locale.conf
- name: Configure default locale
replace:
path: /etc/locale.conf
regexp: ^LANG=".*"
replace: LANG="fr_FR.UTF-8"
- name: config rsyslog
shell: |
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment