|
|
@ -92,13 +92,6 @@ |
|
|
- threescale_cicd_apicast_production_endpoint |
|
|
- threescale_cicd_apicast_production_endpoint |
|
|
- threescale_cicd_sso_issuer_endpoint |
|
|
- threescale_cicd_sso_issuer_endpoint |
|
|
pre_tasks: |
|
|
pre_tasks: |
|
|
- name: Clone the git repo containing the API Definition |
|
|
|
|
|
git: |
|
|
|
|
|
repo: '{{ git_repository }}' |
|
|
|
|
|
dest: '{{ playbook_dir }}/api' |
|
|
|
|
|
version: '{{ git_ref }}' |
|
|
|
|
|
when: 'git_repository|length > 0' |
|
|
|
|
|
|
|
|
|
|
|
- name: Accept threescale_cicd_* variables from environment variables (lowercase) |
|
|
- name: Accept threescale_cicd_* variables from environment variables (lowercase) |
|
|
set_fact: |
|
|
set_fact: |
|
|
'{{ item|lower }}': '{{ lookup(''env'', item|lower) }}' |
|
|
'{{ item|lower }}': '{{ lookup(''env'', item|lower) }}' |
|
|
@ -111,6 +104,13 @@ |
|
|
with_items: '{{ parameter_whitelist }}' |
|
|
with_items: '{{ parameter_whitelist }}' |
|
|
when: 'lookup(''env'', item|upper)|length > 0' |
|
|
when: 'lookup(''env'', item|upper)|length > 0' |
|
|
|
|
|
|
|
|
|
|
|
- name: Clone the git repo containing the API Definition |
|
|
|
|
|
git: |
|
|
|
|
|
repo: '{{ git_repository }}' |
|
|
|
|
|
dest: '{{ playbook_dir }}/api' |
|
|
|
|
|
version: '{{ git_ref }}' |
|
|
|
|
|
when: 'git_repository|length > 0' |
|
|
|
|
|
|
|
|
- name: Check if /tmp/secrets/sso_issuer_endpoint exists |
|
|
- name: Check if /tmp/secrets/sso_issuer_endpoint exists |
|
|
stat: |
|
|
stat: |
|
|
path: /tmp/secrets/sso_issuer_endpoint |
|
|
path: /tmp/secrets/sso_issuer_endpoint |
|
|
|