mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Removing indentation
This commit is contained in:
parent
4775c257ea
commit
852f5176a1
1 changed files with 2 additions and 2 deletions
|
@ -562,8 +562,8 @@ def write_on_file(content, filename, module):
|
||||||
filepath = '{0}{1}'.format(path, filename)
|
filepath = '{0}{1}'.format(path, filename)
|
||||||
try:
|
try:
|
||||||
report = open(filepath, 'w')
|
report = open(filepath, 'w')
|
||||||
report.write(content)
|
report.write(content)
|
||||||
report.close()
|
report.close()
|
||||||
except:
|
except:
|
||||||
module.fail_json(msg="Error while writing on file.")
|
module.fail_json(msg="Error while writing on file.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue