Improve Arch packages + Disable swap before unmounting

This commit is contained in:
2025-04-29 20:28:18 +02:00
parent e1464562f7
commit fef1f44a07
2 changed files with 7 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ archlinux:
- cronie
- dhcpcd
- efibootmgr
- fastfetch
- firewalld
- fish
- fzf
@@ -40,7 +41,6 @@ archlinux:
- lsof
- lvm2
- ncdu
- neofetch
- networkmanager
- nfs-utils
- open-vm-tools
@@ -51,9 +51,9 @@ archlinux:
- qemu-guest-agent
- reflector
- rsync
- screen
- sudo
- tldr
tmux
- vim
- wireguard-tools
- zram-generator

View File

@@ -3,6 +3,11 @@
vars:
ansible_connection: ssh
block:
- name: Disable Swap
ansible.builtin.command: swapoff -a
register: swapoff_result
changed_when: swapoff_result.rc == 0
- name: Unmount /mnt if mounted
ansible.builtin.command: umount -R /mnt
register: unmount_result