Implemented schema/main.yml und config/main.yml file

This commit is contained in:
2025-07-09 02:03:32 +02:00
parent 7362accab0
commit 22b4342300
114 changed files with 48 additions and 45 deletions

View File

@@ -24,10 +24,10 @@ class TestOAuth2ProxyPorts(unittest.TestCase):
if not role_path.is_dir():
continue
with self.subTest(role=role_path.name):
# Check for configuration.yml
config_file = role_path / 'vars' / 'configuration.yml'
# Check for config/main.yml
config_file = role_path / "config" / "main.yml"
if not config_file.exists():
self.skipTest(f"No configuration.yml for role {role_path.name}")
self.skipTest(f"No config/main.yml for role {role_path.name}")
config = yaml.safe_load(config_file.read_text()) or {}
if not config.get('features', {}).get('oauth2', False):