ibm-mas / ansible-devops

Ansible collection supporting devops for IBM Maximo Application Suite
https://ibm-mas.github.io/ansible-devops/
Eclipse Public License 2.0
47 stars 79 forks source link

The demodata var does not work in playbook but works indirectly? #1329

Closed aroute closed 1 week ago

aroute commented 1 month ago

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 under vars: in a playbook (mas_app_settings_demodata: 'true').

Can this be fixed?