Fix tmp tmpfs mount to be idempotent and actually work.
This commit is contained in:
parent
5623bc1967
commit
97f401af2c
1 changed files with 2 additions and 4 deletions
|
@ -11,7 +11,5 @@
|
|||
mount: name=/var/lib/copr-dist-git src='LABEL=cdg-log' fstype=ext4 state=mounted
|
||||
when: not devel
|
||||
|
||||
- name: Mount tmp as tmpfs
|
||||
action: lineinfile dest=/etc/fstab regexp="/tmp" line="tmpfs /tmp tmpfs defaults,size=6G 0 0" state=present
|
||||
|
||||
- mount: name=/tmp src=tmpfs fstype=tmpfs state=present
|
||||
- name: mount tmp on tmpfs
|
||||
mount: name=/tmp src=tmpfs fstype=tmpfs state=mounted opts=defaults,size=6G
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue