Combine time configuration
This commit is contained in:
parent
8ca56b3fb2
commit
0780c5a713
|
@ -2,4 +2,4 @@
|
|||
|
||||
- import_tasks: remote_access.yml
|
||||
- import_tasks: rsyslog.yml
|
||||
- import_tasks: ntp.yml
|
||||
- import_tasks: time.yml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
---
|
||||
|
||||
- name: Set timezone to America/Toronto
|
||||
timezone:
|
||||
name: America/Toronto
|
||||
|
||||
- name: Install ntp
|
||||
apt:
|
||||
name: ntp
|
Loading…
Reference in New Issue