[ansible-project] stat upside down

2014-07-24 Thread 'Diogene Laerce' via Ansible Project
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

Re: [ansible-project] stat upside down

2014-07-24 Thread Michael DeHaan
That doesn't quite follow for me. However, I think you might really want this: when: a is defined and a.stat.isfile OR (depending on use case) when: a is defined and not a.stat.isfile Maybe try one of those first... On Thu, Jul 24, 2014 at 9:32 AM, 'Diogene Laerce' via Ansible Project