copr-backend: only mount external disk on production, not on staging

This commit is contained in:
clime 2018-01-08 14:11:48 +01:00
parent 3b4fb50161
commit 63f0120b0e

View file

@ -3,6 +3,7 @@
- name: mount up disk of copr repo - name: mount up disk of copr repo
mount: name=/var/lib/copr/public_html src='LABEL=copr-repo' fstype=ext4 state=mounted mount: name=/var/lib/copr/public_html src='LABEL=copr-repo' fstype=ext4 state=mounted
when: env != "staging"
- name: mount /tmp/ - name: mount /tmp/
mount: name=/tmp src='tmpfs' fstype=tmpfs state=mounted mount: name=/tmp src='tmpfs' fstype=tmpfs state=mounted