summaryrefslogtreecommitdiff
path: root/ansible/vmadm-dev.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/vmadm-dev.yml')
-rw-r--r--ansible/vmadm-dev.yml68
1 files changed, 68 insertions, 0 deletions
diff --git a/ansible/vmadm-dev.yml b/ansible/vmadm-dev.yml
new file mode 100644
index 0000000..e8964d5
--- /dev/null
+++ b/ansible/vmadm-dev.yml
@@ -0,0 +1,68 @@
+- hosts: vmadm-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: vmhost
+ tags: [vmhost]
+ - role: rust-rustup
+ tags: [rustup]
+ - role: liw
+ tags: [liw]
+ tasks:
+ - apt:
+ name:
+ - build-essential
+ - curl
+ - libvirt-dev
+ - moreutils
+ - plantuml
+ - python3-libvirt
+ - python3-lxml
+ - python3-yaml
+ - subplot
+ - texlive-fonts-recommended
+ - texlive-latex-base
+ - texlive-latex-recommended
+ - get_url:
+ url: https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-generic-amd64.qcow2
+ dest: /home/liw/debian.qcow2
+ mode: 0644
+ - virt_net:
+ name: default
+ autostart: yes
+ - virt_net:
+ name: default
+ command: start
+ state: active
+ - user:
+ name: liw
+ groups:
+ - libvirt
+ vars:
+ ansible_python_interpreter: python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: vmadm-dev
+ sane_debian_system_codename: bullseye
+ sane_debian_system_sources_lists:
+ - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main
+ signing_key: "{{ ci_prod_signing_key }}"
+
+ timezone: Europe/Helsinki
+
+ unix_users_version: 2
+ unix_users:
+ - username: debian
+ authorized_keys: |
+ {{ liw_personal_ssh_pub }}
+ - username: liw
+ comment: Lars Wirzenius
+ sudo: yes
+ authorized_keys: |
+ {{ liw_personal_ssh_pub }}