summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-06-24 08:32:06 +0300
committerLars Wirzenius <liw@liw.fi>2022-06-24 08:32:06 +0300
commitb5494790ba3a521ea705d00d9a712b0b529eb370 (patch)
treed259cb4faf6f3d1ff32d14a21d88a3526e0be948
parent5e4aa33d4186b432fcfe40fdfebb1704cd12dd35 (diff)
downloadansibleness-b5494790ba3a521ea705d00d9a712b0b529eb370.tar.gz
rikiwiki-dev: add playbook
Sponsored-by: author
-rw-r--r--ansible/rikiwiki-dev.yml51
1 files changed, 51 insertions, 0 deletions
diff --git a/ansible/rikiwiki-dev.yml b/ansible/rikiwiki-dev.yml
new file mode 100644
index 0000000..ba0bdb0
--- /dev/null
+++ b/ansible/rikiwiki-dev.yml
@@ -0,0 +1,51 @@
+- hosts: rikiwiki-dev
+ remote_user: debian
+ become: yes
+ roles:
+ - role: sane_debian_system
+ tags: [sane]
+ - 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
+ - lmodern
+ - pandoc
+ - pandoc-citeproc
+ - plantuml
+ - python3
+ - python3-requests
+ - texlive-fonts-recommended
+ - texlive-latex-base
+ - texlive-latex-recommended
+ - texlive-plain-generic
+ 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