updated shell invocation
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml index 3cc4e92..70a3af7 100644 --- a/tasks/with_no_proxy.yml +++ b/tasks/with_no_proxy.yml
@@ -1,12 +1,8 @@ --- - name: Install Apigee component with no proxy - {{ component }} - shell: '{{ apigee_service }} {{ component }} install' + shell: '/bin/bash {{ apigee_service }} {{ component }} install' when: opdk_debug_mode is not defined or opdk_debug_mode | trim | lower == 'off' - args: - executable: /bin/bash - name: DEBUG_MODE - Install Apigee component with no proxy - {{ component }} - shell: '{{ apigee_service }} {{ component }} install' + shell: '/bin/bash -x {{ apigee_service }} {{ component }} install' when: opdk_debug_mode is defined and opdk_debug_mode | trim | lower == 'on' - args: - executable: /bin/bash