summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2020-08-28 18:56:13 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2020-08-28 18:56:45 +0300
commitb563b0a6fe632c5776e0e1759bf680173a91e540 (patch)
tree2357ea0140bb10dca0a48d6d42bdc2c329475390
parente63f98e2335905e8eb236ee2eb5a0b332180f86a (diff)
downloadansibleness-b563b0a6fe632c5776e0e1759bf680173a91e540.tar.gz
add: oomph2
-rw-r--r--ansible/hosts2
-rw-r--r--ansible/oomph2.yml46
2 files changed, 48 insertions, 0 deletions
diff --git a/ansible/hosts b/ansible/hosts
index 810d4da..e2f8dfc 100644
--- a/ansible/hosts
+++ b/ansible/hosts
@@ -25,6 +25,7 @@ nalanda ansible_ssh_host=nalanda.liw.fi
gregvm ansible_ssh_host=78.46.87.152
sequoia
+vbox
[ick-workers]
ick3-unstable hostname=ick3-unstable debian_codename=unstable pbuilder_othermirror_distro=unstable
@@ -33,4 +34,5 @@ ick3-backports hostname=ick3-backports debian_codename=stretch pbuilder
[vdc-dev]
oomph
+oomph2
meta-dev
diff --git a/ansible/oomph2.yml b/ansible/oomph2.yml
new file mode 100644
index 0000000..917800c
--- /dev/null
+++ b/ansible/oomph2.yml
@@ -0,0 +1,46 @@
+- hosts: oomph2
+ remote_user: root
+ roles:
+ - sane_debian_system
+ - comfortable-debian-system
+ - unix_users
+ - self-updating-system
+ tasks:
+ - apt:
+ name:
+ - ansible
+ - subplot
+ - qemu-utils
+ - qemu-system-x86
+ - kpartx
+ - moreutils
+ - genisoimage
+ - copy:
+ content: |
+ options kvm-intel nested=1
+ options kvm-intel enable_shadow_vmcs=1
+ options kvm-intel enable_apicv=1
+ options kvm-intel ept=1
+ options kvm-amd nested=1
+ dest: /etc/modprobe.d/kvm-nested.conf
+ - user:
+ name: liw
+ groups: [kvm]
+ vars:
+ hostname: oomph2
+ debian_codename: buster
+
+ unix_users:
+ - username: liw
+ comment: Lars Wirzenius
+ sudo: yes
+ authorized_keys: |
+ {{ liw_ssh_pub }}
+
+
+ sources_lists:
+ - repo: |
+ deb http://deb.debian.org/debian buster contrib non-free
+
+ - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main
+ signing_key: "{{ ci_prod_signing_key }}"