In a previous life I've had to do what you are attempting.
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAK1mKEQxjUW0kB9Yb426THm8HZCMOy%3DbdbCzztjARScFrYsKzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Thank you again for your precious help.
Regards,
Olivier
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a7ac54d2-e808-4c46-855e-5f3326b5b069%40googlegroups.com.
On Jul 16, 2015 12:53 PM, "Timothy Appnel" <ti...@ansible.com> wrote:
>
> I wouldn't recommend just dropping your library in to just /tmp to avoid a potential conflict with another job or process. Perhaps create a separate directory like the name of your project or playbook under tmp and store it there? I think create a specific directory helps avoid this.
>
Yes, using bare /tmp is also a security risk (as anyone with access to the machine can put something in /tmp. Imagine if someone puts their own version of os.py in there, for instance). A subdirectory with proper mode bits set works. A subdirectory in a non-world-writable location is even better.
-Toshio