From 1361ce1c965245e7fafeee257b1ee3c9eb08da1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20L=C3=BCbeck?= Date: Tue, 16 Apr 2019 09:47:58 +0200 Subject: [PATCH 1/2] Update configure.yml This will allow the use of C.UTF-8 on Debian and Ubuntu, as discussed in #430 --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index 632b311e..89fc4223 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -42,7 +42,7 @@ with_items: - "{{ postgresql_locale }}" - "{{ postgresql_ctype }}" - when: ansible_os_family == "Debian" + when: ansible_os_family == "Debian" && item != "C.UTF-8" - name: PostgreSQL | Ensure the locale is generated | RedHat become: yes From 07723c0d21b02648463f6cc209b263913fc2e4d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20L=C3=BCbeck?= Date: Wed, 17 Apr 2019 10:28:29 +0200 Subject: [PATCH 2/2] Update configure.yml Ops, embarrassing typo. Used && instead of "and" --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index 89fc4223..8f5f696f 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -42,7 +42,7 @@ with_items: - "{{ postgresql_locale }}" - "{{ postgresql_ctype }}" - when: ansible_os_family == "Debian" && item != "C.UTF-8" + when: ansible_os_family == "Debian" and item != "C.UTF-8" - name: PostgreSQL | Ensure the locale is generated | RedHat become: yes