mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-27 00:51:39 +08:00
have to ignore errors here because if the unit does not exist systemd will error out
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
- name: restart docker
|
||||
command: systemctl try-restart docker
|
||||
ignore_errors: true
|
||||
|
||||
- name: restart ip6tables
|
||||
service: name=ip6tables state=restarted
|
||||
|
||||
Reference in New Issue
Block a user