summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-04-03 11:27:38 -0400
committerScott Dodson <sdodson@redhat.com>2017-04-03 11:30:21 -0400
commit457605bc7b8ba57b653eb14491f988a5565e3252 (patch)
tree050e85378d136bb19eb9ff3074d1c143a526c243
parent0bac74c346bb5c620bdf1941b40c29ff3083e2b0 (diff)
downloadopenshift-457605bc7b8ba57b653eb14491f988a5565e3252.tar.gz
openshift-457605bc7b8ba57b653eb14491f988a5565e3252.tar.bz2
openshift-457605bc7b8ba57b653eb14491f988a5565e3252.tar.xz
openshift-457605bc7b8ba57b653eb14491f988a5565e3252.zip
Restart polkitd to workaround a bug in polkitd
-rw-r--r--roles/os_firewall/tasks/firewall/firewalld.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/os_firewall/tasks/firewall/firewalld.yml b/roles/os_firewall/tasks/firewall/firewalld.yml
index 2b40eee1b..4b2979887 100644
--- a/roles/os_firewall/tasks/firewall/firewalld.yml
+++ b/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