Project

General

Profile

Actions

Bug #29138

closed

Ansible boolean variables overriden with False are not showing in the host YAML output

Added by Alexey Masolov over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from: https://bugzilla.redhat.com/show_bug.cgi?id=1785231

If the variable's type is boolean, then, an override to 'false' (unquoted) is not taken into account.

Steps to reproduce:

1. Import a role and its variables (works for all role without boolean variables)
2. Associate this role to an host
3. Override a boolean variable and leave the default value to 'false'
4. Access the YAML page of your host and notice the variable is missing
5. Change the overridden value to 'true' and notice the YAML page now shows it

Actual results:

Override value false is not considered.

Actions

Also available in: Atom PDF