aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/cloudkitty/tasks/pull.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/cloudkitty/tasks/pull.yml')
-rw-r--r--ansible/roles/cloudkitty/tasks/pull.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible/roles/cloudkitty/tasks/pull.yml b/ansible/roles/cloudkitty/tasks/pull.yml
new file mode 100644
index 000000000..efd7bd7df
--- /dev/null
+++ b/ansible/roles/cloudkitty/tasks/pull.yml
@@ -0,0 +1,14 @@
+---
+- name: Pulling cloudkitty-api image
+ kolla_docker:
+ action: "pull_image"
+ common_options: "{{ docker_common_options }}"
+ image: "{{ cloudkitty_api_image_full }}"
+ when: inventory_hostname in groups['cloudkitty-api']
+
+- name: Pulling cloudkitty-processor image
+ kolla_docker:
+ action: "pull_image"
+ common_options: "{{ docker_common_options }}"
+ image: "{{ cloudkitty_processor_image_full }}"
+ when: inventory_hostname in groups['cloudkitty-processor']