diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-02-07 12:50:44 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-02-07 12:50:44 +0200 |
commit | 65839f8fa1debe10aa69d5067f38a5fe90c40186 (patch) | |
tree | b4c8df505bcae0070428d4fcb283048d2a56ec20 /ansible/radicle-other-node.yml | |
parent | 4aa6390bb52e6a3f5f982b50ed035dbd2afb8be9 (diff) | |
download | ansibleness-65839f8fa1debe10aa69d5067f38a5fe90c40186.tar.gz |
radicle-other-node: seed repositories
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
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" |