|
|
@ -107,11 +107,14 @@
|
|
|
|
# instLangs parameter).
|
|
|
|
# instLangs parameter).
|
|
|
|
|
|
|
|
|
|
|
|
- block:
|
|
|
|
- block:
|
|
|
|
- name: Install langpacks (rhel8 beta)
|
|
|
|
- name: Install langpacks (RHEL8)
|
|
|
|
yum:
|
|
|
|
yum:
|
|
|
|
name: glibc-all-langpacks
|
|
|
|
name:
|
|
|
|
|
|
|
|
- glibc-langpack-es
|
|
|
|
|
|
|
|
- glibc-langpack-pt
|
|
|
|
|
|
|
|
- glibc-all-langpacks
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
|
when: ansible_distribution_major_version|int >= 8
|
|
|
|
when: ansible_distribution_major_version is version('8', '>=')
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check if locales need to be generated (RedHat)
|
|
|
|
- name: Check if locales need to be generated (RedHat)
|
|
|
|
shell: "localedef --list-archive | grep -a -q '^{{ locale }}$'"
|
|
|
|
shell: "localedef --list-archive | grep -a -q '^{{ locale }}$'"
|
|
|
@ -136,7 +139,7 @@
|
|
|
|
with_items:
|
|
|
|
with_items:
|
|
|
|
- glibc-langpack-es
|
|
|
|
- glibc-langpack-es
|
|
|
|
- glibc-langpack-pt
|
|
|
|
- glibc-langpack-pt
|
|
|
|
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version|int >= 24
|
|
|
|
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version is version('24', '>=')
|
|
|
|
|
|
|
|
|
|
|
|
- name: enable postgresql service (FreeBSD)
|
|
|
|
- name: enable postgresql service (FreeBSD)
|
|
|
|
lineinfile:
|
|
|
|
lineinfile:
|
|
|
|