From e435042b9beddc87937a998b1587560adbf539f0 Mon Sep 17 00:00:00 2001 From: SamYaple Date: Tue, 5 Jan 2016 17:52:38 +0000 Subject: Allow haproxy role to pull images Change-Id: I094f1d35f60bf566ba7382504a7425f16ae975d8 Partially-Implements: blueprint pre-pull-images --- ansible/roles/haproxy/tasks/pull.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ansible/roles/haproxy/tasks/pull.yml (limited to 'ansible/roles/haproxy/tasks/pull.yml') diff --git a/ansible/roles/haproxy/tasks/pull.yml b/ansible/roles/haproxy/tasks/pull.yml new file mode 100644 index 000000000..f00516806 --- /dev/null +++ b/ansible/roles/haproxy/tasks/pull.yml @@ -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'] -- cgit v1.2.3