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:
parent
1fa6fe819d
commit
1543b75697
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue