Added ntp (chrony) config
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
---
|
||||
|
||||
common_packages:
|
||||
- screen
|
||||
- vim
|
||||
- 'screen'
|
||||
- 'vim'
|
||||
|
||||
ntp_enabled: True
|
||||
ntp_timezone: 'America/New_York'
|
||||
ntp_package: 'chrony'
|
||||
ntp_config_file: '/etc/chrony.conf'
|
||||
ntp_servers:
|
||||
- 'virginia.time.system76.com iburst'
|
||||
- 'ohio.time.system76.com iburst'
|
||||
- 'oregon.time.system76.com iburst'
|
||||
ntp_restrict:
|
||||
- '127.0.0.1'
|
||||
- '::1'
|
||||
|
||||
8
playbooks/ntp.yml
Normal file
8
playbooks/ntp.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
|
||||
- name: Install NTP
|
||||
hosts: all
|
||||
become: True
|
||||
|
||||
roles:
|
||||
- geerlingguy.ntp
|
||||
@@ -1,4 +1,5 @@
|
||||
---
|
||||
|
||||
- import_playbook: ntp.yml
|
||||
- import_playbook: packages.yml
|
||||
- import_playbook: gitea.yml
|
||||
|
||||
@@ -5,5 +5,7 @@ collections:
|
||||
roles:
|
||||
- src: geerlingguy.nginx
|
||||
version: 3.3.0
|
||||
- src: geerlingguy.ntp
|
||||
version: 4.0.0
|
||||
- src: roles-ansible.gitea
|
||||
version: v3.6.3
|
||||
|
||||
Reference in New Issue
Block a user