diff options
Diffstat (limited to 'ansible/radicle-other-node.yml')
-rw-r--r-- | ansible/radicle-other-node.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ansible/radicle-other-node.yml b/ansible/radicle-other-node.yml index 00abce7..afd263f 100644 --- a/ansible/radicle-other-node.yml +++ b/ansible/radicle-other-node.yml @@ -92,6 +92,16 @@ rad node connect "{{ item.nid }}@{{ item.host }}:{{ item.port }}" EOF sudo -u _rad bash -ex connect.sh + + - name: "seed Radicle repositories" + with_items: "{{ radicle_repositories }}" + shell: | + cat <<'EOF' > seed.sh + export PATH="$HOME/.radicle/bin:$PATH" + rad node status + rad seed "{{ item.rid }}" + EOF + sudo -u _rad bash -ex seed.sh vars: sane_debian_system_version: 2 sane_debian_system_hostname: "{{ inventory_hostname }}" @@ -114,3 +124,6 @@ - nid: z6MkfXa53s1ZSFy8rktvyXt5ADCojnxvjAoQpzajaXyLqG5n host: radicle.liw.fi port: 8776 + radicle_repositories: + - rid: "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" + - rid: "rad:zZnk3hS8C3WAhnv7mWcCUToCqpBs" |