summaryrefslogtreecommitdiff
path: root/ansible/bigtoy.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-04-23 07:50:06 +0300
committerLars Wirzenius <liw@liw.fi>2023-04-23 07:50:06 +0300
commit8372f8403994b786c2e0ec3fc71de1ee3b60b6c5 (patch)
treec231da143ce81ce9b7e87834cf79a1704f8184ea /ansible/bigtoy.yml
parent075b88a301391e61b206489fad2a21574ffb7f40 (diff)
downloadansibleness-8372f8403994b786c2e0ec3fc71de1ee3b60b6c5.tar.gz
bigtoy: playbook
Sponsored-by: author
Diffstat (limited to 'ansible/bigtoy.yml')
-rw-r--r--ansible/bigtoy.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/ansible/bigtoy.yml b/ansible/bigtoy.yml
new file mode 100644
index 0000000..3acd8a4
--- /dev/null
+++ b/ansible/bigtoy.yml
@@ -0,0 +1,44 @@
+- hosts: bigtoy
+ remote_user: debian
+ become: yes
+ roles:
+ - role: sane_debian_system
+ tags: [sane]
+ - role: sshd
+ tags: [sshd]
+ - role: comfortable-debian-system
+ tags: [comfy]
+ - role: unix_users
+ tags: [users]
+ - role: emacs
+ - role: liw
+ tasks:
+ - apt:
+ name:
+ - build-essential
+ - debian-keyring
+ - debmirror
+ - git
+ - moreutils
+ - python3
+ vars:
+ ansible_python_interpreter: python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: "{{ inventory_hostname }}"
+ sane_debian_system_codename: bullseye
+
+ timezone: Europe/Helsinki
+
+ unix_users_version: 2
+ unix_users:
+ - username: liw
+ comment: Lars Wirzenius
+ sudo: yes
+
+ sane_debian_system_sources_lists:
+ - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main
+ signing_key: "{{ ci_prod_signing_key }}"
+
+ sshd_version: 1
+ sshd_allow_authorized_keys: yes