Hi,

I would like to evaluate the following condition :

#############################################

- name: Make Debian package
shell: command=make deb chdir=/home/{{ user_installer }}/src/Python.3.4.1
when: "os.path.isdir('/home/{{ user_installer }}/src/Python-3.4.1') == True"

#############################################

But I get this error message :

"error when evaluating conditional"

The condition should return True. Do I do something syntactically wrong ?
I saw this syntax on Google but with previous versions of Ansible, does
it still
support this ?

Thanks,

-- 
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”

                                              Diogene Laerce
        


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to