Skip to content

Commit

Permalink
add name_field_ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
sugaf1204 committed May 7, 2024
1 parent 7bb2a1b commit 5fa4ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/network_interface_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@


def run(module, client):
machine_obj = Machine.get_by_fqdn(module, client, must_exist=True)
machine_obj = Machine.get_by_fqdn(module, client, must_exist=True, name_field_ansible="machine")
if module.params["mac_address"]:
nic_obj = machine_obj.find_nic_by_mac(module.params["mac_address"])
if nic_obj:
Expand Down

0 comments on commit 5fa4ac2

Please sign in to comment.