in Technology by
How will you copy files recursively onto a target host?

1 Answer

0 votes
by

There’s a copy module that has a recursive parameter in it but there’s something called synchronize which is more efficient for large numbers of files. 

For example:

- synchronize:
   src: /first/absolute/path
   dest: /second/absolute/path
   delegate_to: "{{ inventory_hostname }}"

Related questions

0 votes
    What is the command used to copy data from the local system onto HDFS?...
asked Aug 5, 2021 in Technology by JackTerrance
0 votes
    It is a peripheral device which will print anything created on a computer onto a paper, whether it be text or ...  Projector  Monitor Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    io 3. When you switch on the computer, the Windows OS gets loaded onto the computer's memory, this process is ... (d) None of these Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    How do I copy a file in Python? I couldn't find anything under os module. JavaScript questions and ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 20, 2022 in Education by JackTerrance
0 votes
    How do I copy a file in Python? I couldn't find anything under os module. JavaScript questions and ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 20, 2022 in Education by JackTerrance
0 votes
    How do I copy a file in Python? I couldn't find anything under os module. JavaScript questions and ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 20, 2022 in Education by JackTerrance
0 votes
    I am unable to copy some files from a S3 bucket in AWS CLI Adding * to the path is not helping: ... /personalfiles/file* Please help Select the correct answer from above options...
asked Jan 24, 2022 in Education by JackTerrance
0 votes
    Which module can be used to copy files from remote machine to control machine? (i)copy (ii)move (iii)ping (iv)fetch...
asked Jan 25, 2023 in Technology by JackTerrance
0 votes
    What kind of files can be imported or exported using the COPY command (1)sstables (2)CSV (3)json (4)parquet...
asked Apr 17, 2021 in Technology by JackTerrance
0 votes
    I'm working on this script that first takes all .csv's and converts them .xlsx's in a separate ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 3, 2022 in Education by JackTerrance
0 votes
    I'm working on this script that first takes all .csv's and converts them .xlsx's in a separate ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 3, 2022 in Education by JackTerrance
0 votes
    name of device wjhich is used to copy and save files on computer Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    MAHESH FOUND IT VERY DIFFICULT TO COPY FILES ON DOS AND REQUESTED HIS BOSS TO GET WINDOWS LOADED ON HIS SYSTEM. GIVE THE REASON WHY Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    It takes effort to copy files and directories from a USB drive or OneDrive to the local drive, work with and ... or a remote system? Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    What kind of files can be imported or exported using the COPY command (1)sstables (2)CSV (3)json (4)parquet...
asked May 6, 2021 in Education by JackTerrance
...