How do I recursively copy a subset of files in a directory with Ansible?


0 votes
asked Feb 20, 2016 by Fbh4062To (360 points)
I'm trying to copy entire directory, its subdirectories, and all files in tree except hidden directories and files with Ansible.

3 Answers

0 votes
answered May 9, 2016 by Gurof (170 points)
I looked all over for an easy solution and found this code that worked for me
See http://www.jython.org/docs/library/shutil.html for the list of properties that can have transitions applied to them
commented May 11, 2016 by Snowdonits (120 points)
May be answer would depend on what problem you have with using iterator
0 votes
answered May 9, 2016 by FoderHeglund (1,220 points)
commented May 11, 2016 by Marina (600 points)
This will solve this problem forever
0 votes
answered May 9, 2016 by Mcculloch (510 points)
What would you ask Mathematica to do on a big system
commented May 10, 2016 by Woollard (230 points)
What happened to the Lassiter

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...