diff --git a/plugins/action/config_template.py b/plugins/action/config_template.py index d270da2..472d483 100644 --- a/plugins/action/config_template.py +++ b/plugins/action/config_template.py @@ -66,6 +66,8 @@ try: except NameError: FileNotFoundError = OSError +if yaml.SafeDumper not in AnsibleDumper.__bases__: + AnsibleDumper.__bases__ = (yaml.SafeDumper,) + AnsibleDumper.__bases__ class IDumper(AnsibleDumper): def increase_indent(self, flow=False, indentless=False):