mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Use yaml.safe_dump rather than yaml.dump. No more "!!python/unicode".
This commit is contained in:
parent
fed82c2188
commit
8cf268441e
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class FilterModule(object):
|
|||
return {
|
||||
'to_json': json.dumps,
|
||||
'from_json': json.loads,
|
||||
'to_yaml': yaml.dump,
|
||||
'to_yaml': yaml.safe_dump,
|
||||
'from_yaml': yaml.load,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue