diff --git a/plugins/modules/unlink_agent_linux.py b/plugins/modules/unlink_agent_linux.py index 6aa89a6..9707ca9 100644 --- a/plugins/modules/unlink_agent_linux.py +++ b/plugins/modules/unlink_agent_linux.py @@ -1,3 +1,6 @@ +# (c) 2024, Fernando Mendieta (fernandomendietaovejero@gmail.com) +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) + from __future__ import absolute_import from __future__ import division from __future__ import print_function @@ -48,7 +51,7 @@ def unlink_nessus_agent(module): if "No host information found" in output: return True, "No Agent is running on the server, no need to unlink" else: - module.fail_json(msg="Failed to unlink Nessus Agent: {}".format(output)) + module.fail_json(msg=f"Failed to unlink Nessus Agent: {output}") def main():