copr-keygen - add mounting of volume

This commit is contained in:
Miroslav Suchý 2016-01-13 13:58:42 +01:00
parent b3851786fa
commit 447792e14e
2 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,11 @@
---
- name: prepare mount point
file: state=directory path=/var/lib/copr-keygen
- name: mount up disk of copr repo
mount: name=/var/lib/copr-keygen src='LABEL=copr-keygen' fstype=ext4 state=mounted
when: not devel
- name: install keygen specific packages
yum: name="{{ item }}" state=present
with_items: