fixup! integration-playbook: Don't re-swap
This commit is contained in:
parent
ef839a7bbc
commit
7bbad0c7ad
1 changed files with 5 additions and 2 deletions
|
@ -88,8 +88,11 @@
|
||||||
truncate -s 8G /root/swap && \
|
truncate -s 8G /root/swap && \
|
||||||
export SWAPDEV=$(losetup --show -f /root/swap | head -1) && \
|
export SWAPDEV=$(losetup --show -f /root/swap | head -1) && \
|
||||||
mkswap $SWAPDEV && \
|
mkswap $SWAPDEV && \
|
||||||
swapon $SWAPDEV && \
|
swapon $SWAPDEV || true
|
||||||
swapon --show || true
|
- name: Capture current state of swap for debugging
|
||||||
|
command: swapon --show
|
||||||
|
register: result
|
||||||
|
- debug: var=result
|
||||||
- name: Make testing directories to conform to testing standards
|
- name: Make testing directories to conform to testing standards
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue