| @@ -33,6 +33,9 @@ matrix_systemd_path: "/etc/systemd/system" | |||||
| matrix_cron_path: "/etc/cron.d" | matrix_cron_path: "/etc/cron.d" | ||||
| matrix_local_bin_path: "/usr/local/bin" | 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_homeserver_url: "https://{{ matrix_server_fqn_matrix }}" | ||||
| matrix_identity_server_url: ~ | matrix_identity_server_url: ~ | ||||
| @@ -18,8 +18,8 @@ | |||||
| state: started | state: started | ||||
| enabled: yes | enabled: yes | ||||
| - name: Ensure ntpd is started and autoruns | |||||
| - name: "Ensure {{ matrix_ntpd_service }} is started and autoruns" | |||||
| service: | service: | ||||
| name: "{{ 'ntpd' if ansible_os_family == 'RedHat' or ansible_distribution == 'Archlinux' else 'ntp' }}" | |||||
| name: "{{ matrix_ntpd_service }}" | |||||
| state: started | state: started | ||||
| enabled: yes | enabled: yes | ||||
| @@ -4,7 +4,7 @@ | |||||
| pacman: | pacman: | ||||
| name: | name: | ||||
| - python-docker | - python-docker | ||||
| - ntp | |||||
| - "{{ matrix_ntpd_package }}" | |||||
| # TODO This needs to be verified. Which version do we need? | # TODO This needs to be verified. Which version do we need? | ||||
| - fuse3 | - fuse3 | ||||
| - python-dnspython | - python-dnspython | ||||
| @@ -21,7 +21,7 @@ | |||||
| yum: | yum: | ||||
| name: | name: | ||||
| - docker-python | - docker-python | ||||
| - ntp | |||||
| - "{{ matrix_ntpd_package }}" | |||||
| - fuse | - fuse | ||||
| state: latest | state: latest | ||||
| update_cache: yes | update_cache: yes | ||||
| @@ -28,7 +28,7 @@ | |||||
| apt: | apt: | ||||
| name: | name: | ||||
| - "python{{'3' if ansible_python.version.major == 3 else ''}}-docker" | - "python{{'3' if ansible_python.version.major == 3 else ''}}-docker" | ||||
| - ntp | |||||
| - "{{ matrix_ntpd_package }}" | |||||
| - fuse | - fuse | ||||
| state: latest | state: latest | ||||
| update_cache: yes | update_cache: yes | ||||
| @@ -28,7 +28,7 @@ | |||||
| apt: | apt: | ||||
| name: | name: | ||||
| - python-docker | - python-docker | ||||
| - ntp | |||||
| - "{{ matrix_ntpd_package }}" | |||||
| - fuse | - fuse | ||||
| state: latest | state: latest | ||||
| update_cache: yes | update_cache: yes | ||||