|
|
@ -33,6 +33,11 @@ |
|
|
state: directory |
|
|
state: directory |
|
|
register: tempfile |
|
|
register: tempfile |
|
|
|
|
|
|
|
|
|
|
|
- name: Use a local copy of the jboss-openshift/application-templates GIT repo |
|
|
|
|
|
set_fact: |
|
|
|
|
|
jboss_openshift_application_templates_git_repo: 'http://{{ offline_git_route }}/{{ jboss_openshift_application_templates_git_repo|basename|regex_replace(''[.]git$'', '''') }}' |
|
|
|
|
|
when: 'is_offline|default(false)|bool' |
|
|
|
|
|
|
|
|
- name: Check out the jboss-openshift/application-templates GIT repo |
|
|
- name: Check out the jboss-openshift/application-templates GIT repo |
|
|
git: |
|
|
git: |
|
|
repo: '{{ jboss_openshift_application_templates_git_repo }}' |
|
|
repo: '{{ jboss_openshift_application_templates_git_repo }}' |
|
|
@ -48,6 +53,7 @@ |
|
|
|
|
|
|
|
|
- name: Import the Red Hat SSO ImageStream (globally) |
|
|
- name: Import the Red Hat SSO ImageStream (globally) |
|
|
command: oc import-image -n openshift redhat-sso71-openshift |
|
|
command: oc import-image -n openshift redhat-sso71-openshift |
|
|
|
|
|
when: 'not is_offline|default(false)|bool' |
|
|
|
|
|
|
|
|
- name: Get a list of existing projects |
|
|
- name: Get a list of existing projects |
|
|
command: oc get projects -o name |
|
|
command: oc get projects -o name |
|
|
|