hello group,
I want to do something which should be quite easy, but I cannot find out
exactly how I should do it.
I want variable usedir to have the name of directory {{currentdir}}/rails
if it exists, else I want to have it the name of directory {{prevdir}}/rails
if that directory exists, else I want it to be the empty string.
I have two registered variables with the stat value of the two directories
with names curstat and prevstat. How can I use them to set variable userdir?
Thanks for your help.
Ruud
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/7b4e7e98-a7f5-44b4-9b5c-f56fccd340f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.