forked from ISTI-ansible-roles/ansible-roles
14 lines
322 B
YAML
14 lines
322 B
YAML
---
|
|
- name: Write the timezone file
|
|
template: src=etc-timezone.j2 dest=/etc/timezone owner=root group=root mode=0644
|
|
register: set_timezone
|
|
tags:
|
|
- timezone
|
|
|
|
- name: Reconfigure the system tzdata
|
|
command: dpkg-reconfigure --frontend noninteractive tzdata
|
|
when: (set_timezone|changed)
|
|
tags:
|
|
- timezone
|
|
|