diff --git a/IM/ConfManager.py b/IM/ConfManager.py index 7a6457459..3fc71c2de 100644 --- a/IM/ConfManager.py +++ b/IM/ConfManager.py @@ -765,7 +765,7 @@ def generate_playbook(self, vm, ctxt_elem, tmp_dir): if vault_password: vault_edit = self.get_vault_editor(vault_password) if configure.recipes.strip().startswith("$ANSIBLE_VAULT"): - recipes = vault_edit.vault.decrypt(configure.recipes.strip()) + recipes = str(vault_edit.vault.decrypt(configure.recipes.strip())) else: recipes = configure.recipes conf_content = merge_recipes(conf_content, recipes)