Use systemd module to enable service.
This commit is contained in:
parent
8118b980ec
commit
b75f508adf
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue