Skip to content

Commit

Permalink
Reinstall glibc-common to avoid problem when generating locales
Browse files Browse the repository at this point in the history
for OracleLinux 7
  • Loading branch information
vitabaks committed Jun 16, 2021
1 parent 6463894 commit 5837ae4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions roles/locales/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
---

# for OracleLinux 7
- name: Reinstall glibc-common to avoid problem when generating locales
command: yum reinstall glibc-common -y
args:
warn: false
environment: "{{ proxy_env | default({}) }}"
when: (ansible_distribution == "OracleLinux" and
ansible_distribution_major_version == '7')

- block:
- name: Generate locales
become: true
Expand Down

0 comments on commit 5837ae4

Please sign in to comment.