diff --git a/ansibledoctor/config.py b/ansibledoctor/config.py index 33b1beab..58ac1a08 100644 --- a/ansibledoctor/config.py +++ b/ansibledoctor/config.py @@ -268,7 +268,7 @@ def set_config(self, base_dir=None): with open(config, encoding="utf8") as stream: s = stream.read() try: - file_dict = ruamel.yaml.safe_load(s) + file_dict = ruamel.yaml.YAML(typ="safe", pure=True).load(s) except ( ruamel.yaml.composer.ComposerError, ruamel.yaml.scanner.ScannerError,