From 8c8806ebd827f1662a6f4f7aa79489dadad25218 Mon Sep 17 00:00:00 2001 From: Anatoli Tsikhamirau Date: Wed, 9 Mar 2022 10:30:00 +0100 Subject: [PATCH] Fix upgrade (#3009) Co-authored-by: atsikham --- cli/src/ansible/AnsibleVarsGenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/ansible/AnsibleVarsGenerator.py b/cli/src/ansible/AnsibleVarsGenerator.py index 71c532dead..7353cd0647 100644 --- a/cli/src/ansible/AnsibleVarsGenerator.py +++ b/cli/src/ansible/AnsibleVarsGenerator.py @@ -127,7 +127,7 @@ def write_role_manifest_vars(self, ansible_dir, role, kind): document = select_first(self.manifest_docs, lambda x: x.kind == kind) if document is None: # If there is no document provided by the user, then fallback to defaults - document = load_schema_obj(types.DEFAULT, 'common', kind) + document = load_schema_obj(schema_types.DEFAULT, 'common', kind) # Inject the required "version" attribute document['version'] = VERSION