Merge pull request #437 from alindt/ntpd_defaults

add ntpd defaults
development
Slavi Pantaleev 5 years ago committed by GitHub
commit 929f220c58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,6 +33,9 @@ matrix_systemd_path: "/etc/systemd/system"
matrix_cron_path: "/etc/cron.d"
matrix_local_bin_path: "/usr/local/bin"
matrix_ntpd_package: "ntp"
matrix_ntpd_service: "{{ 'ntpd' if ansible_os_family == 'RedHat' or ansible_distribution == 'Archlinux' else 'ntp' }}"
matrix_homeserver_url: "https://{{ matrix_server_fqn_matrix }}"
matrix_identity_server_url: ~

@ -18,8 +18,8 @@
state: started
enabled: yes
- name: Ensure ntpd is started and autoruns
- name: "Ensure {{ matrix_ntpd_service }} is started and autoruns"
service:
name: "{{ 'ntpd' if ansible_os_family == 'RedHat' or ansible_distribution == 'Archlinux' else 'ntp' }}"
name: "{{ matrix_ntpd_service }}"
state: started
enabled: yes

@ -4,7 +4,7 @@
pacman:
name:
- python-docker
- ntp
- "{{ matrix_ntpd_package }}"
# TODO This needs to be verified. Which version do we need?
- fuse3
- python-dnspython

@ -21,7 +21,7 @@
yum:
name:
- docker-python
- ntp
- "{{ matrix_ntpd_package }}"
- fuse
state: latest
update_cache: yes

@ -28,7 +28,7 @@
apt:
name:
- "python{{'3' if ansible_python.version.major == 3 else ''}}-docker"
- ntp
- "{{ matrix_ntpd_package }}"
- fuse
state: latest
update_cache: yes

@ -28,7 +28,7 @@
apt:
name:
- python-docker
- ntp
- "{{ matrix_ntpd_package }}"
- fuse
state: latest
update_cache: yes

Loading…
Cancel
Save