User Host number 1 and 2 ip instead of the name

  • hosts: loadbalancer
    sudo: yes
    vars:
    firewall_allowed_tcp_ports:
  • “22”
  • “80”
    haproxy_backend_servers:
  • name: 137.116.11.000
    address: 137.116.11.000:80
  • name: 137.116.11.001
    address: 137.116.11.001:80

Is there any way for me to use webserver(1) and webserver(2) variable instead of the direct ip?

Victor