Compare commits

..

1 Commits

Author SHA1 Message Date
2956cd40b6
feat(jenkins_node_info): add info module 2025-02-08 15:50:05 +01:00

View File

@ -87,7 +87,7 @@ def run_module():
result = dict(changed=False, original_message="", message="") result = dict(changed=False, original_message="", message="")
module = AnsibleModule(argument_spec=module_args, supports_check_mode=True) module = AnsibleModule(argument_spec=module_args, supports_check_mode=True)
jenkins = Jenkins(module.params["url"], module.params["token"]) jenkins = Jenkins(module.params["server"], module.params["api_token"])
node = jenkins.get_node_info(module.params["name"]) node = jenkins.get_node_info(module.params["name"])
result["name"] = node.name result["name"] = node.name