summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-11-07 16:09:35 +0200
committerLars Wirzenius <liw@liw.fi>2021-11-07 16:09:35 +0200
commit413a8b9f57266e49ca8878ea2ea85185f797fd34 (patch)
treec19eb74402d9a7563b2b26a6048a2ee4c45b2277
parentcdf22c3ab3642b07e5dc5e1472e0e8e0796d2c3d (diff)
downloadansibleness-413a8b9f57266e49ca8878ea2ea85185f797fd34.tar.gz
python-mess: add playbook
Sponsored-by: author
-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 }}