Combine time configuration

This commit is contained in:
Zachary Seguin 2018-04-17 20:50:32 -04:00
parent 8ca56b3fb2
commit 0780c5a713
4 changed files with 6 additions and 6 deletions

View File

@ -2,4 +2,4 @@
- import_tasks: remote_access.yml
- import_tasks: rsyslog.yml
- import_tasks: ntp.yml
- import_tasks: time.yml

View File

@ -1,14 +1,10 @@
---
- name: Set timezone to America/Toronto
timezone:
name: America/Toronto
- import_tasks: dns.yml
- import_tasks: mirrors.yml
- import_tasks: time.yml
- import_tasks: remote_access.yml
- import_tasks: root.yml
- import_tasks: ntp.yml
when: not(ansible_virtualization_role == 'guest' and ansible_virtualization_type == 'lxc')
- import_tasks: logging.yml
- import_tasks: packages.yml

View File

@ -1,5 +1,9 @@
---
- name: Set timezone to America/Toronto
timezone:
name: America/Toronto
- name: Install ntp
apt:
name: ntp