updated to using sudo
diff --git a/tasks/main.yml b/tasks/main.yml
index cab461e..1ec1c83 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -4,6 +4,7 @@
   shell: '{{ apigee_service }} apigee-postgresql stop'
 
 - name: Remove Postgres data directory
+  become: true
   file:
     path: '{{ apigee_installation_home }}/data/apigee-postgresql/pgdata'
     state: absent