diff options
author | Vincent Schwarzer <vincent.schwarzer@yahoo.de> | 2017-05-09 15:02:21 +0200 |
---|---|---|
committer | Vincent Schwarzer <vincent.schwarzer@yahoo.de> | 2017-05-18 14:50:24 +0200 |
commit | a3b7fe62d02821cbca74ea466f37e8836764f30e (patch) | |
tree | 1b987630e9513596fa478af725c4f54185167ae0 | |
parent | e748591d96c64560c94f141a178b9f719a28721a (diff) | |
download | openshift-a3b7fe62d02821cbca74ea466f37e8836764f30e.tar.gz openshift-a3b7fe62d02821cbca74ea466f37e8836764f30e.tar.bz2 openshift-a3b7fe62d02821cbca74ea466f37e8836764f30e.tar.xz openshift-a3b7fe62d02821cbca74ea466f37e8836764f30e.zip |
Added Docker Registry Port 5000 to Firewalld
-rw-r--r-- | roles/openshift_hosted/defaults/main.yml | 5 | ||||
-rw-r--r-- | roles/openshift_hosted/meta/main.yml | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/roles/openshift_hosted/defaults/main.yml b/roles/openshift_hosted/defaults/main.yml index e7e62e5e4..089054e2f 100644 --- a/roles/openshift_hosted/defaults/main.yml +++ b/roles/openshift_hosted/defaults/main.yml @@ -30,3 +30,8 @@ openshift_hosted_routers: openshift_hosted_router_certificate: {} openshift_hosted_registry_cert_expire_days: 730 openshift_hosted_router_create_certificate: False + +os_firewall_allow: +- service: Docker Registry Port + port: 5000/tcp + when: openshift.common.use_calico | bool diff --git a/roles/openshift_hosted/meta/main.yml b/roles/openshift_hosted/meta/main.yml index 9626c23c1..9e3f37130 100644 --- a/roles/openshift_hosted/meta/main.yml +++ b/roles/openshift_hosted/meta/main.yml @@ -15,3 +15,8 @@ dependencies: - role: openshift_cli - role: openshift_hosted_facts - role: lib_openshift +- role: os_firewall + os_firewall_allow: + - service: Docker Registry Port + port: 5000/tcp + when: openshift.common.use_calico | bool |