From 3f1b6d888d5c2e1f3b87e7eac447ab747cb11c6b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 19 Aug 2020 10:02:28 +0300 Subject: add: contractor-dev --- ansible/contractor-dev.yml | 40 ++++++++++++++++++++++++++++++++++++++++ ansible/hosts | 2 ++ 2 files changed, 42 insertions(+) create mode 100644 ansible/contractor-dev.yml diff --git a/ansible/contractor-dev.yml b/ansible/contractor-dev.yml new file mode 100644 index 0000000..ed7611b --- /dev/null +++ b/ansible/contractor-dev.yml @@ -0,0 +1,40 @@ +- hosts: contractor-dev + remote_user: root + roles: + - role: sane_debian_system + tags: [sane] + - comfortable-debian-system + - unix_users + - version-controller + - vmhost-minimal + tasks: + - apt: + name: + - black + - vmdb2 + - subplot + - shell: | + virsh net-autostart default + virsh net-start default || true + - copy: + content: | + {{ liw_ssh_pub }} + dest: /home/liw/.ssh/liw-openpgp.pub + owner: liw + group: liw + mode: 0600 + + vars: + hostname: contractor-dev + debian_codename: buster + + unix_users: + - username: liw + comment: Lars Wirzenius + sudo: yes + authorized_keys: | + {{ liw_ssh_pub }} + + sources_lists: + - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main + signing_key: "{{ ci_prod_signing_key }}" diff --git a/ansible/hosts b/ansible/hosts index f6a8938..810d4da 100644 --- a/ansible/hosts +++ b/ansible/hosts @@ -14,6 +14,8 @@ debmirror x220 +contractor-dev + holywood2 pieni ansible_ssh_host=koom.pieni.net debian_codename=stretch -- cgit v1.2.1