diff mbox series

Fix: gen_hosts undefined variable

Message ID 20240924143227.2014624-1-badari.joshi@samsung.com (mailing list archive)
State New
Headers show
Series Fix: gen_hosts undefined variable | expand

Commit Message

Badarinarayan Joshi Sept. 24, 2024, 2:32 p.m. UTC
When gen_hosts is imported in other workflows uninitialized variable
kdevops_workflow_enable_sysbench results in make failure.
This commit sets the default value as false.

Signed-off-by: Badarinarayan Joshi <badari.joshi@samsung.com>
---
 playbooks/roles/gen_hosts/defaults/main.yml | 1 +
 1 file changed, 1 insertion(+)

Comments

Luis Chamberlain Oct. 1, 2024, 5:47 p.m. UTC | #1
On Tue, Sep 24, 2024 at 02:32:27PM +0000, Badarinarayan Joshi wrote:
> When gen_hosts is imported in other workflows uninitialized variable
> kdevops_workflow_enable_sysbench results in make failure.
> This commit sets the default value as false.
> 
> Signed-off-by: Badarinarayan Joshi <badari.joshi@samsung.com>
> ---

Thanks!!

I added a Fixes tag and applied and pushed!

  Luis
diff mbox series

Patch

diff --git a/playbooks/roles/gen_hosts/defaults/main.yml b/playbooks/roles/gen_hosts/defaults/main.yml
index 8d05aa4..93daf30 100644
--- a/playbooks/roles/gen_hosts/defaults/main.yml
+++ b/playbooks/roles/gen_hosts/defaults/main.yml
@@ -27,6 +27,7 @@  kdevops_workflow_enable_pynfs: False
 kdevops_workflow_enable_gitr: False
 kdevops_workflow_enable_ltp: False
 kdevops_workflow_enable_nfstest: false
+kdevops_workflow_enable_sysbench: false
 
 is_fstests: False
 fstests_fstyp: "bogus"