2023-10-27 12:52:50 +00:00
|
|
|
---
|
|
|
|
|
2023-12-19 14:55:30 +00:00
|
|
|
- hosts: '{{ ip_addr }}'
|
2023-10-27 12:52:50 +00:00
|
|
|
become: yes
|
|
|
|
become_method: sudo
|
|
|
|
gather_facts: yes
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
|
2024-02-15 14:42:03 +00:00
|
|
|
- name: "[CONFIG LOCALES] Comprobando si es necesario configurar locales"
|
|
|
|
debug:
|
|
|
|
msg: "No es necesario configurar locales en la máquina"
|
|
|
|
when: locales_enabled is not defined or not locales_enabled
|
|
|
|
|
2023-10-27 12:52:50 +00:00
|
|
|
- name: "[CONFIG LOCALES] Set locales"
|
|
|
|
import_role:
|
|
|
|
name: config-locales
|