-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.yml
208 lines (183 loc) · 5.29 KB
/
defaults.yml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
all:
vars:
ubuntumirror: http://de.archive.ubuntu.com/ubuntu/
debianmirror: http://deb.debian.org/debian/
timezone: Europe/Berlin
timeregion: Europe
timecity: Berlin
locale: &mainlocale en_US.UTF-8
locales:
- *mainlocale
- de_DE.UTF-8
localelong: en_US.UTF-8 UTF-8
vconsolekeymap: de-latin1
vconsolekeymapvariant: deadacute
xfcekeymap: de
xfcekeymapvariant: deadacute
debconfkeymaplayoutcode: de
debconfkeymapvariantcode: deadacute
debconfcharmap: UTF-8
debconfcodeset: Lat15
debconffontface: VGA
debconffontsize: 8x16
rootpassword: '$y$j9T$M5rN4LdKH8Xr5oR/hGQjr/$uyqZToLa6YJA0aAXvuFu0AsZAHd50dXw3dw4i7N.Jk.'
rootsshkeys:
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHqrQkBwBaMTfN0vHvW6aldKK9MBd8X7GyiaMWLczdNo christian@kompaktes2k'
username: christian
userpassword: '$y$j9T$M5rN4LdKH8Xr5oR/hGQjr/$uyqZToLa6YJA0aAXvuFu0AsZAHd50dXw3dw4i7N.Jk.'
#usergroups: [ adm, games, audio, optical, storage, network, sudo ]
#usergroups: [ sudo ]
# https://wiki.debian.org/SystemGroups#Other_System_Groups
usergroups: [ lp, lpadmin, adm, systemd-journal, plugdev, netdev, cdrom, audio, video, render, sudo, dialout, wuseldusel ]
usersshkeys:
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHqrQkBwBaMTfN0vHvW6aldKK9MBd8X7GyiaMWLczdNo christian@kompaktes2k'
children:
isos:
hosts:
archlinuxiso:
debianiso:
debiankvmiso:
ubuntuiso:
chroots:
hosts:
/mnt/archlinux:
/mnt/debian:
/mnt/debiankvm:
/mnt/ubuntu:
# Bootstrapping Operating Systems
bootstrap:
vars:
# parameters by target systems hostname
bootstrapparameters:
retired:
bootmode: uefi
diskdev: /dev/sda
firstbootplaybook: true
networking: network-manager
encryptedfs: true
debidesk:
bootmode: bios
diskdev: /dev/sda
firstbootplaybook: false
networking: network-manager
encryptedfs: true
biostest:
bootmode: bios
diskdev: /dev/sda
firstbootplaybook: false
networking: systemd-networkd
encryptedfs: false
uefitest:
bootmode: uefi
diskdev: /dev/sda
firstbootplaybook: false
networking: systemd-networkd
encryptedfs: false
children:
# I use Arch Linux, btw
bootstrap_archlinux:
vars:
flavor: archlinux
chrootmountpoint: /mnt/archlinux
hostname: biostest
additionalpackages:
- openssh
- inetutils
- net-tools
- dnsutils
- gnupg
- iputils
- iproute2
- curl
- wget
- vim
- nano
- dialog
- man-db
- rxvt-unicode-terminfo
hosts:
archlinuxiso:
/mnt/archlinux:
ansible_connection: chroot
# Debian is also okay
bootstrap_debian:
vars:
flavor: debian
codename: trixie
chrootmountpoint: /mnt/debian
hostname: biostest
additionalpackages: &debian_packages
- openssh-server
- net-tools
- dnsutils
- gnupg
- iputils-ping
- iproute2
- curl
- wget
- util-linux-extra
- locales
- console-setup
- keyboard-configuration
- vim
- nano
- dialog
- man-db
- debconf-utils
- terminfo
hosts:
debianiso:
/mnt/debian:
ansible_connection: chroot
bootstrap_debiankvm:
vars:
flavor: debian
codename: trixie
chrootmountpoint: /mnt/debiankvm
hostname: biostest
additionalpackages:
- openssh-server
- net-tools
- dnsutils
- gnupg
- iputils-ping
- iproute2
- curl
- wget
- util-linux-extra
- locales
- console-setup
- keyboard-configuration
- vim
- nano
- dialog
- man-db
- debconf-utils
- terminfo
- qemu-guest-agent
hosts:
debiankvmiso:
/mnt/debiankvm:
ansible_connection: chroot
# So is Ubuntu...
bootstrap_ubuntu:
vars:
flavor: ubuntu
codename: noble
chrootmountpoint: /mnt/ubuntu
hostname: biostest
additionalpackages: *debian_packages
hosts:
ubuntuiso:
/mnt/ubuntu:
ansible_connection: chroot
# Configure Operating Systems
configuration:
hosts:
# Default hostnames
uefitest:
biostest:
# retired Thinkpad X230 Laptop
retired:
wallpaper: dragonfly.jpg
debidesk: