diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-11-07 16:09:35 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-11-07 16:09:35 +0200 |
commit | 413a8b9f57266e49ca8878ea2ea85185f797fd34 (patch) | |
tree | c19eb74402d9a7563b2b26a6048a2ee4c45b2277 /ansible/python-mess.yml | |
parent | cdf22c3ab3642b07e5dc5e1472e0e8e0796d2c3d (diff) | |
download | ansibleness-413a8b9f57266e49ca8878ea2ea85185f797fd34.tar.gz |
python-mess: add playbook
Sponsored-by: author
Diffstat (limited to 'ansible/python-mess.yml')
-rw-r--r-- | ansible/python-mess.yml | 41 |
1 files changed, 41 insertions, 0 deletions
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 }} |