File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
bind-unifiedpush-apb/tasks
provision-unifiedpush-apb/tasks Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ OiBpb3NJc1Byb2R1Y3Rpb24KICAgICAgdGl0bGU6IElzIHRoaXMgYSBwcm9kdWN0aW9uIGNlcnRp\
43
43
ZmljYXRlPwogICAgICBkZWZhdWx0OiBmYWxzZQogICAgICB0eXBlOiBib29sZWFuCiAgICAgIGRp\
44
44
c3BsYXlfdHlwZTogY2hlY2tib3gKICAgICAgZGlzcGxheV9ncm91cDogaU9TCg=="
45
45
46
+
46
47
COPY playbooks /opt/apb/actions
47
48
COPY roles /opt/ansible/roles
48
49
COPY vars /opt/ansible/vars
Original file line number Diff line number Diff line change 1
1
# Store the name of the service instance. It's required for some purposes like adding
2
2
# annotations to the mobile client
3
3
4
- - name : " Get the name of the service insance "
4
+ - name : " Get the name of the service instance "
5
5
shell : oc get serviceinstance --namespace={{ namespace }} -o jsonpath='{.items[?(@.spec.externalID=="{{ _apb_service_instance_id }}")].metadata.name}'
6
6
register : serviceinstance_name
7
7
8
+ - name : " Ensure compatibility with older ASB versions"
9
+ set_fact :
10
+ _apb_service_binding_id : " DUMMY"
11
+ when : _apb_service_binding_id is not defined
12
+
8
13
- set_fact :
9
14
UPS_NAME : " {{ serviceinstance_name.stdout }}"
10
15
Original file line number Diff line number Diff line change 118
118
until : ups_result.stdout.find("3") != -1
119
119
retries : 30
120
120
delay : 5
121
-
121
+
122
122
- name : " Create {{ namespace }} PushApplication on service host {{ unifiedpush_service.service.spec.cluster_ip }}"
123
123
uri :
124
124
url : " http://{{ unifiedpush_service.service.spec.cluster_ip }}/rest/applications"
127
127
validate_certs : no
128
128
body_format : json
129
129
status_code : 201
130
- retries : 5
130
+ retries : 30
131
131
until : namespace_push_app.status == 201
132
132
delay : 5
133
133
register : namespace_push_app
You can’t perform that action at this time.
0 commit comments