Skip to content

Commit

Permalink
fstests: Fix selection of NFSD export type for the pNFS test section
Browse files Browse the repository at this point in the history
I noticed this task was unnecessarily triggered for non-NFS file
system types.

Reviewed-by: Luis Chamberlain <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
  • Loading branch information
chucklever committed Dec 11, 2024
1 parent e15a2b3 commit 4084a9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playbooks/roles/fstests/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@
set_fact:
fstests_nfs_export_fstype: "xfs"
when:
- fstests_fstyp == "nfs"
- fstests_nfs_section_pnfs|bool

- name: Create NFS export for test vol
Expand Down

0 comments on commit 4084a9e

Please sign in to comment.