From 727605815f67b2ba2935935dff614c27ce9d34f0 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 6 Oct 2023 17:54:36 +0200 Subject: [PATCH] copr/hypervisor: don't enable swap This is (for) now done manually in /etc/fstab. --- roles/copr/hypervisor/tasks/main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/roles/copr/hypervisor/tasks/main.yml b/roles/copr/hypervisor/tasks/main.yml index 9598b5a561..21b4384369 100644 --- a/roles/copr/hypervisor/tasks/main.yml +++ b/roles/copr/hypervisor/tasks/main.yml @@ -14,17 +14,17 @@ - config - openstack -- name: enable swap in fstab - mount: name=none src=LABEL=swap - fstype=swap opts=sw passno=0 dump=0 - state=present - register: fstab_swap_entry - tags: swap +# - name: enable swap in fstab +# mount: name=none src=LABEL=swap +# fstype=swap opts=sw passno=0 dump=0 +# state=present +# register: fstab_swap_entry +# tags: swap -- name: mount the swap - shell: swapon -a - when: fstab_swap_entry.changed - tags: swap +# - name: mount the swap +# shell: swapon -a +# when: fstab_swap_entry.changed +# tags: swap - name: install the default profile script copy: src=profile.sh dest=/etc/profile.d/copr-hypervisor.sh