Hi Guys,
I need advice on speeding up this task:
- name: "restore files to {{ location }}"
ansible.builtin.copy:
src: "/home/ian/backup/hobson42/var/www/ianhobson.com/"
dest: "{{ location }}"
It copies 5022 files, totalling 109.2Mb, and even though both machines
have NVME SSDs and the network is quiet,
the task takes over 30 minutes! Note - some of the files are owned by
root, and have "600" permissions, which need to be preserved.
How do I go about this in a secure way?
I was thinking of setting up passwordless keyfile access for root, and
then using command: sudo rsync, delegated to localhost, and tearing root
access down again afterwards. How would I do this using Ansible?
Ideas and advice welcome.
Ian
--
Ian Hobson
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/bc6e08f4-58e5-64ac-fc0a-a9fd98d546b9%40gmail.com.