Skip to content

Commit

Permalink
Fix py3 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jul 27, 2020
1 parent f378583 commit f60c415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IM/ConfManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f60c415

Please sign in to comment.