aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster_post/tasks/main.yml
blob: 8432186c431c91e613d633c27e5c52c2bcd8d449 (plain)
1
2
3
4
5
6
7
8
---
- name: restart opendaylight
  shell: sleep 60; service opendaylight restart; sleep 300;
  when: inventory_hostname in groups['odl']

- name: add service daemon
  shell: echo opendaylight >> /opt/service ;
  when: inventory_hostname in groups['odl']