Re: [ansible-project] access local file from ansible custom module

2015-04-20 Thread jack
Thanks you so much, we will give a try. On Saturday, April 18, 2015 at 10:45:05 AM UTC-7, Chris Church wrote: > > If you need to use a local file from your module, you may need to create > an action plugin along with your remote module. The patch "module", for > example, uses an action plugin t

Re: [ansible-project] access local file from ansible custom module

2015-04-18 Thread m...@andreatartaglia.com
Hi jack, what do you mean by accessing local files? You can use synchronise or copy to push the file to the remote or "fetch" to pull it. -- Andrea - Reply message - From: "jack" To: Subject: [ansible-project] access local file from ansible custom module Date:

Re: [ansible-project] access local file from ansible custom module

2015-04-18 Thread Chris Church
If you need to use a local file from your module, you may need to create an action plugin along with your remote module. The patch "module", for example, uses an action plugin to read the source file (when remote_src=False) and copy it to the remote system before running the patch module remotely:

[ansible-project] access local file from ansible custom module

2015-04-17 Thread jack
Hi, We are trying to deploying some custom modules which have a requirement to access some local files? Is that possible? Thanks Jack -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails