[copr][dist-git] mount data volume

This commit is contained in:
Valentin Gologuzov 2015-07-23 10:55:35 +02:00
parent 1b0f0497ec
commit d32e32fdca
2 changed files with 7 additions and 0 deletions

View file

@ -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

View 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