openqa/server: only install nfs-utils when needed
If there are no NFS workers, we don't need the NFS server. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
08e8fcac98
commit
6c2991306c
1 changed files with 9 additions and 1 deletions
|
@ -165,7 +165,6 @@
|
|||
- git # for checking out tests/tools
|
||||
- jq # for checking if tests changed after template load
|
||||
- python3-libsemanage # for using seboolean module
|
||||
- nfs-utils # for configuring/running NFS server
|
||||
- perl(Class::DBI::Pg) # for using postgresql DB
|
||||
- genisoimage # for building cloud-init ISO
|
||||
- policycoreutils # for loading SELinux policy module
|
||||
|
@ -173,6 +172,15 @@
|
|||
tags:
|
||||
- packages
|
||||
|
||||
- name: Install various other required packages
|
||||
package:
|
||||
name:
|
||||
- nfs-utils # for configuring/running NFS server
|
||||
state: present
|
||||
when: "openqa_nfs_workers is defined"
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: Check test directory exists with correct ownership
|
||||
file: path=/var/lib/openqa/share/tests/fedora state=directory owner=geekotest group=geekotest recurse=yes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue