Stop caturing stdout for container-image-prepare
We log container-image-prepare to a file so we should just /dev/null
stdout. stderr will still be captured if something goes wrong but the
stdout is excessively large especially with --debug enabled.
Change-Id: I5110a9e2bd3888c9aae174fd27cede0e89d1046a
(cherry picked from commit 569b428498
)
This commit is contained in:
parent
a3835ffb2c
commit
8d961c871e
|
@ -48,7 +48,7 @@
|
|||
content: "{{ tripleo_container_image_prepare_roles }}"
|
||||
|
||||
- name: "Run tripleo_container_image_prepare logged to: {{ tripleo_container_image_prepare_log_file }}"
|
||||
command: >-
|
||||
shell: >-
|
||||
/usr/bin/tripleo-container-image-prepare
|
||||
--roles-file {{ role_data.path }}
|
||||
--environment-file {{ prepare_param.path }}
|
||||
|
@ -57,6 +57,7 @@
|
|||
{% if (tripleo_container_image_prepare_debug | bool) %}
|
||||
--debug
|
||||
{% endif %}
|
||||
>/dev/null
|
||||
no_log: "{{ not tripleo_container_image_prepare_debug | bool }}"
|
||||
when:
|
||||
- (tripleo_container_image_prepare_content | dict2items | length) > 0
|
||||
|
|
Loading…
Reference in New Issue