diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-07-29 13:14:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-29 13:14:19 -0400 |
commit | c70525677eed8818602d2a6db080e009689c0ca3 (patch) | |
tree | 0816b151ac815ee8b14cfecc7b7916c1c635cefa /roles/openshift_examples/tasks | |
parent | 0288a5664f794237384535d26e81467b99bdd6cb (diff) | |
parent | e222cb75df84ddd1d9d53d3960f31e2d8b757ffe (diff) | |
download | openshift-c70525677eed8818602d2a6db080e009689c0ca3.tar.gz openshift-c70525677eed8818602d2a6db080e009689c0ca3.tar.bz2 openshift-c70525677eed8818602d2a6db080e009689c0ca3.tar.xz openshift-c70525677eed8818602d2a6db080e009689c0ca3.zip |
Merge pull request #2218 from sdodson/image-stream-sync
xPaaS v1.3.2 release
Diffstat (limited to 'roles/openshift_examples/tasks')
-rw-r--r-- | roles/openshift_examples/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/openshift_examples/tasks/main.yml b/roles/openshift_examples/tasks/main.yml index 8d2248578..d80e7f086 100644 --- a/roles/openshift_examples/tasks/main.yml +++ b/roles/openshift_examples/tasks/main.yml @@ -95,6 +95,18 @@ failed_when: "'already exists' not in oex_import_infrastructure.stderr and oex_import_infrastructure.rc != 0" changed_when: false +- name: Remove old xPaas template files + file: + path: "{{ item }}" + state: absent + with_items: + - "{{ xpaas_templates }}/sso70-basic.json" + +- name: Remove old xPaas templates from openshift namespace + command: oc delete -n openshift {{ item }} + with_items: + - sso70-basic + - name: Import xPaas image streams command: > {{ openshift.common.client_binary }} {{ openshift_examples_import_command }} -n openshift -f {{ xpaas_image_streams }} |