Improve Arch packages + Disable swap before unmounting

This commit is contained in:
sandwich committed 2025-04-29 20:28:55 +02:00
1 parent 9e4ae3ae33
commit f5fda74cad
2 files changed
+7 -2

No files matched your search

+5
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