roles/common: Remove duplicate timezone task
We set it in the separate ntp.yml playbook now, as there are a few different systems we cater to (systemd, old ntp, etc).
This commit is contained in:
parent
ffac0b8afd
commit
4f22052afe
@ -3,11 +3,6 @@
|
|||||||
# lineinfile: dest=/etc/hosts insertafter=^127.0.0.1 line='127.0.1.1 {{ inventory_hostname }}'
|
# lineinfile: dest=/etc/hosts insertafter=^127.0.0.1 line='127.0.1.1 {{ inventory_hostname }}'
|
||||||
# tags: hostname
|
# tags: hostname
|
||||||
|
|
||||||
- name: Set timezone
|
|
||||||
when: timezone is defined
|
|
||||||
command: /usr/bin/timedatectl set-timezone {{ timezone }}
|
|
||||||
tags: timezone
|
|
||||||
|
|
||||||
- include: ntp.yml
|
- include: ntp.yml
|
||||||
tags: ntp
|
tags: ntp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user