copr/hypervisor: don't enable swap

This is (for) now done manually in /etc/fstab.
This commit is contained in:
Pavel Raiskup 2023-10-06 17:54:36 +02:00
parent 2d0ea7ab18
commit 727605815f

View file

@ -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