--
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/4b7ee8b1-949b-4bcc-a37e-1ca7c4f9017f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
print module_return.result
module_return = self.runner._execute_module(conn, tmp, 'stat', module_args_tmp, inject=inject,
complex_args=complex_args, persist_files=True)
{u'msg': u'unsupported parameter for module: creates', u'failed': True}
However I have the same result; when unarchive.py tries to stat the file I've passed as the creates parameter to unarchive, the stat fails as in my previous message.
- unarchive:
src: 'file.zip'
dest: '/foo'
creates: '/foo/bar'
- unarchive: src='file.zip' dest='/foo' creates='/foo/bar'
Yeah, that would be a bug. Probably best to open a bug report on github so we can look into it and not forget.
-Toshio
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/354a3cc4-d963-44f8-9764-ab7ddd1b4fe2%40googlegroups.com.
are you using variables in both complex syntax and inline syntax?
can you post the actual task where you use that module?
- name: extract project
unarchive: src='project-{{ project_version }}.zip' dest='/opt' creates='{{ project_dest }}/README.txt'
sudo: true
---
project_version: 1.2.3.v20141123
project_dest: /opt/project-{{ project_version }}
- name: extract project
unarchive:
src: 'project-{{ project_version }}.zip'
dest: '/opt'
creates: '{{ project_dest }}/README.txt'
sudo: true
also, are you using copy=false?