1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/firewalld/handlers/main.yml
Jakub Klinkovský c86ff4a92a
firewalld: add hack for a systemd bug
This happens in the local Docker container, not sure about the
production environment...
2020-09-05 21:27:20 +02:00

13 lines
454 B
YAML

---
# NOTE: hack for a systemd bug (restarting firewalld.service fails due to fail2ban.service)
# https://github.com/systemd/systemd/issues/2830
# https://bugzilla.opensuse.org/show_bug.cgi?id=1146856
#- name: restart firewalld
# service: name=firewalld state=restarted
- name: stop firewalld
service: name=firewalld state=stopped
listen: restart firewalld
- name: start firewalld
service: name=firewalld state=started
listen: restart firewalld