Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1810283 - Overriding Boolean ansible role variables does not work
Summary: Overriding Boolean ansible role variables does not work
Keywords:
Status: CLOSED DUPLICATE of bug 1785231
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible - Configuration Management
Version: 6.6.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-04 21:14 UTC by roarora
Modified: 2023-09-07 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-24 10:57:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.