diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-17 19:00:23 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-09-17 19:00:23 +0300 |
commit | 96d892ee3dfd99451943c732fca5a150216b7fac (patch) | |
tree | efb175181dc213433f094acf4cca70463b64f04b /ansible/debian-ansible-dev.yml | |
parent | e1f5a467f791ee9ebf05d139afcfb391f6c11499 (diff) | |
download | ansibleness-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.yml | 63 |
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 }}" |