openqa: fix NFS mount so it works on boot

This commit is contained in:
Adam Williamson 2015-11-12 14:42:07 -08:00
parent 209c8a9a5d
commit d4750a4f55
2 changed files with 7 additions and 1 deletions

View file

@ -16,4 +16,7 @@
- config
- name: Enable and start mount
service: name=var-lib-openqa-share.mount enabled=yes state=started
service: name={{ item }} enabled=yes state=started
with_items:
- var-lib-openqa-share.mount
- remote-fs.target

View file

@ -6,3 +6,6 @@ ConditionPathExists=/var/lib/openqa/share
What={{ openqa_hostname }}:/var/lib/openqa/share
Where=/var/lib/openqa/share
Type=nfs
[Install]
WantedBy = remote-fs.target