summaryrefslogtreecommitdiffstats
path: root/roles/contiv/handlers/main.yml
blob: 0fbe73036c38fa732b84d9f628f23c95d737d4cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- name: reload systemd
  command: systemctl --system daemon-reload

- name: restart netmaster
  service:
    name: netmaster
    state: restarted
  when: netmaster_started.changed == false

- name: restart netplugin
  service:
    name: netplugin
    state: restarted
  when: netplugin_started.changed == false

- name: Save iptables rules
  command: service iptables save