From e8d1d70a407278ea19d75f89852e7672a9f545b7 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 28 Sep 2022 14:45:19 +0300 Subject: adapt to fewer VMs on stamina Sponsored-by: author --- ansible/riki-dev.yml | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 ansible/riki-dev.yml (limited to 'ansible/riki-dev.yml') diff --git a/ansible/riki-dev.yml b/ansible/riki-dev.yml new file mode 100644 index 0000000..92dc64b --- /dev/null +++ b/ansible/riki-dev.yml @@ -0,0 +1,65 @@ +- hosts: riki-dev + remote_user: debian + become: yes + roles: + - role: sane_debian_system + tags: [sane] + - role: sshd + tags: [sshd] + - role: comfortable-debian-system + tags: [comfy] + - role: unix_users + tags: [users] + - role: rust-rustup + tags: [rustup] + - role: liw + tags: [liw] + tasks: + - apt: + name: + - build-essential + - daemonize + - debhelper + - dh-cargo + - graphviz + - librsvg2-bin + - linux-perf + - lmodern + - pandoc + - pandoc-citeproc + - plantuml + - python3 + - python3-requests + - texlive-fonts-recommended + - texlive-latex-base + - texlive-latex-recommended + - texlive-plain-generic + - sysctl: + name: kernel.perf_event_paranoid + value: "0" + state: present + sysctl_set: yes + vars: + ansible_python_interpreter: /usr/bin/python3 + + sane_debian_system_version: 2 + sane_debian_system_hostname: rikiwiki-dev + sane_debian_system_codename: bullseye + sane_debian_system_timezone: Europe/Helsinki + sane_debian_system_sources_lists: + - repo: | + deb http://security.debian.org/debian-security bullseye-security main contrib non-free + + - 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 + + rustup_cargo_install: | + flamegraph + + sshd_version: 1 + sshd_allow_authorized_keys: yes -- cgit v1.2.1