blob: 7bcd10b7ff0e510bf8d0df4d2cc2d3808bcf6cfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
- hosts: x220
remote_user: root
roles:
- role: sane_debian_system
- role: sshd
- role: ssd
- role: unix_users
- role: thinkpad
- role: puomi
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
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_timezone: Europe/Helsinki
unix_users_version: 2
unix_users:
- username: liw
comment: Lars Wirzenius
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
|