diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-09-28 14:45:19 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-09-28 14:45:19 +0300 |
commit | e8d1d70a407278ea19d75f89852e7672a9f545b7 (patch) | |
tree | ebd51d8feea69a6f3c488917c297a10f0e078a3d /ansible/riki-dev.yml | |
parent | 7cc2c31ad550ff7327636dc940c90f61a3d10b53 (diff) | |
download | ansibleness-e8d1d70a407278ea19d75f89852e7672a9f545b7.tar.gz |
adapt to fewer VMs on stamina
Sponsored-by: author
Diffstat (limited to 'ansible/riki-dev.yml')
-rw-r--r-- | ansible/riki-dev.yml | 65 |
1 files changed, 65 insertions, 0 deletions
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 |