diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-03-02 17:32:19 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-03-02 17:36:28 -0500 |
commit | 9454767696f1b3a442dec5fa9a01848e93f53cc6 (patch) | |
tree | 4adcc0f3b5f6a8979de2d713f0be71eb5f927fca /roles | |
parent | b58ed12ba1eef70c38bfe785063c952015b2dd9b (diff) | |
download | openshift-9454767696f1b3a442dec5fa9a01848e93f53cc6.tar.gz openshift-9454767696f1b3a442dec5fa9a01848e93f53cc6.tar.bz2 openshift-9454767696f1b3a442dec5fa9a01848e93f53cc6.tar.xz openshift-9454767696f1b3a442dec5fa9a01848e93f53cc6.zip |
Added ports.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_hosted/defaults/main.yml | 4 | ||||
-rw-r--r-- | roles/openshift_hosted/tasks/router/router.yml | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_hosted/defaults/main.yml b/roles/openshift_hosted/defaults/main.yml index d6d6edf67..0a6299c9b 100644 --- a/roles/openshift_hosted/defaults/main.yml +++ b/roles/openshift_hosted/defaults/main.yml @@ -20,6 +20,10 @@ openshift_hosted_routers: selector: "{{ openshift_hosted_router_selector }}" images: "{{ openshift_hosted_router_image }}" edits: "{{ openshift_hosted_router_edits }}" + stats_port: 1936 + ports: + - 80:80 + - 443:443 certificates: "{{ openshift_hosted_router_certificate | default({}) }}" diff --git a/roles/openshift_hosted/tasks/router/router.yml b/roles/openshift_hosted/tasks/router/router.yml index 44014f7e3..3b7021eae 100644 --- a/roles/openshift_hosted/tasks/router/router.yml +++ b/roles/openshift_hosted/tasks/router/router.yml @@ -36,6 +36,8 @@ key_file: "{{ ('/etc/origin/master/' ~ (item.certificates.keyfile | basename)) if 'keyfile' in item.certificates else omit }}" cacert_file: "{{ ('/etc/origin/master/' ~ (item.certificates.cafile | basename)) if 'cafile' in item.certificates else omit }}" edits: "{{ openshift_hosted_router_edits | union(item.edits) }}" + ports: "{{ item.ports }}" + stats_port: "{{ item.stats_port }}" with_items: "{{ openshift_hosted_routers }}" register: routerout |