summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2020-07-27 15:18:22 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2020-07-27 15:18:22 +0300
commit0a313a9466cd0857488aac7226552afbb240d969 (patch)
tree3cebc6cb7a0f5428f6fd94eb978878f203876573
parenta518a51428042d14f63bb233941889e1d44db117 (diff)
downloadansibleness-0a313a9466cd0857488aac7226552afbb240d969.tar.gz
add: vdc-dev
-rw-r--r--ansible/hosts6
-rw-r--r--ansible/oomph.yml30
2 files changed, 34 insertions, 2 deletions
diff --git a/ansible/hosts b/ansible/hosts
index bfe76f6..2d0c317 100644
--- a/ansible/hosts
+++ b/ansible/hosts
@@ -21,10 +21,12 @@ atuin ansible_ssh_host=atuin.liw.fi
nalanda ansible_ssh_host=nalanda.liw.fi
gregvm ansible_ssh_host=78.46.87.152
-oomph
-vmdb2dev
[ick-workers]
ick3-unstable hostname=ick3-unstable debian_codename=unstable pbuilder_othermirror_distro=unstable
ick3-stretch hostname=ick3-stretch debian_codename=stretch pbuilder_othermirror_distro=unstable
ick3-backports hostname=ick3-backports debian_codename=stretch pbuilder_othermirror_distro=unstable pbuilder_backports=yes
+
+[vdc-dev]
+oomph
+meta-dev
diff --git a/ansible/oomph.yml b/ansible/oomph.yml
new file mode 100644
index 0000000..1e73dc1
--- /dev/null
+++ b/ansible/oomph.yml
@@ -0,0 +1,30 @@
+- hosts: vdc-dev
+ remote_user: root
+ become: no
+ roles:
+ - sane_debian_system
+ - comfortable-debian-system
+ - unix_users
+ - vmhost
+ tasks:
+ - apt:
+ name:
+ - curl
+ - wget
+ - ansible
+ vars:
+ hostname: oomph
+ debian_codename: buster
+
+ timezone: Europe/Helsinki
+
+ 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