diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2017-02-14 16:20:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 16:20:15 +0100 |
commit | 950f5ba4e4f7b849eb6bc75bcd86ab9bd29a9dc8 (patch) | |
tree | 4cb7eb49ac82a93d3999dac352c94dd930f731d7 /roles/openshift_hosted/tasks | |
parent | 7127518224d996e01a89db147434e404ebd35296 (diff) | |
parent | 34d35e84e249bb6b0d419b7db92986b309cb9572 (diff) | |
download | openshift-950f5ba4e4f7b849eb6bc75bcd86ab9bd29a9dc8.tar.gz openshift-950f5ba4e4f7b849eb6bc75bcd86ab9bd29a9dc8.tar.bz2 openshift-950f5ba4e4f7b849eb6bc75bcd86ab9bd29a9dc8.tar.xz openshift-950f5ba4e4f7b849eb6bc75bcd86ab9bd29a9dc8.zip |
Merge pull request #3291 from ashcrow/oc-route-module
[WIP] oc route commands now using the oc_route module
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r-- | roles/openshift_hosted/tasks/registry/secure.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/roles/openshift_hosted/tasks/registry/secure.yml b/roles/openshift_hosted/tasks/registry/secure.yml index 556da5304..8b44b94c6 100644 --- a/roles/openshift_hosted/tasks/registry/secure.yml +++ b/roles/openshift_hosted/tasks/registry/secure.yml @@ -1,13 +1,13 @@ --- - name: Create passthrough route for docker-registry - command: > - {{ openshift.common.client_binary }} create route passthrough - --service docker-registry - --config={{ openshift_hosted_kubeconfig }} - -n default - register: create_docker_registry_route - changed_when: "'already exists' not in create_docker_registry_route.stderr" - failed_when: "'already exists' not in create_docker_registry_route.stderr and create_docker_registry_route.rc != 0" + oc_route: + kubeconfig: "{{ openshift_hosted_kubeconfig }}" + name: docker-registry + namespace: default + service_name: docker-registry + state: present + tls_termination: passthrough + run_once: true - name: Determine if registry certificate must be created stat: |