Files
fedora-infra_ansible/roles/copr/dist_git/tasks/mount_fs.yml
Pavel Raiskup cb2908cc48 copr-dist-git: don't re-add SWAP volume
This volume has been dropped, we now use the /swap swap-file, same as
the other Copr servers.
2022-11-30 09:55:30 +01:00

18 lines
550 B
YAML

- name: prepare mount point
file: state=directory path=/var/lib/dist-git
- name: mount up disk of copr repo
mount: name=/var/lib/dist-git src='LABEL=copr-dist-git' fstype=ext4 state=mounted
- name: prepare mount point
file: state=directory path=/var/lib/copr-dist-git
- name: create symlink for per-task-logs
file:
state: link
src: /var/lib/dist-git/per-task-logs
path: /var/lib/copr-dist-git/per-task-logs
- name: mount tmp on tmpfs
mount: name=/tmp src=tmpfs fstype=tmpfs state=mounted opts=defaults,size=39G,nr_inodes=2g