Merge branch 'master' of adellam/ansible-roles into master

This commit is contained in:
Andrea Dell'Amico 2019-10-30 13:55:01 +01:00 committed by Gitea
commit 0755ad579b
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
---
- name: Set the timezone on Ubuntu >=18
command: timedatectl set-timezone {{ timezone }}
when: ansible_distribution_version is version_compare('18.04', '>=')
tags: timezone
- name: Write the timezone file
template: src=etc-timezone.j2 dest=/etc/timezone owner=root group=root mode=0644
register: set_timezone