summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-08-19 10:02:28 +0300
committerLars Wirzenius <liw@liw.fi>2020-08-19 10:02:28 +0300
commit3f1b6d888d5c2e1f3b87e7eac447ab747cb11c6b (patch)
treec61bbb29e9750912db64dc44429ab8fe7ee0c5ae
parent107f37ae0523d1a745d19e13223bc6054d3a042e (diff)
downloadansibleness-3f1b6d888d5c2e1f3b87e7eac447ab747cb11c6b.tar.gz
add: contractor-dev
-rw-r--r--ansible/contractor-dev.yml40
-rw-r--r--ansible/hosts2
2 files changed, 42 insertions, 0 deletions
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