Do not use --debug for image build
Since Ansible was bumped to 2.14, we've observed the container image build process gets stuck in the middle of ansible tasks to generate Docker/Buildah files, because of a bug[1] with ansible-runner. This removes --debug option from the build command to avoid -vvv option in the ansible command, to workaround the above bug. [1] https://github.com/ansible/ansible-runner/issues/1164 Related-Bug: #1996612 Change-Id: I53c688077c65da03d8c3cf104862e02cefc2c615
This commit is contained in:
parent
27ca805b53
commit
c625becad1
@ -121,7 +121,11 @@
|
||||
include_role:
|
||||
name: tripleo_container_image_build
|
||||
vars:
|
||||
tripleo_container_image_build_debug: true
|
||||
# TODO(tkajinam): With Ansible 2.14, the playbook triggered by the command
|
||||
# gets stuck if -vvv is set. We temporarily remove --debug
|
||||
# as a workaround until we find out the appropriate fix.
|
||||
# https://github.com/ansible/ansible-runner/issues/1164
|
||||
# tripleo_container_image_build_debug: true
|
||||
tripleo_container_image_build_generate_scripts: true
|
||||
tripleo_container_image_build_namespace: "{{ container_registry_namespace }}"
|
||||
tripleo_container_image_build_tag: "{{ container_tag }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user