diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-10-28 07:27:47 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-10-28 07:27:47 +0300 |
commit | 2bbdec454488e63d5e446c930d4289cbc6ac72d7 (patch) | |
tree | 57f75fb82985f288ae8518622c8f8a6a597b38eb /ansible/radicle-test.yml | |
parent | efa81d725dd06447190f43c0df51685241c8bb23 (diff) | |
download | ansibleness-2bbdec454488e63d5e446c930d4289cbc6ac72d7.tar.gz |
radicle-test: add playbook
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
Diffstat (limited to 'ansible/radicle-test.yml')
-rw-r--r-- | ansible/radicle-test.yml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/ansible/radicle-test.yml b/ansible/radicle-test.yml new file mode 100644 index 0000000..76c5fd3 --- /dev/null +++ b/ansible/radicle-test.yml @@ -0,0 +1,45 @@ +- hosts: radicle-test + remote_user: debian + become: yes + roles: + - role: sane_debian_system + - role: sshd + - role: unix_users + - role: liw + - role: rust-rustup + tasks: + - apt: + name: + - git + - moreutils + - psmisc + - rsync + - screen + + - git: + repo: https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git + dest: /home/liw/heartwood + + - shell: | + chown -R liw:liw /home/liw/heartwood + + 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: "{{ ci_prod_signing_key }}" + + unix_users_version: 2 + unix_users: + - username: liw + comment: Lars Wirzenius + + sshd_version: 1 |