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
49 stars 88 forks source link

oneclick_add_manage playbook inconsistent with docs #878

Closed witekwww closed 1 year ago

witekwww commented 1 year ago

Oneclick Add Manage playbook docs says: _To install CP4D and Cognos Analytics (Support for this integration starts in MAS 8.10): - CPD_INSTALL_PLATFORM True/False - If you HAVE CP4D already installed in your cluster, then set it to "false" - CPD_INSTALLCOGNOS True/False - If you HAVE Cognos Analytics already installed in your cluster, then set it to "false" The names of the variables are not consistent with actual playbook code. # Control what elements of CPD are installed install_cp4d_platform: "{{ lookup('env', 'CP4D_INSTALL_PLATFORM') | default('False', true) | bool }}" install_cp4d_cognos_analytics: "{{ lookup('env', 'CP4D_INSTALL_COGNOS') | default('False', true) | bool }}" Playbook is looking for vars starting with CP4D and not with CPD. This results in playbook always skipping Cognos Analytics installation.

witekwww commented 1 year ago

For anyone trying to install Cognos Analytics the simple workaround is

export CP4D_INSTALL_PLATFORM=True
export CP4D_INSTALL_COGNOS=True
export CPD_PRODUCT_VERSION=4.6.3
durera commented 1 year ago

Playbook has been corrected to match the doc.