summaryrefslogtreecommitdiff
path: root/ansible/texlive.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-06-11 11:05:34 +0300
committerLars Wirzenius <liw@liw.fi>2023-06-11 11:05:34 +0300
commit6e0c7e5368eb55ee54ef2fa163d2bc2fe334c5a8 (patch)
tree9280c52e79d34eba8659c583bd93a93ef41f2c0d /ansible/texlive.yml
parentfcb9efe3644efe5fe378926124fa14a8630de849 (diff)
downloadansibleness-6e0c7e5368eb55ee54ef2fa163d2bc2fe334c5a8.tar.gz
texlive: playbook
Sponsored-by: author
Diffstat (limited to 'ansible/texlive.yml')
-rw-r--r--ansible/texlive.yml51
1 files changed, 51 insertions, 0 deletions
diff --git a/ansible/texlive.yml b/ansible/texlive.yml
new file mode 100644
index 0000000..4fc4c7c
--- /dev/null
+++ b/ansible/texlive.yml
@@ -0,0 +1,51 @@
+- hosts: texlive
+ remote_user: debian
+ become: yes
+ roles:
+ - role: sane_debian_system
+ tags: [sane]
+ - role: sshd
+ tags: [sshd]
+ - role: unix_users
+ tags: [users]
+ - role: liw
+ tags: [liw]
+ tasks:
+ - apt:
+ name:
+ - rsync
+ - graphviz
+ - librsvg2-bin
+ - lmodern
+ - pandoc
+ - pandoc-citeproc
+ - pandoc-filter-diagram
+ - make
+ - plantuml
+ - python3
+ - texlive-fonts-recommended
+ - texlive-latex-base
+ - texlive-latex-extra
+ - texlive-latex-recommended
+ - texlive-plain-generic
+ vars:
+ ansible_python_interpreter: /usr/bin/python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: "{{ inventory_hostname }}"
+ 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
+
+ sshd_version: 1
+ sshd_allow_authorized_keys: yes