chrony playbook
Description
chrony install playbook
playbook構成
- handlers
- tasks
- templates
handlers
Restart Chrony
systemd restart chronyd
tasks
task name | main |
---|---|
path | common_roles/chrony/tasks/main.yml |
tags | chrony |
task list
- install chrony
- chrony setting
- systemd setting
- start chrony
templates
- chrony.conf.j2
vars
chrony_servers
参照NTPの定義
Vars Name | chrony_servers |
---|---|
valu | fqdn |
default | 0.jp.pool.ntp.org |
1.jp.pool.ntp.org | |
2.jp.pool.ntp.org | |
3.jp.pool.ntp.org |
example:
chrony_servers:
- 0.jp.pool.ntp.org
- 1.jp.pool.ntp.org
- 2.jp.pool.ntp.org
- 3.jp.pool.ntp.org