···
···
ansible.builtin.command: xdg-user-dirs-update
177
+
- name: Reconfigure fontconfig-config - hinting_type
178
+
ansible.builtin.debconf:
179
+
name: fontconfig-config
180
+
question: fontconfig/hinting_type
184
+
- name: Reconfigure fontconfig-config - enable_bitmaps
185
+
ansible.builtin.debconf:
186
+
name: fontconfig-config
187
+
question: fontconfig/enable_bitmaps
191
+
- name: Reconfigure fontconfig-config - hinting_style
192
+
ansible.builtin.debconf:
193
+
name: fontconfig-config
194
+
question: fontconfig/hinting_style
198
+
- name: Reconfigure fontconfig-config - subpixel_rendering
199
+
ansible.builtin.debconf:
200
+
name: fontconfig-config
201
+
question: fontconfig/subpixel_rendering
- name: Disable unneeded services
ansible.builtin.systemd_service:
···
215
+
- name: Configure systemd-networkd (desktop)
216
+
ansible.builtin.blockinfile:
217
+
path: /etc/systemd/network/eno1.network
226
+
Address=10.0.0.2/24
228
+
Broadcast=10.0.0.255
230
+
#DNS=100.100.100.100
233
+
- ansible_hostname == "desktop"
235
+
- name: Configure systemd-networkd (laptop)
236
+
ansible.builtin.blockinfile:
237
+
path: /etc/systemd/network/wlp0s20f3.network
246
+
RequiredForOnline=routable
250
+
IgnoreCarrierLoss=3s
252
+
- ansible_hostname == "laptop"
254
+
- name: Enable systemd-networkd on startup
255
+
ansible.builtin.systemd_service:
256
+
name: systemd-networkd.service
259
+
- name: Disable NetworkManager and networking.service
260
+
ansible.builtin.systemd_service:
264
+
- NetworkManager.service
265
+
- networking.service
267
+
- name: Disable wpa_supplicant on desktop
268
+
ansible.builtin.systemd_service:
269
+
name: wpa_supplicant.service
272
+
- ansible_hostname == "desktop"
274
+
- name: Disable ipv6 in GRUB config
275
+
ansible.builtin.lineinfile:
276
+
path: /etc/default/grub
277
+
search_string: "GRUB_CMDLINE_LINUX_DEFAULT"
278
+
line: 'GRUB_CMDLINE_LINUX_DEFAULT="quiet ipv6.disable=1"'
283
+
- name: Change jas user shell to zsh
284
+
ansible.builtin.user:
286
+
shell: /usr/bin/zsh