You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Hi,
I have this strange issue. The following code was working fine (I think)
as :
############################
- name: Verify Python-3.4.1.tgz download
stat: path=/tmp/Python-3.4.1.tgz
register: a
- name: Extract archive
unarchive: >
src=/tmp/Python-3.4.1.tgz
dest=/home/{{ user_installer }}/src
copy=no
when: a.stat.isfile is not defined
############################
Until today I enable it again in the playbook and it now works "upside
down" :
It does extract the archive only when a.stat.isfile is not defined and
when "a.stat.isfile is defined and a.stat.isfile == true" : it just
skips the whole code.
Anyone knows what could happened here ?
Thank you
--
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”