updated bootstrap permissions
diff --git a/tasks/install-bootstrap.yml b/tasks/install-bootstrap.yml
index 9d2439e..a4fdfda 100644
--- a/tasks/install-bootstrap.yml
+++ b/tasks/install-bootstrap.yml
@@ -2,6 +2,7 @@
- block:
- name: Update apigee-service if upgrade_edge is set as part of an upgrade with proxy
become: yes
+ become_user: root
command: "{{ bootstrap_script }} apigeeuser={{ apigee_repo_user }} apigeepassword='{{ apigee_repo_password }}' JAVA_FIX=C"
env:
JAVA_HOME: '{{ java_home }}'
@@ -13,6 +14,7 @@
- name: DEBUG_MODE - Update apigee-service if upgrade_edge is set as part of an upgrade with proxy
become: yes
+ become_user: root
shell: "bash -x {{ bootstrap_script }} apigeeuser={{ apigee_repo_user }} apigeepassword='{{ apigee_repo_password }}' JAVA_FIX=C"
env:
JAVA_HOME: '{{ java_home }}'
@@ -26,6 +28,7 @@
- block:
- name: Install bootstrap from the provided apigee_repo_uri and apigee_repo_protocol with proxy
become: yes
+ become_user: root
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'
@@ -41,6 +44,7 @@
- name: DEBUG_MODE - Install bootstrap from the provided apigee_repo_uri and apigee_repo_protocol with proxy
become: yes
+ become_user: root
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'
@@ -58,6 +62,7 @@
- block:
- name: Install bootstrap from development repositories with proxy
become: yes
+ become_user: root
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'
@@ -73,6 +78,7 @@
- name: DEBUG_MODE - Install bootstrap from development repositories with proxy
become: yes
+ become_user: root
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'