escalating priviledge from role
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml
index 8e22f8e..ea17ba5 100644
--- a/tasks/with_no_proxy.yml
+++ b/tasks/with_no_proxy.yml
@@ -2,7 +2,6 @@
# tasks file for apigee-opdk-setup-os-pip
- block:
- name: Update pip
- become: yes
pip:
name: pip
state: latest
@@ -17,13 +16,15 @@
rescue:
- name: Install epel
- include_import:
+ import_role:
name: apigee-opdk-setup-os-epel
- name: Install pip
yum: python-pip
state: latest
+ become: yes
+
- name: Update python packages
tags: ['pip']
become: yes