Browse Source

Add nuage rest server port to haproxy firewall rules.

Andrew Butcher 8 years ago
parent
commit
8e62e9c8db
1 changed files with 5 additions and 0 deletions
  1. 5 0
      roles/openshift_loadbalancer/meta/main.yml

+ 5 - 0
roles/openshift_loadbalancer/meta/main.yml

@@ -17,4 +17,9 @@ dependencies:
     port: "9000/tcp"
   - service: haproxy balance
     port: "{{ openshift_master_api_port | default(8443) }}/tcp"
+- role: os_firewall
+  os_firewall_allow:
+  - service: nuage mon
+    port: "{{ nuage_mon_rest_server_port | default(9443) }}/tcp"
+  when: openshift_use_nuage | default(false) | bool
 - role: openshift_repos