From c27678456d76db45ee20e6d73f3af655ee83dbab Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 8 Mar 2016 09:49:18 -0800 Subject: [PATCH] openqa: try mounting the NFS share on stg we're trying to move openQA's server data to an NFS share so the server boxes can be reinstalled without loss of test data. First step, try mounting the share on stg so we can create the two directories that will need to be mounted. --- playbooks/groups/openqa.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/playbooks/groups/openqa.yml b/playbooks/groups/openqa.yml index 8b991f32a4..13fa192bfa 100644 --- a/playbooks/groups/openqa.yml +++ b/playbooks/groups/openqa.yml @@ -48,3 +48,13 @@ handlers: - include: "{{ handlers }}/restart_services.yml" + +- name: set up openQA server data NFS mounts +# for now just stg while we're testing, this is a temp location to create dirs + hosts: openqa-stg + roles: + - role: nfs/client + mnt_dir: '/mnt/temp' + nfs_src_dir: 'fedora_openqa_stg' + nfs_mount_opts: 'rw,bg' + tags: ['nfs_client']