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 }}"
|
content: "{{ tripleo_container_image_prepare_roles }}"
|
||||||
|
|
||||||
- name: "Run tripleo_container_image_prepare logged to: {{ tripleo_container_image_prepare_log_file }}"
|
- name: "Run tripleo_container_image_prepare logged to: {{ tripleo_container_image_prepare_log_file }}"
|
||||||
command: >-
|
shell: >-
|
||||||
/usr/bin/tripleo-container-image-prepare
|
/usr/bin/tripleo-container-image-prepare
|
||||||
--roles-file {{ role_data.path }}
|
--roles-file {{ role_data.path }}
|
||||||
--environment-file {{ prepare_param.path }}
|
--environment-file {{ prepare_param.path }}
|
||||||
|
@ -57,6 +57,7 @@
|
||||||
{% if (tripleo_container_image_prepare_debug | bool) %}
|
{% if (tripleo_container_image_prepare_debug | bool) %}
|
||||||
--debug
|
--debug
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
>/dev/null
|
||||||
no_log: "{{ not tripleo_container_image_prepare_debug | bool }}"
|
no_log: "{{ not tripleo_container_image_prepare_debug | bool }}"
|
||||||
when:
|
when:
|
||||||
- (tripleo_container_image_prepare_content | dict2items | length) > 0
|
- (tripleo_container_image_prepare_content | dict2items | length) > 0
|
||||||
|
|
Loading…
Reference in New Issue