kolla-ansible/ansible/roles/telegraf/tasks/pull.yml
caoyuan b4632d2a24 Optimize reconfigure action for telegraf
Change-Id: Ia658b0774ce009feb6b4e73363114f7922833835
Partially-implements: blueprint better-reconfigure
2017-01-27 03:41:31 +00:00

11 lines
294 B
YAML

---
- name: Pulling telegraf image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ item.value.image }}"
when:
- inventory_hostname in groups[item.value.group]
- item.value.enabled | bool
with_dict: "{{ telegraf_services }}"