Re: [ansible-project] unarchive module / unarchive action

18 views
Skip to first unread message

Michael DeHaan

unread,
Sep 14, 2014, 9:36:36 AM9/14/14
to ansible...@googlegroups.com
I replied to another post about this one just recently, so please refer to that reply.

Thanks!

On Sun, Sep 14, 2014 at 8:09 AM, Olivier Javaux <olivier...@orange.fr> wrote:
I am using ansible 1.8 devel

I have a task like this one:

- name: something
  unarchive: creates=some_file src=src_file.tar.gz dest=dest_dir

In this configuration, archive is always copied, even if some_file exists

But if I do that:
- unarchive: creates=some_file src=src_file.tar.gz dest=dest_dir

It works correctly.
Browsing through source code, I saw that there is a runner/action_plugins/unarchive.py
file, which makes me think that there is an action names "unarchive".
In the first case, action is done, in the second, module is used.
(that is only my understanding.. I am not familiar with ansible architecture).

Please, could you explain me what is wrong?


--
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/e6a42a8d-6538-43f6-9dff-db1c08f5f1a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages