Merge "Gather facts from the hosts before using them"

This commit is contained in:
Jenkins 2015-09-07 23:59:35 +00:00 committed by Gerrit Code Review
commit 3a6332411d
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
---
- include: config.yml
when: inventory_hostname in groups['haproxy']
- include: start.yml
when: inventory_hostname in groups['haproxy']

View File

@ -1,5 +1,5 @@
---
- hosts: haproxy
- hosts: [haproxy, mariadb, rabbitmq, cinder-api, glance-api, keystone, nova-api, neutron-server, swift-proxy-server]
roles:
- { role: haproxy, tags: haproxy, keepalived, when: enable_haproxy | bool }