summaryrefslogtreecommitdiffstats
path: root/roles/cockpit
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-06-01 12:05:07 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-06-01 12:05:07 -0400
commit926c3d5c7b7660fa2755541ceb999961cf4cfa21 (patch)
tree79affd1bdc94b8af43a23bf04dec927770b9283f /roles/cockpit
parent51f0e95bb65ab8f59f683226afefe381e430aae4 (diff)
downloadopenshift-926c3d5c7b7660fa2755541ceb999961cf4cfa21.tar.gz
openshift-926c3d5c7b7660fa2755541ceb999961cf4cfa21.tar.bz2
openshift-926c3d5c7b7660fa2755541ceb999961cf4cfa21.tar.xz
openshift-926c3d5c7b7660fa2755541ceb999961cf4cfa21.zip
Move os_firewall_allow from defaults to role dependencies.
Diffstat (limited to 'roles/cockpit')
-rw-r--r--roles/cockpit/defaults/main.yml4
-rw-r--r--roles/cockpit/meta/main.yml5
2 files changed, 4 insertions, 5 deletions
diff --git a/roles/cockpit/defaults/main.yml b/roles/cockpit/defaults/main.yml
deleted file mode 100644
index 9cf665841..000000000
--- a/roles/cockpit/defaults/main.yml
+++ /dev/null
@@ -1,4 +0,0 @@
----
-os_firewall_allow:
-- service: cockpit-ws
- port: 9090/tcp
diff --git a/roles/cockpit/meta/main.yml b/roles/cockpit/meta/main.yml
index 1e3948b19..43047902d 100644
--- a/roles/cockpit/meta/main.yml
+++ b/roles/cockpit/meta/main.yml
@@ -12,4 +12,7 @@ galaxy_info:
categories:
- cloud
dependencies:
- - { role: os_firewall }
+- role: os_firewall
+ os_firewall_allow:
+ - service: cockpit-ws
+ port: 9090/tcp