From 620ca63916480ce33755928cc6069a05c9b5db4d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 13 Feb 2024 15:50:03 +0200 Subject: testseed.liw.fi: host for testing Radicle seed node deployment Signed-off-by: Lars Wirzenius Sponsored-by: author --- ansible/hosts | 2 ++ ansible/testseed.liw.fi | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 ansible/testseed.liw.fi diff --git a/ansible/hosts b/ansible/hosts index 2205510..dc99a81 100644 --- a/ansible/hosts +++ b/ansible/hosts @@ -19,6 +19,7 @@ radicle-multi radicle-other-node radicle-test riki-dev +rust-dev sshca-dev subplot-dev v-i-dev @@ -56,4 +57,5 @@ http.liw.fi irc.liw.fi shell-shell.vm.liw.fi radicle.liw.fi +testseed ansible_ssh_host=testseed.liw.fi wumpus.liw.fi diff --git a/ansible/testseed.liw.fi b/ansible/testseed.liw.fi new file mode 100644 index 0000000..cc931fe --- /dev/null +++ b/ansible/testseed.liw.fi @@ -0,0 +1,47 @@ +- hosts: testseed + remote_user: root + become: yes + roles: + - role: sane_debian_system + - role: sshd + - role: unix_users + - role: radicle_node + tasks: + - name: "install important additional packages" + apt: + name: + - caddy + - moreutils + - psmisc + - radicle-ci-broker + - radicle-native-ci + vars: + ansible_python_interpreter: /usr/bin/python3 + + sane_debian_system_version: 2 + sane_debian_system_hostname: "{{ inventory_hostname }}" + sane_debian_system_codename: bookworm + sane_debian_system_timezone: Europe/Helsinki + sane_debian_system_sources_lists: + - repo: | + deb http://security.debian.org/debian-security bookworm-security main contrib non-free + - repo: deb http://apt.liw.fi/debian unstable main + signing_key: "{{ apt_liw_fi_signing_key }}" + + unix_users_version: 2 + unix_users: + - username: _rad + comment: Radicle node + + sshd_version: 1 + + radicle_node_version: 1 + radicle_node_key: "{{ lookup('pipe', 'pass radicle/testseed.liw.fi/key') }}" + radicle_node_key_pub: "{{ lookup('pipe', 'pass radicle/testseed.liw.fi/key.pub') }}" + radicle_node_connections: + - nid: z6MkfXa53s1ZSFy8rktvyXt5ADCojnxvjAoQpzajaXyLqG5n + host: radicle.liw.fi + port: 8776 + radicle_node_repositories: + - rid: "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" + - rid: "rad:zZnk3hS8C3WAhnv7mWcCUToCqpBs" -- cgit v1.2.1