have to ignore errors here because if the unit does not exist systemd will error out

This commit is contained in:
Kevin Fenzi 2017-10-12 21:57:44 +00:00
parent b1201baec0
commit 57a74246fd

View file

@ -11,6 +11,7 @@
- name: restart docker
command: systemctl try-restart docker
ignore_errors: true
- name: restart ip6tables
service: name=ip6tables state=restarted