aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nova/tasks/pull.yml
blob: 6d067ab7e4705c767c3d302d5712818846b5f299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
- name: Pulling nova-api image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ nova_api_image_full }}"
  when: inventory_hostname in groups['nova-api']

- name: Pulling nova-compute image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ nova_compute_image_full }}"
  when:
    - inventory_hostname in groups['compute']
    - not enable_nova_fake | bool

- name: Pulling nova-compute-ironic image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ nova_compute_ironic_image_full }}"
  when:
    - inventory_hostname in groups['nova-compute-ironic']
    - enable_ironic | bool

- name: Pulling nova-conductor image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ nova_conductor_image_full }}"
  when: inventory_hostname in groups['nova-conductor']

- name: Pulling nova-consoleauth image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ nova_consoleauth_image_full }}"
  when: inventory_hostname in groups['nova-consoleauth']

- name: Pulling nova-libvirt image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ nova_libvirt_image_full }}"
  when: inventory_hostname in groups['compute']

- name: Pulling nova-ssh image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ nova_ssh_image_full }}"
  when: inventory_hostname in groups['compute']

- name: Pulling nova-novncproxy image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ nova_novncproxy_image_full }}"
  when:
    - inventory_hostname in groups['nova-novncproxy']
    - nova_console == 'novnc'

- name: Pulling nova-scheduler image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ nova_scheduler_image_full }}"
  when: inventory_hostname in groups['nova-scheduler']

- name: Pulling nova-spicehtml5proxy image
  kolla_docker:
    action: "pull_image"
    common_options: "{{ docker_common_options }}"
    image: "{{ nova_spicehtml5proxy_image_full }}"
  when:
    - inventory_hostname in groups['nova-spicehtml5proxy']
    - nova_console == 'spice'