Fix for ubuntu server
This commit is contained in:
@@ -30,6 +30,12 @@
|
||||
- ansible_architecture == "x86_64"
|
||||
- ansible_distribution | lower == "ubuntu" or ansible_distribution | lower == "debian"
|
||||
|
||||
- name: Sed when x86_64 (needed for ubuntu server atleast)
|
||||
ansible.builtin.command: sed -i 's/^\/swap.img.*/##&/' /etc/fstab
|
||||
when:
|
||||
- ansible_architecture == "x86_64"
|
||||
- ansible_distribution | lower == "ubuntu" or ansible_distribution | lower == "debian"
|
||||
|
||||
|
||||
# Packages
|
||||
|
||||
|
Reference in New Issue
Block a user