summaryrefslogtreecommitdiffstats
path: root/roles/cockpit/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/cockpit/tasks/main.yml')
-rw-r--r--roles/cockpit/tasks/main.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/cockpit/tasks/main.yml b/roles/cockpit/tasks/main.yml
index 066ee3f3b..f63b3e49b 100644
--- a/roles/cockpit/tasks/main.yml
+++ b/roles/cockpit/tasks/main.yml
@@ -1,7 +1,6 @@
---
- name: setup firewall
- include: firewall.yml
- static: yes
+ import_tasks: firewall.yml
- name: Install cockpit-ws
package: name={{ item }} state=present
@@ -12,6 +11,8 @@
- cockpit-docker
- "{{ cockpit_plugins }}"
when: not openshift.common.is_containerized | bool
+ register: result
+ until: result | success
- name: Enable cockpit-ws
systemd: