summaryrefslogtreecommitdiffstats
path: root/ansible/roles/chrony/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/chrony/tasks')
-rw-r--r--ansible/roles/chrony/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/roles/chrony/tasks/main.yml b/ansible/roles/chrony/tasks/main.yml
index 69a11587..ae95c8e7 100644
--- a/ansible/roles/chrony/tasks/main.yml
+++ b/ansible/roles/chrony/tasks/main.yml
@@ -1,4 +1,10 @@
---
+- name: Install Chrony - Ubuntu
+ package:
+ name: "chrony"
+ state: present
+ when: ansible_distribution in ["Ubuntu","Debian"]
+
- name: Check if server mode
set_fact:
chrony_mode: 'server'