From 9df9ed4cd3c7a41bf8de07fc2f83002dad660408 Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Fri, 24 Jan 2020 12:16:40 -0500 Subject: [PATCH] Reinstall i18n files for PostgreSQL tests (#66734) I am removing these from the test image to reduce its size a bit. --- test/integration/targets/setup_postgresql_db/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/integration/targets/setup_postgresql_db/tasks/main.yml b/test/integration/targets/setup_postgresql_db/tasks/main.yml index 4186e353cf4..aa6201689e1 100644 --- a/test/integration/targets/setup_postgresql_db/tasks/main.yml +++ b/test/integration/targets/setup_postgresql_db/tasks/main.yml @@ -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