Jérémy Lecour
ee21973371
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
32 lines
642 B
YAML
32 lines
642 B
YAML
---
|
|
- hosts: test-kitchen
|
|
|
|
pre_tasks:
|
|
- name: Install locales
|
|
ansible.builtin.apt:
|
|
name: locales
|
|
state: present
|
|
changed_when: False
|
|
|
|
- name: Setting default locales
|
|
ansible.builtin.lineinfile:
|
|
dest: /etc/locale.gen
|
|
line: "{{ item }}"
|
|
create: yes
|
|
state: present
|
|
changed_when: False
|
|
loop:
|
|
- "en_US.UTF-8 UTF-8"
|
|
- "fr_FR ISO-8859-1"
|
|
- "fr_FR.UTF-8 UTF-8"
|
|
register: test_locales
|
|
|
|
- name: Reconfigure locales
|
|
ansible.builtin.command:
|
|
cmd: /usr/sbin/locale-gen
|
|
changed_when: False
|
|
when: test_locales is changed
|
|
|
|
roles:
|
|
- role: postgresql
|