Commit 9eb476df authored by Julien Muchembled's avatar Julien Muchembled Committed by Thomas Gambier

playbook: clean up ntp

/reviewed-on !110
parent 36aaa727
......@@ -3,7 +3,6 @@
connection: local
roles:
- { role: package, package_name: ntp, package_state: latest }
- ntp
- { role: package, package_name: re6st-node, package_state: latest }
- { role: package, package_name: slapos-node, package_state: latest }
......@@ -19,5 +19,4 @@
roles:
- { role: imt-slapos, mount_directory: /virt }
- { role: slapos, package_state: present }
- { role: package, package_name: ntp, package_state: present }
- { role: imt-slapos, post_config: True }
---
dependencies:
- { role: package, package_name: ntp, package_state: present }
---
- name: Install ntp
apt: name=ntp state=latest update_cache=yes cache_valid_time=86400
when: ansible_os_family == "Debian"
- include: ../../yum/tasks/main.yml name=ntp cache_valid_time=86400
when: ansible_os_family == "RedHat"
- name: ensure ntp is runing
service: name=ntp state=started enabled=yes
when: ansible_os_family == "Debian"
......
---
dependencies:
- { role: repository }
- { role: ntp }
......@@ -23,5 +23,4 @@
roles:
- { role: slapos, package_state: present }
- { role: package, package_name: ntp, package_state: present }
- vifib-team-ssh-key
......@@ -28,6 +28,5 @@
roles:
- { role: slapos, package_state: present }
- { role: package, package_name: ntp, package_state: present }
......@@ -15,7 +15,6 @@
roles:
- { role: re6stnet-install }
- { role: slapos, package_state: present }
- { role: package, package_name: ntp, package_state: present }
- vifib-team-ssh-key
- upgrader
- vifib-server
......@@ -23,7 +23,6 @@
roles:
- { role: slapos, package_state: present }
- { role: package, package_name: ntp, package_state: present }
- vifib-team-ssh-key
- upgrader
- vifib-server
......@@ -24,7 +24,6 @@
roles:
- { role: re6stnet-install, package_state: present }
- { role: slapos, package_state: present }
- { role: package, package_name: ntp, package_state: present }
- vifib-team-ssh-key
- upgrader
- vifib-server
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment