Summary:
Due to the hostname set to the IP of a node in the inventory, the role "nvidia-device-plugin" will fail to label the node, since the node's name is not equal to the inventory_hostname.
Steps to reproduce:
Use an inventory name which differs from the node's name. Apply the role/playbook.
Expected behaviour:
The playbook runs, the nodes get labeled.
Actual behaviour:
Playbook fails since the node name differs.
Summary: Due to the hostname set to the IP of a node in the inventory, the role "nvidia-device-plugin" will fail to label the node, since the node's name is not equal to the inventory_hostname.
Steps to reproduce: Use an inventory name which differs from the node's name. Apply the role/playbook.
Expected behaviour: The playbook runs, the nodes get labeled. Actual behaviour: Playbook fails since the node name differs.