summaryrefslogtreecommitdiff
path: root/ansible/obnam-bench.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-12-29 20:24:24 +0200
committerLars Wirzenius <liw@liw.fi>2021-12-29 20:24:24 +0200
commitdd8cea54d7279786448df2f49b4c82387bb68029 (patch)
treef4c3e465c71a8f0bbd13560c368098784595952c /ansible/obnam-bench.yml
parentaeef2b7cd072c969316635ae459179135b249af6 (diff)
downloadansibleness-dd8cea54d7279786448df2f49b4c82387bb68029.tar.gz
obnam-bench: add
Sponsored-by: author
Diffstat (limited to 'ansible/obnam-bench.yml')
-rw-r--r--ansible/obnam-bench.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/ansible/obnam-bench.yml b/ansible/obnam-bench.yml
new file mode 100644
index 0000000..81a9793
--- /dev/null
+++ b/ansible/obnam-bench.yml
@@ -0,0 +1,44 @@
+- hosts: obnam-bench
+ remote_user: debian
+ become: yes
+ roles:
+ - role: sane_debian_system
+ tags: [sane]
+ - role: unix_users
+ tags: [users]
+ - role: rust-rustup
+ tags: [rustup]
+ - role: liw
+ tags: [liw]
+ tasks:
+ - apt:
+ name:
+ - build-essential
+ - daemonize
+ - git
+ - locales-all
+ - obnam
+ - rsync
+ vars:
+ ansible_python_interpreter: /usr/bin/python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: obnam-bench
+ sane_debian_system_codename: bullseye
+ sane_debian_system_timezone: Europe/Helsinki
+ sane_debian_system_sources_lists:
+ - repo: |
+ deb http://security.debian.org/debian-security buster/updates main
+
+ - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main
+ signing_key: "{{ ci_prod_signing_key }}"
+
+ unix_users_version: 2
+ unix_users:
+ - username: liw
+ comment: Lars Wirzenius
+ authorized_keys: |
+ {{ liw_personal_ssh_pub }}
+ - username: debian
+ authorized_keys: |
+ {{ liw_personal_ssh_pub }}