mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
[copr][dist-git] mount data volume
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user