kolla-ansible/ansible/roles/haproxy/tasks/main.yml
Sam Yaple c68c9d95fc Gather facts from the hosts before using them
Haproxy needs to have gathered facts from all hosts that it will use
information about. In this case it must talk to all of the api hosts
as well as the database and rabbitmq hosts before generating the
configuration file.

Change-Id: I99b7dbebd5a6193e192ee258ddf576d18db90ed7
Closes-Bug: #1482406
2015-09-07 12:04:28 +00:00

7 lines
144 B
YAML
Executable File

---
- include: config.yml
when: inventory_hostname in groups['haproxy']
- include: start.yml
when: inventory_hostname in groups['haproxy']