Browse Source

Move default values to defaults

The os specific variables are overriding the provided vars so we should
only define things that should not be overridable because they are OS
specific (service names, config file locations, etc)

Change-Id: I2af49137d91c34eeb68353d7438a5ee09c8166c9
Closes-Bug: #1802538
changes/07/617007/2
Alex Schultz 3 years ago
parent
commit
9baecd0573
  1. 3
      defaults/main.yml
  2. 6
      vars/RedHat.yml

3
defaults/main.yml

@ -1,8 +1,9 @@
---
chrony_debug: False
chrony_role_action: install
chrony_global_server_settings: iburst
chrony_ntp_servers: []
chrony_ntp_pools: []
chrony_ntp_pools: ['pool.ntp.org']
chrony_ntp_peers: []
chrony_bind_addresses:
- 127.0.0.1

6
vars/RedHat.yml

@ -1,12 +1,6 @@
---
chrony_package_name: chrony
chrony_service_name: chronyd
chrony_ntp_servers:
- 0.rhel.pool.ntp.org
- 1.rhel.pool.ntp.org
- 2.rhel.pool.ntp.org
- 3.rhel.pool.ntp.org
chrony_global_server_settings: iburst
chrony_config_file_location: /etc/chrony.conf
chrony_driftfile_path: /var/lib/chrony/drift
chrony_logdir_path: /var/log/chrony

Loading…
Cancel
Save