clean up bootstrap
diff --git a/tasks/install-bootstrap.yml b/tasks/install-bootstrap.yml
index 63eb077..9d2439e 100644
--- a/tasks/install-bootstrap.yml
+++ b/tasks/install-bootstrap.yml
@@ -1,6 +1,7 @@
---
- block:
- name: Update apigee-service if upgrade_edge is set as part of an upgrade with proxy
+ become: yes
command: "{{ bootstrap_script }} apigeeuser={{ apigee_repo_user }} apigeepassword='{{ apigee_repo_password }}' JAVA_FIX=C"
env:
JAVA_HOME: '{{ java_home }}'
@@ -11,6 +12,7 @@
https_proxy: "{{ https_proxy }}"
- name: DEBUG_MODE - Update apigee-service if upgrade_edge is set as part of an upgrade with proxy
+ become: yes
shell: "bash -x {{ bootstrap_script }} apigeeuser={{ apigee_repo_user }} apigeepassword='{{ apigee_repo_password }}' JAVA_FIX=C"
env:
JAVA_HOME: '{{ java_home }}'
@@ -23,6 +25,7 @@
- block:
- name: Install bootstrap from the provided apigee_repo_uri and apigee_repo_protocol with proxy
+ become: yes
command: 'bash {{ bootstrap_script }} apigeeuser={{ apigee_repo_user }} apigeepassword={{ apigee_repo_password }} apigeerepohost={{ apigee_repo_uri | default(default_apigee_repo_uri) }} apigeeprotocol={{ apigee_repo_protocol | default(default_apigee_repo_protocol) }}:// JAVA_FIX=C'
args:
creates: '{{ apigee_home }}/apigee-service/bin/apigee-service'
@@ -37,6 +40,7 @@
https_proxy: "{{ https_proxy }}"
- name: DEBUG_MODE - Install bootstrap from the provided apigee_repo_uri and apigee_repo_protocol with proxy
+ become: yes
shell: 'bash -x {{ bootstrap_script }} apigeeuser={{ apigee_repo_user }} apigeepassword={{ apigee_repo_password }} apigeerepohost={{ apigee_repo_uri | default(default_apigee_repo_uri) }} apigeeprotocol={{ apigee_repo_protocol | default(default_apigee_repo_protocol) }}:// JAVA_FIX=C'
args:
creates: '{{ apigee_home }}/apigee-service/bin/apigee-service'
@@ -53,6 +57,7 @@
- block:
- name: Install bootstrap from development repositories with proxy
+ become: yes
command: 'bash {{ bootstrap_script }} apigeeuser={{ apigee_repo_user }} apigeepassword={{ apigee_repo_password }} apigeestage={{ apigee_stage }} apigeerepohost={{ apigee_repo_uri | default(default_apigee_repo_uri) }} apigeeprotocol={{ apigee_repo_protocol | default(default_apigee_repo_protocol) }}:// JAVA_FIX=C'
args:
creates: '{{ apigee_home }}/apigee-service/bin/apigee-service'
@@ -67,6 +72,7 @@
https_proxy: "{{ https_proxy }}"
- name: DEBUG_MODE - Install bootstrap from development repositories with proxy
+ become: yes
shell: 'bash -x {{ bootstrap_script }} apigeeuser={{ apigee_repo_user }} apigeepassword={{ apigee_repo_password }} apigeestage={{ apigee_stage }} apigeerepohost={{ apigee_repo_uri | default(default_apigee_repo_uri) }} apigeeprotocol={{ apigee_repo_protocol | default(default_apigee_repo_protocol) }}:// JAVA_FIX=C'
args:
creates: '{{ apigee_home }}/apigee-service/bin/apigee-service'