summaryrefslogtreecommitdiff
path: root/ansible/x220.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/x220.yml')
-rw-r--r--ansible/x220.yml55
1 files changed, 28 insertions, 27 deletions
diff --git a/ansible/x220.yml b/ansible/x220.yml
index 7bcd10b..a2f562a 100644
--- a/ansible/x220.yml
+++ b/ansible/x220.yml
@@ -3,46 +3,47 @@
roles:
- role: sane_debian_system
- role: sshd
- - role: ssd
- role: unix_users
- - role: thinkpad
- - role: puomi
+ - role: comfortable-debian-system
+ - role: intel-wifi
+ - role: gnome-system
+ - role: unix_users
+ - role: liw
tasks:
- - lineinfile:
- path: /etc/systemd/logind.conf
- regexp: HandleLidSwitch=
- line: HandleLidSwitch=ignore
- - lineinfile:
- path: /etc/systemd/logind.conf
- regexp: HandleLidSwitchExternalPower=
- line: HandleLidSwitchExternalPower=ignore
- - systemd:
- name: systemd-logind
- state: restarted
+ - name: "install desktop"
+ apt:
+ name:
+ - gnome
+
vars:
ansible_python_interpreter: /usr/bin/python3
sane_debian_system_version: 2
sane_debian_system_hostname: "{{ inventory_hostname }}"
- sane_debian_system_codename: bullseye
+ sane_debian_system_codename: bookworm
sane_debian_system_timezone: Europe/Helsinki
+ sane_debian_system_sources_lists:
+ - repo: |
+ deb http://deb.debian.org/debian bookworm contrib non-free non-free-firmware
+
+ - repo: |
+ deb http://security.debian.org/debian-security bookworm-security main contrib non-free
+
+ - repo: |
+ deb http://deb.debian.org/debian bookworm-backports main contrib non-free
unix_users_version: 2
unix_users:
- username: liw
comment: Lars Wirzenius
+ groups:
+ - audio
+ - dialout
+ - dip
+ - floppy
+ - netdev
+ - plugdev
+ - video
sshd_version: 1
- sshd_host_key: "{{ lookup('pipe', 'sshca host private-key x220') }}"
- sshd_host_cert: "{{ lookup('pipe', 'sshca host certify liw.fi/ca/host/v4 x220') }}"
- sshd_user_ca_pub: "{{ lookup('pipe', 'sshca ca public-key liw.fi/ca/user/v3') }}"
-
- puomi_lan_ip: 10.3.3.1
- puomi_dhcp_start: 10.3.3.10
- puomi_dhcp_end: 10.3.3.250
- puomi_dhcp_netmask: 255.255.255.0
- puomi_dhcp_lease: 1h
- puomi_essid: Valkama3
- puomi_wifi_country_code: FI
- puomi_wifi_passphrase: Oomam2ah