Update for Ansible 2.15 sanity tests (#173)

This commit is contained in:
Mike Graves
2022-09-22 09:38:20 -04:00
committed by GitHub
parent ed9fb196f9
commit 1691951788
12 changed files with 128 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ def validate_ldap_sync_config(config):
schemas.append(schema)
if len(schemas) == 0:
return "No schema-specific config was provided, should be one of %s" % schema_list
return "No schema-specific config was provided, should be one of %s" % ", ".join(schema_list)
if len(schemas) > 1:
return "Exactly one schema-specific config is required; found (%d) %s" % (len(schemas), ','.join(schemas))