The tasks in nfsd.yml first check to see if the system has nfs exports. If so, it then checks for the presence of 'insecure_locks'.