Skip to content

Commit 5837ae4

Browse files
committed
Reinstall glibc-common to avoid problem when generating locales
for OracleLinux 7
1 parent 6463894 commit 5837ae4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

roles/locales/tasks/main.yml

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
---
22

3+
# for OracleLinux 7
4+
- name: Reinstall glibc-common to avoid problem when generating locales
5+
command: yum reinstall glibc-common -y
6+
args:
7+
warn: false
8+
environment: "{{ proxy_env | default({}) }}"
9+
when: (ansible_distribution == "OracleLinux" and
10+
ansible_distribution_major_version == '7')
11+
312
- block:
413
- name: Generate locales
514
become: true

0 commit comments

Comments
 (0)