summaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-03-01 07:01:21 +0200
committerLars Wirzenius <liw@liw.fi>2024-03-01 07:01:21 +0200
commita449952a424c66e6062df9f00116092b49ad79ed (patch)
tree30347dce8156a8297c45f975b21211ff6ba976be /ansible
parent85a6115123d934c949042bd616df22dda9bedc10 (diff)
downloadansibleness-a449952a424c66e6062df9f00116092b49ad79ed.tar.gz
unpack-dsc: playbook
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
Diffstat (limited to 'ansible')
-rw-r--r--ansible/hosts1
-rw-r--r--ansible/unpack-dsc.yml26
2 files changed, 27 insertions, 0 deletions
diff --git a/ansible/hosts b/ansible/hosts
index 3eefd20..bcc5040 100644
--- a/ansible/hosts
+++ b/ansible/hosts
@@ -22,6 +22,7 @@ riki-dev
rust-dev
sshca-dev
subplot-dev
+unpack-dsc
v-i-dev
vmadm-dev
vmdb2-dev
diff --git a/ansible/unpack-dsc.yml b/ansible/unpack-dsc.yml
new file mode 100644
index 0000000..dfe2b2d
--- /dev/null
+++ b/ansible/unpack-dsc.yml
@@ -0,0 +1,26 @@
+- hosts: unpack-dsc
+ remote_user: debian
+ become: yes
+ roles:
+ - role: sane_debian_system
+ - role: sshd
+ - role: unix_users
+ - role: liw
+ tasks:
+ - apt:
+ name:
+ - dpkg-dev
+ - screen
+ vars:
+ ansible_python_interpreter: /usr/bin/python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: "{{ inventory_hostname }}"
+ sane_debian_system_codename: bookworm
+ sane_debian_system_mirror: deb.debian.org
+
+ unix_users_version: 2
+ unix_users:
+ - username: liw
+
+ sshd_version: 1