summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/hosts1
-rw-r--r--ansible/python-mess.yml41
2 files changed, 42 insertions, 0 deletions
diff --git a/ansible/hosts b/ansible/hosts
index aa7fa94..ded7874 100644
--- a/ansible/hosts
+++ b/ansible/hosts
@@ -46,6 +46,7 @@ debian-ansible-dev
apt-dev
vmadm-dev
roadmap-dev
+python-mess
sequoia-dev-e1
sequoia-dev-e5
diff --git a/ansible/python-mess.yml b/ansible/python-mess.yml
new file mode 100644
index 0000000..3f3bf94
--- /dev/null
+++ b/ansible/python-mess.yml
@@ -0,0 +1,41 @@
+- hosts: python-mess
+ remote_user: debian
+ become: yes
+ roles:
+ - role: sane_debian_system
+ tags: [sane]
+ - role: comfortable-debian-system
+ tags: [comfy]
+ - role: unix_users
+ tags: [users]
+ - role: version-controller
+ tags: [vcs]
+ - role: emacs
+ tags: [emacs]
+ - role: liw
+ tags: [liw]
+ tasks:
+ - apt:
+ name:
+ - build-essential
+ - python3-all
+ - python3-pip
+ vars:
+ ansible_python_interpreter: python3
+
+ sane_debian_system_version: 2
+ sane_debian_system_hostname: python-mess
+ sane_debian_system_codename: bullseye
+
+ timezone: Europe/Helsinki
+
+ unix_users_version: 2
+ unix_users:
+ - username: debian
+ authorized_keys: |
+ {{ liw_personal_ssh_pub }}
+ - username: liw
+ comment: Lars Wirzenius
+ sudo: yes
+ authorized_keys: |
+ {{ liw_personal_ssh_pub }}