Suppress logging for download image

This generates too much output and during upgrade scenarios
can bring us over the 4mb limit.
This commit is contained in:
Matthew Mosesohn
2017-02-18 14:13:30 +04:00
parent ce4eefff6a
commit 475a42767a
2 changed files with 3 additions and 1 deletions

View File

@@ -10,12 +10,14 @@
- name: Register docker images info
raw: >-
{{ docker_bin_dir }}/docker images -q | xargs {{ docker_bin_dir }}/docker inspect -f "{{ '{{' }} .RepoTags {{ '}}' }},{{ '{{' }} .RepoDigests {{ '}}' }}"
no_log: true
register: docker_images_raw
failed_when: false
check_mode: no
when: not download_always_pull|bool
- set_fact: docker_images="{{docker_images_raw.stdout|regex_replace('\[|\]|\\n]','')|regex_replace('\s',',')}}"
no_log: true
when: not download_always_pull|bool
- set_fact: