mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Implemented that schemas are recognized
This commit is contained in:
@@ -53,7 +53,8 @@ class DefaultsGenerator:
|
||||
continue
|
||||
|
||||
if not config_file.exists():
|
||||
self.log(f"Skipping {role_name}: config/main.yml missing")
|
||||
self.log(f"Config missing for {role_name}, adding empty defaults for '{application_id}'")
|
||||
result["defaults_applications"][application_id] = {}
|
||||
continue
|
||||
|
||||
config_data = load_yaml_file(config_file)
|
||||
@@ -106,4 +107,4 @@ if __name__ == "__main__":
|
||||
roles_dir = (cwd / args.roles_dir).resolve()
|
||||
output_file = (cwd / args.output_file).resolve()
|
||||
|
||||
DefaultsGenerator(roles_dir, output_file, args.verbose, args.timeout).run()
|
||||
DefaultsGenerator(roles_dir, output_file, args.verbose, args.timeout).run()
|
||||
|
Reference in New Issue
Block a user