mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -07:00
parent
8ec28a2ba4
commit
5258e6d52a
4 changed files with 5 additions and 5 deletions
|
@ -132,7 +132,7 @@ def content_to_dict(module, content):
|
|||
# elif format in ['yaml', 'var']:
|
||||
|
||||
try:
|
||||
content_dict = yaml.load(content)
|
||||
content_dict = yaml.safe_load(content)
|
||||
|
||||
if not isinstance(content_dict, dict):
|
||||
raise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue