Improve Arch packages + Disable swap before unmounting
This commit is contained in:
1 parent
e1464562f7
commit
fef1f44a07
2 files changed
+7
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user