summaryrefslogtreecommitdiff
path: root/ansible/debian-ansible-dev.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-09-17 19:00:23 +0300
committerLars Wirzenius <liw@liw.fi>2021-09-17 19:00:23 +0300
commit96d892ee3dfd99451943c732fca5a150216b7fac (patch)
treeefb175181dc213433f094acf4cca70463b64f04b /ansible/debian-ansible-dev.yml
parente1f5a467f791ee9ebf05d139afcfb391f6c11499 (diff)
downloadansibleness-96d892ee3dfd99451943c732fca5a150216b7fac.tar.gz
add debian-ansible-dev
Sponsored-by: author
Diffstat (limited to 'ansible/debian-ansible-dev.yml')
-rw-r--r--ansible/debian-ansible-dev.yml63
1 files changed, 63 insertions, 0 deletions
diff --git a/ansible/debian-ansible-dev.yml b/ansible/debian-ansible-dev.yml
new file mode 100644
index 0000000..4865e22
--- /dev/null
+++ b/ansible/debian-ansible-dev.yml
@@ -0,0 +1,63 @@
+- hosts: debian-ansible-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
+ - role: liw
+ tags: [liw]
+ tasks:
+ - apt:
+ name:
+ - ansible
+ - build-essential
+ - daemonize
+ - git
+ - moreutils
+ - python3
+ - qemu-system-x86
+ - subplot
+ - texlive-fonts-recommended
+ - texlive-latex-base
+ - texlive-latex-recommended
+ - wget
+ - user:
+ name: liw
+ groups:
+ - kvm
+ - libvirt
+ - shell: |
+ sudo install -d -o liw -g liw /home/liw/tmp
+ cd /home/liw/tmp
+ if [ ! -e debian-10-openstack-amd64.qcow2 ]
+ then
+ wget https://cloud.debian.org/images/cloud/OpenStack/current-10/debian-10-openstack-amd64.qcow2
+ chown -R liw:liw /home/liw/tmp
+ fi
+ args:
+ warn: no
+ vars:
+ ansible_python_interpreter: python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: debian-ansible-dev
+ sane_debian_system_codename: bullseye
+
+ timezone: Europe/Helsinki
+
+ unix_users_version: 2
+ unix_users:
+ - username: liw
+ comment: Lars Wirzenius
+ sudo: yes
+ authorized_keys: |
+ {{ liw_personal_ssh_pub }}
+
+ sane_debian_system_sources_lists:
+ - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main
+ signing_key: "{{ ci_prod_signing_key }}"