diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-02-13 19:55:42 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-02-13 19:55:42 +0200 |
commit | 6809209e9e7abee241dedd8a74de16741ec93381 (patch) | |
tree | d6476733876ffb1d71db3f79b15bffd0430c0fd8 /ansible/seed.liw.fi.yml | |
parent | 6a117991af3ebbe49e72e37373e089df87148e2d (diff) | |
download | ansibleness-6809209e9e7abee241dedd8a74de16741ec93381.tar.gz |
add seed.liw.fi; drop testseed.liw.fi
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
Diffstat (limited to 'ansible/seed.liw.fi.yml')
-rw-r--r-- | ansible/seed.liw.fi.yml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/ansible/seed.liw.fi.yml b/ansible/seed.liw.fi.yml new file mode 100644 index 0000000..3057796 --- /dev/null +++ b/ansible/seed.liw.fi.yml @@ -0,0 +1,62 @@ +- hosts: seed.liw.fi + remote_user: root + become: yes + roles: + - role: sane_debian_system + - role: sshd + - role: unix_users + - role: rust-rustup + - role: radicle_node + tasks: + - name: "install convenience packages" + apt: + name: + - jq + - moreutils + - psmisc + 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/seed.liw.fi/key') }}" + radicle_node_key_pub: "{{ lookup('pipe', 'pass radicle/seed.liw.fi/key.pub') }}" + radicle_node_connections: + - nid: z6MkfXa53s1ZSFy8rktvyXt5ADCojnxvjAoQpzajaXyLqG5n + host: radicle.liw.fi + port: 8776 + radicle_node_repositories: + - rid: "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" + - rid: "rad:zZnk3hS8C3WAhnv7mWcCUToCqpBs" + radicle_node_domain_name: seed.liw.fi + radicle_node_ci_domain_name: ci.seed.liw.fi + radicle_node_ci_broker_config: | + default_adapter: native + adapters: + native: + command: /bin/radicle-native-ci + env: + RADICLE_NATIVE_CI: /home/_rad/native-ci.yaml + filters: + - !And + - !Repository "rad:zZnk3hS8C3WAhnv7mWcCUToCqpBs" + - !AnyPatch + radicle_node_policy: allow + + rust_rustup_user: _rad |