main.yml 291 B

12345678910111213141516
  1. ---
  2. - name: reload systemd
  3. command: systemctl --system daemon-reload
  4. - name: restart netmaster
  5. service:
  6. name: netmaster
  7. state: restarted
  8. - name: restart netplugin
  9. service:
  10. name: netplugin
  11. state: restarted
  12. - name: Save iptables rules
  13. command: service iptables save