The problem with network interfaces #175
Replies: 3 comments
-
You can use the pve_cluster_addr0: "{{ ansible_default_ipv4.address }}"
pve_cluster_addr1: "another interface's IP address or hostname" e.g. you could use something like P.S. You may also want to read the section on Role Variables in the README: https://github.com/lae/ansible-role-proxmox#role-variables |
Beta Was this translation helpful? Give feedback.
-
@lae Thanks. ..... fatal: [192.168.15.152]: FAILED! => { |
Beta Was this translation helpful? Give feedback.
-
Oh sorry, it's been a while since I've actually used Ansible. It looks like You can always look up the host facts of your hosts by using the setup module, like this:
I cut out a lot of the extraneous facts but this will basically output any information about your host that you can use in your playbooks. As we can see here, If you still run into a similar error after using the correct variable, let me know—I'm curious why the error message says something about the YAML in the tasks file ( |
Beta Was this translation helpful? Give feedback.
-
Each node has an external and internal network (cluster network). Proxmox is installed on the nodes, the cluster is deployed. But the communication of the cluster takes place on an external IP. Need an internal IP.
Nodes internal IP:
192.168.56.25
192.168.56.26
192.168.56.27
How to use internal ip for cluster network.
Beta Was this translation helpful? Give feedback.
All reactions