summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-07-07 10:15:32 +0300
committerLars Wirzenius <liw@liw.fi>2022-07-07 10:15:32 +0300
commit72c62fa008e2a28d8d7eab0dc248b883369b328b (patch)
tree298a49ee8c075259adbe93f4303941293bcc2c99
parentba9e81cbb611e141b5e1eb435868c53c49b26902 (diff)
downloadansibleness-72c62fa008e2a28d8d7eab0dc248b883369b328b.tar.gz
v-i-dev: add playbook
Sponsored-by: author
-rw-r--r--ansible/hosts1
-rw-r--r--ansible/v-i-dev.yml49
2 files changed, 50 insertions, 0 deletions
diff --git a/ansible/hosts b/ansible/hosts
index 385bf90..9e6f79d 100644
--- a/ansible/hosts
+++ b/ansible/hosts
@@ -41,5 +41,6 @@ openpgp-ca-dev
sequoia-web
rikiwiki-dev
emacs-config-dev
+v-i-dev
toy
diff --git a/ansible/v-i-dev.yml b/ansible/v-i-dev.yml
new file mode 100644
index 0000000..615f896
--- /dev/null
+++ b/ansible/v-i-dev.yml
@@ -0,0 +1,49 @@
+- hosts: v-i-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: version-controller
+ tags: [vcs]
+ - role: liw
+ tags: [liw]
+ tasks:
+ - apt:
+ name:
+ - ansible
+ - build-essential
+ - cryptsetup
+ - dosfstools
+ - kpartx
+ - lvm2
+ - moreutils
+ - parted
+ - python3
+ - python3-yaml
+ - qemu-utils
+ - subplot
+ - vmdb2
+ - zerofree
+ vars:
+ ansible_python_interpreter: python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: v-i-dev
+ sane_debian_system_codename: bullseye
+
+ timezone: Europe/Helsinki
+
+ unix_users_version: 2
+ unix_users:
+ - username: liw
+ comment: Lars Wirzenius
+ sudo: yes
+
+ sane_debian_system_sources_lists:
+ - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main
+ signing_key: "{{ ci_prod_signing_key }}"