Hello,

I have an issue with the remote_tmp parameter from the ansible.cfg that I 
would like to change from the playbook task.

The problem I have is the way I am connecting to the servers, with the 
different type of users. Here are some example

Most of the connections:
    GenericUserA/AnsibleServer ====(ssh)====>connecting with GenericUserA 
on server1
    GenericUserA cannot use su command for security reasons as it is a 
generic user
    GenericUserA's home folder on server1 is /opt/app1
Some connections:
    GenericUserA/AnsibleServer ====(ssh)====>connecting with SpecificUserB 
on server1
    SpecificUserB can use su command as root
    SpecificUserB, like all specific users, don't have a home folder on the 
server and default to the root.

When using SpecificUserB, I cannot create .ansible in the root folder, so I 
have set the remote_tmp to /tmp. when running a playbook, /tmp/.ansible is 
created with SpecificUserB permission. THe problem is when I want to run 
another playbook with GenericUserA, it fails as GenericUserA create 
anything in /tmp/.ansible. Same problem with any other SpecificUsers.

Any idea on how to solve this issue?

Regards,
Olivier

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5285ee07-1e89-4c88-9f5c-01d6c64ae3a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to