Skip to content

Commit

Permalink
Added ports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny Woodson committed Mar 2, 2017
1 parent b58ed12 commit 9454767
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/openshift_hosted/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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({}) }}"


Expand Down
2 changes: 2 additions & 0 deletions roles/openshift_hosted/tasks/router/router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9454767

Please sign in to comment.