copr/hypervisor: don't enable swap
This is (for) now done manually in /etc/fstab.
This commit is contained in:
parent
2d0ea7ab18
commit
727605815f
1 changed files with 10 additions and 10 deletions
|
@ -14,17 +14,17 @@
|
||||||
- config
|
- config
|
||||||
- openstack
|
- openstack
|
||||||
|
|
||||||
- name: enable swap in fstab
|
# - name: enable swap in fstab
|
||||||
mount: name=none src=LABEL=swap
|
# mount: name=none src=LABEL=swap
|
||||||
fstype=swap opts=sw passno=0 dump=0
|
# fstype=swap opts=sw passno=0 dump=0
|
||||||
state=present
|
# state=present
|
||||||
register: fstab_swap_entry
|
# register: fstab_swap_entry
|
||||||
tags: swap
|
# tags: swap
|
||||||
|
|
||||||
- name: mount the swap
|
# - name: mount the swap
|
||||||
shell: swapon -a
|
# shell: swapon -a
|
||||||
when: fstab_swap_entry.changed
|
# when: fstab_swap_entry.changed
|
||||||
tags: swap
|
# tags: swap
|
||||||
|
|
||||||
- name: install the default profile script
|
- name: install the default profile script
|
||||||
copy: src=profile.sh dest=/etc/profile.d/copr-hypervisor.sh
|
copy: src=profile.sh dest=/etc/profile.d/copr-hypervisor.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue