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