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 commit569b428498
) (cherry picked from commit8d961c871e
)
This commit is contained in:
parent
08b98496e3
commit
8a936714eb
|
@ -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,7 +57,8 @@
|
|||
{% if (tripleo_container_image_prepare_debug | bool) %}
|
||||
--debug
|
||||
{% endif %}
|
||||
no_log: "{{ not (tripleo_container_image_prepare_debug | bool) }}"
|
||||
>/dev/null
|
||||
no_log: "{{ not tripleo_container_image_prepare_debug | bool }}"
|
||||
when:
|
||||
- (tripleo_container_image_prepare_content | dict2items | length) > 0
|
||||
- (tripleo_container_image_prepare_roles | length) > 0
|
||||
|
|
Loading…
Reference in New Issue