diff --git a/goss.py b/goss.py index f173c14..da90873 100644 --- a/goss.py +++ b/goss.py @@ -134,7 +134,7 @@ def run_module(): write_result(output_file_path, out) if rc is not None and rc != 0: - error_msg = 'err : { err } ; out : { out }' + error_msg = f'err : { err } ; out : { out }' module.fail_json(msg=error_msg) module.exit_json(stdout=out, changed=False)