Enable systemd-resolved and systemd-timesyncd services for ArchLinux

This commit is contained in:
Sandwich 2024-03-28 03:50:04 +01:00
parent cc118274a3
commit 48b5f602fa

View File

@ -68,7 +68,7 @@
block: block:
- name: Enable sshd - name: Enable sshd
when: os | lower == "archlinux" when: os | lower == "archlinux"
command: arch-chroot /mnt systemctl enable sshd NetworkManager logrotate command: arch-chroot /mnt systemctl enable sshd logrotate systemd-resolved systemd-timesyncd NetworkManager
- name: Configure grub - name: Configure grub
when: os | lower != "fedora" and os | lower != "almalinux" and os | lower != "rhel8" and os | lower != "rhel9" when: os | lower != "fedora" and os | lower != "almalinux" and os | lower != "rhel8" and os | lower != "rhel9"