diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-04-11 09:55:10 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-04-11 09:55:10 +0300 |
commit | e1ddba6b2afe9a34b6aeaafeeb06847ec9f8ad32 (patch) | |
tree | ab44d43a1feebd3480b6cc068043b554cdcf51ab /ansible | |
parent | d5c5563aeab789748c4af77cc372bd1dfdf6f4d5 (diff) | |
download | ansibleness-e1ddba6b2afe9a34b6aeaafeeb06847ec9f8ad32.tar.gz |
kea: fix for re-install
Sponsored-by: author
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/kea.yml | 57 |
1 files changed, 38 insertions, 19 deletions
diff --git a/ansible/kea.yml b/ansible/kea.yml index cfa04d2..610c6d3 100644 --- a/ansible/kea.yml +++ b/ansible/kea.yml @@ -1,13 +1,16 @@ - hosts: kea - remote_user: ansible - become: yes + remote_user: root + become: no roles: - role: sane_debian_system tags: [sane] - comfortable-debian-system - - unix_users + - gnome-system - smarthost-client - intel-wifi + - self-updating-system + - ssd + - unix_users tasks: - lineinfile: path: /etc/gdm3/daemon.conf @@ -31,27 +34,43 @@ port: ssh rule: allow vars: - sane_debian_system_version: 0 - unix_users_version: 1 + ansible_python_interpreter: /usr/bin/python3 - hostname: kea - debian_codename: buster + sane_debian_system_version: 2 + sane_debian_system_hostname: kea + sane_debian_system_codename: bullseye + sane_debian_system_timezone: Europe/Helsinki + sane_debian_system_sources_lists: + - repo: | + deb http://deb.debian.org/debian bullseye contrib non-free - mailname: kea.liw.fi - timezone: Europe/Helsinki + - repo: | + deb-src http://deb.debian.org/debian bullseye main contrib non-free - relayhost: pieni.net:587 - smarthost: pieni.net - smarthost_user: pienirelay - smarthost_password: "{{ lookup('pipe', 'pass show pieni.net/pienirelay') }}" + - repo: | + deb http://security.debian.org/debian-security bullseye-security main contrib non-free + unix_users_version: 2 unix_users: - - username: ansible - comment: Ansible - sudo: yes + - username: soile + comment: Soile Mottisenkangas + groups: + - audio + - bluetooth + - cdrom + - dialout + - dip + - floppy + - netdev + - plugdev + - scanner + - video authorized_keys: | {{ liw_personal_ssh_pub }} - sources_lists: - - repo: | - deb http://deb.debian.org/debian buster contrib non-free + mailname: kea.liw.fi + hostname: "{{ sane_debian_system_hostname }}" + relayhost: pieni.net:587 + smarthost: pieni.net + smarthost_user: pienirelay + smarthost_password: "{{ lookup('pipe', 'pass show pieni.net/pienirelay') }}" |