have to ignore errors here because if the unit does not exist systemd will error out
This commit is contained in:
parent
b1201baec0
commit
57a74246fd
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
- name: restart docker
|
||||
command: systemctl try-restart docker
|
||||
ignore_errors: true
|
||||
|
||||
- name: restart ip6tables
|
||||
service: name=ip6tables state=restarted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue