Question: I have a hybrid app that was created with WL 6.1 that uses the included dojolib. Currently it is in production for iphone and we are adding the android flavor of it. When running the code from the mobile simulator on the console, both the android and iphone work fine. The ipa file works fine. When I run the hybrid on an android device (Samsung S4), the application throws errors in the log on app startup. I have the "provide dojo libraries" turned off. In the DDMS log I see statements like the following:

```
09-09 12:47:12.092: E/AndroidProtocolHandler(20324): Unable to open asset URL: file:///android_asset/www/default/dojo/_base/declare.js
09-09 12:47:12.263: E/AndroidProtocolHandler(20324): Unable to open asset URL: file:///android_asset/www/default/dojo/_base/connect.js
09-09 12:47:12.303: E/AndroidProtocolHandler(20324): Unable to open asset URL: file:///android_asset/www/default/dojo/_base/event.js

```

Looking out in the android project in eclipse, I see those files in the "assets/www/default/dojo/\_base" directory. The issue is when I look in the APK file, the "\_base" directory is not there. Any help as to understanding why it is missing?

Answer: 
For those running into "Failed to set permissions on the temporary files Ansible needs to create..." in order to switch to the `postgres` user with `become_user` you can leverage pipelining on Ubuntu hosts.

Create a `ansible.cfg` in your playbook directory and add the following lines:

```
[ssh_connection]
pipelining=True

```

**Update:** according to @lolcode Ansible 2.9.0 has updated to `ansible_pipelining`

```
   [ssh_connection]
   ansible_pipelining = true

```

**Update 4/30/2020:** for those who still have issues, try installing `acl` which will cause Ansible to use this acl filesystem to mount module that need to be accessible by the 2nd user instead of making them readable by everyone. Thanks @Andreas Florath

```
- name: install setfacl support
  become: yes
  apt: pkg=acl

```
This problem due to postgres authentication methods configured at **/etc/postgresql/10/main/pg\_hba.conf** , the configuration location may vary depending on the version installed, **/etc/postgresql//main/pg\_hba.conf**

```html
sample ansible recipe
---
- name : "Dump PostgreSQL database"
  gather_facts: true
  hosts: posgre_host
  tasks:
    - name: Dump existing PostgreSQL database
      community.postgresql.postgresql_db:
        name: demo
        state: dump
        target: /tmp/backup/backup.sql.gz
      become: true

```

From

```
local           all           postgres           peer

```

To

```
local           all             postgres        trust

```

Here trust authentication method anyone connect to the server is authorized to access the database, since ansible is working based on ssh, it is safe to change.