mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Adapted CSP to new server dict structure
This commit is contained in:
@@ -62,7 +62,7 @@ class TestCspConfigurationConsistency(unittest.TestCase):
|
||||
errors.append(f"{role_path.name}: YAML parse error: {e}")
|
||||
continue
|
||||
|
||||
csp = cfg.get('csp')
|
||||
csp = cfg.get('server',{}).get('csp')
|
||||
if csp is None:
|
||||
continue # nothing to check
|
||||
|
||||
|
Reference in New Issue
Block a user