From f60c4151026fcc87942d794df9381c728183c3ae Mon Sep 17 00:00:00 2001 From: micafer Date: Mon, 27 Jul 2020 12:22:30 +0200 Subject: [PATCH] Fix py3 issue --- IM/ConfManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)