Browse Source

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>
tags/1.4.0
Kevin Carter 2 months ago
committed by Kevin Carter (cloudnull)
parent
commit
1543b75697
2 changed files with 1 additions and 6 deletions
  1. +0
    -3
      tripleo_ansible/roles/tripleo_container_image_build/defaults/main.yml
  2. +1
    -3
      tripleo_ansible/roles/tripleo_container_image_build/tasks/main.yml

+ 0
- 3
tripleo_ansible/roles/tripleo_container_image_build/defaults/main.yml 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

+ 1
- 3
tripleo_ansible/roles/tripleo_container_image_build/tasks/main.yml 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:


Loading…
Cancel
Save