浏览代码

Restart polkitd to workaround a bug in polkitd

Scott Dodson 8 年之前
父节点
当前提交
457605bc7b
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      roles/os_firewall/tasks/firewall/firewalld.yml

+ 6 - 0
roles/os_firewall/tasks/firewall/firewalld.yml

@@ -34,6 +34,12 @@
   pause: seconds=10
   when: result | changed
 
+- name: Restart polkitd
+  systemd:
+    name: polkit
+    state: restarted
+  when: result | changed
+
 # Fix suspected race between firewalld and polkit BZ1436964
 - name: Wait for polkit action to have been created
   command: pkaction --action-id=org.fedoraproject.FirewallD1.config.info