Bug 1810283

Summary: Overriding Boolean ansible role variables does not work
Product: Red Hat Satellite Reporter: roarora
Component: Ansible - Configuration ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Lukas Pramuk <lpramuk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: tbrisker
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-24 10:57:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description roarora 2020-03-04 21:14:29 UTC
Description of problem:

Overriding boolean variables imported from ansible roles does not seem to work when running ansible roles.

Version-Release number of selected component (if applicable):
6.6

How reproducible:
Always

Steps to Reproduce:
1. Import a role having boolean value true/false in defaults. example flag: true
2. Import the variables and override variable value. Example override flag to false
3. Assign the role to a host and run roles and notice the value is not overridden

For all non boolean overridden variables, the overridden value can be seen in dynflow task details under ansible_inventory json. But the boolean overridden variables never reach there and hence never makes to role execution.

Expected results:

Boolean vars overriding should work as other types work

Additional info:

Comment 4 Tomer Brisker 2020-08-24 10:57:08 UTC

*** This bug has been marked as a duplicate of bug 1785231 ***