vn-ansible/linux-config-tzdata.yaml

17 lines
408 B
YAML
Raw Normal View History

2023-10-27 11:45:02 +00:00
---
2023-12-19 14:52:18 +00:00
- hosts: '{{ ip_addr }}'
2023-10-27 11:45:02 +00:00
become: yes
become_method: sudo
gather_facts: yes
tasks:
2024-02-15 14:46:09 +00:00
- name: "[CONFIG TZDATA] Comprobando si es necesario configurar timezone"
debug:
msg: "No es necesario configurar timezone en la máquina"
when: tzdata_enabled is not defined or not tzdata_enabled
2023-10-27 11:45:02 +00:00
- name: "[CONFIG TZDATA] Set timezone"
import_role:
name: config-tzdata