Do we know why the var does not take effect if mentioned in the playbook, but works if explicitly referenced via an export statement?
This has been mentioned elsewhere as a bug some time ago. It seems the bug still stands. The var works when exported (export MAS_APP_SETTINGS_DEMODATA=true) but it totally does not work when mentioned under vars: in a playbook (mas_app_settings_demodata: 'true').
https://github.com/ibm-mas/ansible-devops/blob/13cc9962530bdc95eb1e2b28c6daa96843e0b536/ibm/mas_devops/roles/suite_app_config/vars/defaultspecs/manage.yml#L21
Do we know why the var does not take effect if mentioned in the playbook, but works if explicitly referenced via an export statement?
This has been mentioned elsewhere as a bug some time ago. It seems the bug still stands. The var works when exported (
export MAS_APP_SETTINGS_DEMODATA=true
) but it totally does not work when mentioned undervars:
in a playbook (mas_app_settings_demodata: 'true'
).Can this be fixed?