---
- name: Pulling octavia-api image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ octavia_api_image_full }}"
  when: inventory_hostname in groups['octavia-api']

- name: Pulling octavia-health-manager image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ octavia_health_manager_image_full }}"
  when: inventory_hostname in groups['octavia-health-manager']

- name: Pulling octavia-housekeeping image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ octavia_housekeeping_image_full }}"
  when: inventory_hostname in groups['octavia-housekeeping']

- name: Pulling octavia-worker image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ octavia_worker_image_full }}"
  when: inventory_hostname in groups['octavia-worker']