Skip to content

Commit

Permalink
Clone the data from the linode onto this node
Browse files Browse the repository at this point in the history
  • Loading branch information
cailafinn committed Sep 24, 2024
1 parent 4e4d4f9 commit c6e51fa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
- name: Create a directory to hold the mirror of the external data.
ansible.builtin.file:
path: /external-data/
path: /external-data/MD5/
state: directory
mode: '0755'

- name: Exchange SSH keys with linode so we can access the data.
import_tasks: exchange-keys.yml

- name: Mirror the external data from the main server (this may take a while).
command: "rsync -az --perms -o -g {{ main_server_ip }}:/srv/{{ main_server_ip }}/ftp/external-data/MD5/ /external-data/MD5/"

0 comments on commit c6e51fa

Please sign in to comment.