diff --git a/roles/copr/dist_git/tasks/mount_fs.yml b/roles/copr/dist_git/tasks/mount_fs.yml index 61fe35280e..bdfee5e599 100644 --- a/roles/copr/dist_git/tasks/mount_fs.yml +++ b/roles/copr/dist_git/tasks/mount_fs.yml @@ -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