There is an error.
We are only generating one server/client certificate used in all the servers/clients, which is generated in the nomad_master node. So the "ansible_hostname" (or the IP address) always refers to the nomad_master node in all of them, and it may raise some SSL errors in applications accessing the nomad API.
Currently it is not a major issue, but we have to keep an eye.
In the nomad client and server certificate:
https://github.com/ai4os/ai4-ansible/blob/8872cccc2ccf8303b02a535b008d20724af5607c/roles/nomad/tasks/generate_certificates.yml#L30-L36
There is an error. We are only generating one server/client certificate used in all the servers/clients, which is generated in the nomad_master node. So the "ansible_hostname" (or the IP address) always refers to the nomad_master node in all of them, and it may raise some SSL errors in applications accessing the nomad API.
Currently it is not a major issue, but we have to keep an eye.