mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-31 15:48:57 +02:00
Restructured server config
This commit is contained in:
@@ -33,7 +33,7 @@ class TestDomainsStructure(unittest.TestCase):
|
||||
if 'domains' not in data:
|
||||
continue
|
||||
|
||||
domains = data['domains']
|
||||
domains = data.get('server',{}).get('domains')
|
||||
if not isinstance(domains, dict):
|
||||
failed_roles.append((role_path.name, vars_file.name, "'domains' should be a dict"))
|
||||
continue
|
||||
|
Reference in New Issue
Block a user