summaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-30 14:18:58 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-30 14:18:58 +0300
commit6d144e3953c51bcdb14634411b5006427b961cb0 (patch)
tree9c89eb4ddd36e9cce3fd4c4115131692e13b3e0c /ansible
parent0d7836006e78c7e929a2a7932a97e7b78a2749fc (diff)
downloadansibleness-6d144e3953c51bcdb14634411b5006427b961cb0.tar.gz
add spec, playbook for VM for building sequoia
Sponsored-by: author
Diffstat (limited to 'ansible')
-rw-r--r--ansible/hosts2
-rw-r--r--ansible/roles/emacs/tasks/main.yml1
-rw-r--r--ansible/sequoia-dev.yml40
3 files changed, 42 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 }}