summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/hosts2
-rw-r--r--ansible/roles/emacs/tasks/main.yml1
-rw-r--r--ansible/sequoia-dev.yml40
-rw-r--r--sequoia-dev.yaml4
4 files changed, 46 insertions, 1 deletions
diff --git a/ansible/hosts b/ansible/hosts
index ccf7160..0ab30d6 100644
--- a/ansible/hosts
+++ b/ansible/hosts
@@ -37,6 +37,8 @@ vmdb2-dev
subplot-dev
subplot-dan-dev
+sequoia-dev
+
raidtest
sid
diff --git a/ansible/roles/emacs/tasks/main.yml b/ansible/roles/emacs/tasks/main.yml
index d41a152..81962f4 100644
--- a/ansible/roles/emacs/tasks/main.yml
+++ b/ansible/roles/emacs/tasks/main.yml
@@ -8,4 +8,3 @@
- elpa-magit
- yaml-mode
- elpa-go-mode
- - elpa-rust-mode
diff --git a/ansible/sequoia-dev.yml b/ansible/sequoia-dev.yml
new file mode 100644
index 0000000..06b1ee0
--- /dev/null
+++ b/ansible/sequoia-dev.yml
@@ -0,0 +1,40 @@
+- hosts: sequoia-dev
+ remote_user: debian
+ become: yes
+ roles:
+ - role: sane_debian_system
+ tags: [sane]
+ - role: comfortable-debian-system
+ tags: [comfy]
+ - role: version-controller
+ tags: [vcs]
+ - role: unix_users
+ tags: [users]
+
+ tasks:
+ - apt:
+ name:
+ - shellcheck
+ - subplot
+ - build-essential
+
+ vars:
+ ansible_python_interpreter: /usr/bin/python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: sequoia-dev
+ sane_debian_system_codename: buster
+ sane_debian_system_timezone: Europe/Helsinki
+ sane_debian_system_sources_lists:
+ - repo: |
+ deb http://security.debian.org/debian-security buster/updates main
+
+ - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main
+ signing_key: "{{ ci_prod_signing_key }}"
+
+ unix_users_version: 2
+ unix_users:
+ - username: liw
+ comment: Lars Wirzenius
+ authorized_keys: |
+ {{ liw_ssh_pub }}
diff --git a/sequoia-dev.yaml b/sequoia-dev.yaml
new file mode 100644
index 0000000..bedc21b
--- /dev/null
+++ b/sequoia-dev.yaml
@@ -0,0 +1,4 @@
+sequoia-dev:
+ cpus: 4
+ memory_mib: 8191
+ image_size_gib: 100