From 4cd8ee4bc78eb3b83fe6664ad1bdac6e2442f717 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Sun, 17 Jul 2016 08:16:53 +0800 Subject: [PATCH] Add pull.yml to the ceilometer TrivialFix Change-Id: I2ac311fd3a47fff9a30ef934839bf19a460af1bf --- ansible/roles/ceilometer/tasks/pull.yml | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ansible/roles/ceilometer/tasks/pull.yml diff --git a/ansible/roles/ceilometer/tasks/pull.yml b/ansible/roles/ceilometer/tasks/pull.yml new file mode 100644 index 0000000000..83d7cde4a6 --- /dev/null +++ b/ansible/roles/ceilometer/tasks/pull.yml @@ -0,0 +1,28 @@ +--- +- name: Pulling ceilometer-notification image + kolla_docker: + action: "pull_image" + common_options: "{{ docker_common_options }}" + image: "{{ ceilometer_notification_image_full }}" + when: inventory_hostname in groups['ceilometer-notification'] + +- name: Pulling ceilometer-api image + kolla_docker: + action: "pull_image" + common_options: "{{ docker_common_options }}" + image: "{{ ceilometer_api_image_full }}" + when: inventory_hostname in groups['ceilometer-api'] + +- name: Pulling ceilometer-central image + kolla_docker: + action: "pull_image" + common_options: "{{ docker_common_options }}" + image: "{{ ceilometer_central_image_full }}" + when: inventory_hostname in groups['ceilometer-central'] + +- name: Pulling ceilometer-compute image + kolla_docker: + action: "pull_image" + common_options: "{{ docker_common_options }}" + image: "{{ ceilometer_compute_image_full }}" + when: inventory_hostname in groups['ceilometer-compute']