vn-ansible/linux-config-locales.yaml

18 lines
469 B
YAML
Raw Normal View History

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:
2024-02-15 17:03:48 +00:00
name: config-locales
when: locales_enabled is defined and locales_enabled