Add debug output when rendering container files

This change adds a debug print statement which will assist in debugging should there
ever be an issue rendering files.

This change also removes the tcib_pre_build option, this var was not doing anything
and creating condusion when executing role builds.

Change-Id: I2f2003cfa00873d3669c94711635c51c4ac69ab3
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
Kevin Carter 2020-05-08 11:40:01 -05:00 committed by Kevin Carter (cloudnull)
parent 1fa6fe819d
commit 1543b75697
2 changed files with 1 additions and 6 deletions

View File

@ -76,6 +76,3 @@ tcib_actions: []
# List of Strings, optional, <item>, Collects file from the host and stores them in the build directory.
tcib_gather_files: []
# Boolean, enables the gathering of files.
tcib_pre_build: false

View File

@ -17,7 +17,7 @@
# "tripleo_container_image_build" will search for and load any operating system variable file
- name: Ensure path exists
- name: "Ensure {{ tcib_path }} exists"
file:
path: "{{ tcib_path }}"
state: "directory"
@ -28,8 +28,6 @@
dest: "{{ tcib_path }}/{{ item }}"
flat: true
loop: "{{ tcib_gather_files }}"
when:
- tcib_pre_build | bool
- name: Create a container file
template: