summaryrefslogtreecommitdiff
path: root/ansible/obnam-dev.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-08-20 20:07:49 +0300
committerLars Wirzenius <liw@liw.fi>2021-08-20 20:07:49 +0300
commit4c4f88a3b75b2706926a438f142ab1f8f7f504ac (patch)
tree4d55621550f79429d8775f8e917f88ca662e8ed9 /ansible/obnam-dev.yml
parent9655e97ecd7545ce66bbb40ee7bb2c5de7948a31 (diff)
downloadansibleness-4c4f88a3b75b2706926a438f142ab1f8f7f504ac.tar.gz
add obnam-dev playbook
Sponsored-by: author
Diffstat (limited to 'ansible/obnam-dev.yml')
-rw-r--r--ansible/obnam-dev.yml55
1 files changed, 55 insertions, 0 deletions
diff --git a/ansible/obnam-dev.yml b/ansible/obnam-dev.yml
new file mode 100644
index 0000000..118cea5
--- /dev/null
+++ b/ansible/obnam-dev.yml
@@ -0,0 +1,55 @@
+- hosts: obnam-dev
+ remote_user: debian
+ become: yes
+ roles:
+ - role: sane_debian_system
+ tags: [sane]
+ - role: comfortable-debian-system
+ tags: [comfy]
+ - role: version-controller
+ tags: [vcs]
+ - role: unix_users
+ tags: [users]
+ tasks:
+ - apt:
+ name:
+ - build-essential
+ - daemonize
+ - debhelper
+ - dh-cargo
+ - git
+ - libsqlite3-dev
+ - libssl-dev
+ - moreutils
+ - pkg-config
+ - python3
+ - python3-requests
+ - python3-yaml
+ - shellcheck
+ - strace
+ - subplot
+ - summain
+ - texlive-fonts-recommended
+ - texlive-latex-base
+ - texlive-latex-recommended
+
+ vars:
+ ansible_python_interpreter: /usr/bin/python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: obnam-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 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_ssh_pub }}