# User Host number 1 and 2 ip instead of the name

**URL:** <https://forum.ansible.com/t/user-host-number-1-and-2-ip-instead-of-the-name/27871>\
**Category:** Ansible Project\
**Created:** [June 26, 2018, 7:58am UTC](https://forum.ansible.com/t/user-host-number-1-and-2-ip-instead-of-the-name/27871 "2018-06-26T07:58:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VS1](https://avatars.discourse-cdn.com/v4/letter/v/bbe5ce/32.png) [@VS1](https://forum.ansible.com/u/VS1)\
**Post date:** [June 26, 2018, 7:58am UTC](https://forum.ansible.com/t/user-host-number-1-and-2-ip-instead-of-the-name/27871/1 "2018-06-26T07:58:34Z")

</div>

> - 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
