Thank you very much Brian. This was incredibly useful. I had to do a small change to your suggested command otherwise it lists all the directories found recursively. I added the maxdepth option. This is for people looking later for the answer:
with_pipe: find /home/git/*.git -type d -maxdepth 0 Le mercredi 20 janvier 2016 19:31:14 UTC+1, Brian Coca a écrit : > > with_pipe: find /home/git/*.git -type d > > > -- > Brian Coca > -- 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/4e3af5db-2f93-4af5-90e1-7dd0cebcadcb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
