vn-ansible/roles/config-tzdata/tasks/main.yaml

21 lines
502 B
YAML
Raw Normal View History

2023-10-27 11:45:02 +00:00
---
2024-02-15 14:47:59 +00:00
- name: "[CONFIG TZDATA] Comprobando si es necesario configurar timezone"
meta: end_host
when: tzdata_enabled is not defined or not tzdata_enabled
2023-10-27 12:40:53 +00:00
#- name: copy script set_timezone.sh to tmp
# copy:
# src: set_timezone.sh
# dest: /tmp/set_timezone.sh
# owner: root
# group: root
# mode: '0744'
2023-10-27 12:03:38 +00:00
2023-10-27 12:35:12 +00:00
- name: execute script set_timezone.sh
2023-10-27 12:40:53 +00:00
script: set_timezone.sh
2023-10-27 11:45:02 +00:00
2023-10-27 12:40:53 +00:00
#- name: delete script set_timezone.sh on tmp directory
# file:
# path: /tmp/set_timezone.sh
# state: absent