Reinstall i18n files for PostgreSQL tests (#66734)

I am removing these from the test image to reduce its size a bit.
This commit is contained in:
Sam Doran 2020-01-24 12:16:40 -05:00 committed by GitHub
parent 8e195adda5
commit 9df9ed4cd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,6 +129,12 @@
loop_control:
loop_var: locale
- name: Reinstall internationalization files
shell: 'yum -y reinstall glibc-common || yum -y install glibc-common'
args:
warn: no
when: locale_present is failed
- name: Generate locale (RedHat)
command: 'localedef -f ISO-8859-1 -i {{ item.locale }} {{ item.locale }}'
when: item is failed