Merge "Allow haproxy role to pull images"

This commit is contained in:
Jenkins 2016-01-06 08:15:31 +00:00 committed by Gerrit Code Review
commit f16fa6d741
3 changed files with 21 additions and 5 deletions

View File

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

View File

@ -1,6 +1,2 @@
---
- include: config.yml
when: inventory_hostname in groups['haproxy']
- include: start.yml
when: inventory_hostname in groups['haproxy']
- include: "{{ action }}.yml"

View File

@ -0,0 +1,14 @@
---
- name: Pulling keepalived image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ keepalived_image_full }}"
when: inventory_hostname in groups['haproxy']
- name: Pulling haproxy image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ haproxy_image_full }}"
when: inventory_hostname in groups['haproxy']