Use systemd module to enable service.

This commit is contained in:
Andreas B. Mundt 2019-05-24 22:24:17 +03:00
parent 8118b980ec
commit b75f508adf

View file

@ -1,7 +1,7 @@
- name: restart networking
service: name=networking state=restarted enabled=yes
systemd: name=networking state=restarted enabled=yes
listen: restart networking
- name: restart shorewall
service: name=shorewall state=restarted enabled=yes
systemd: name=shorewall state=restarted enabled=yes
listen: restart shorewall