[copr][dist-git] mount data volume
This commit is contained in:
parent
1b0f0497ec
commit
d32e32fdca
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
- include: "mount_fs.yml"
|
||||
|
||||
- name: ensure git storage path exists
|
||||
file: path="/var/lib/dist-git/cache/lookaside" state=directory
|
||||
- file: path="/var/lib/dist-git/git/pkgs-git-repos-list" state=directory
|
||||
|
|
5
roles/copr/dist_git/tasks/mount_fs.yml
Normal file
5
roles/copr/dist_git/tasks/mount_fs.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
- 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
|
Loading…
Add table
Add a link
Reference in a new issue