Skip to content
Snippets Groups Projects
Unverified Commit 0efb0c34 authored by Varac's avatar Varac
Browse files

Properly load and dump yaml

parent 4b2a44e3
No related branches found
No related tags found
No related merge requests found
......@@ -182,9 +182,9 @@ class Cluster:
unauthorizedStorage: true
httpsHstsEnabled: false
"""
if self.acme_staging == True:
settings['nextcloud_extra_values'] = nextcloud_extra_values
if self.acme_staging:
settings['nextcloud_extra_values'] = \
yaml.load(nextcloud_extra_values)
file_contents = yaml.safe_dump(settings, default_flow_style=False)
log.debug(file_contents)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment