You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 4. Install BAS
# -----------------------------------------------------------------------------
- name: Install BAS
import_playbook: bas/install-bas.yml
vars:
# BAS Configuration
bas_namespace: "{{ lookup('env', 'BAS_NAMESPACE') | default('ibm-bas', true) }}"
bas_persistent_storage: "{{ lookup('env', 'BAS_PERSISTENT_STORAGE') }}"
bas_meta_storage_class: "{{ lookup('env', 'BAS_META_STORAGE') }}"
bas_username: "{{ lookup('env', 'BAS_USERNAME') | default('basuser', true) }}"
# TODO: Providing a default password of "password" is unacceptable, this needs to be randomly generated if not provided (and provide details in the documentation about how to look up the generated password)
# When fixing this, ensure it is fixed in any other playbooks with the same problem too
bas_password: "{{ lookup('env', 'BAS_PASSWORD') | default('password', true) }}"
# TODO: if this is related to BAS, the env vars should be prefixed BAS_ ... otherwise, why is the grafana config required under the BAS section here/why is the grafana username set to "basuser" as default?
# When fixing this, ensure it is fixed in any other playbooks with the same problem too
grafana_username: "{{ lookup('env', 'GRAFANA_USERNAME') | default('basuser', true) }}"
# TODO: Providing a default password of "password" is unacceptable, this needs to be randomly generated if not provided (and provide details in the documentation about how to look up the generated password)
# When fixing this, ensure it is fixed in any other playbooks with the same problem too
grafana_password: "{{ lookup('env', 'GRAFANA_PASSWORD') | default('password', true) }}"
# TODO: These all need to be made required env vars, these are not useable defaults
# When fixing this, ensure it is fixed in any other playbooks with the same problem too
contact:
email: "{{ lookup('env', 'BAS_CONTACT_MAIL') | default('john@mycompany.com', true) }}"
firstName: "{{ lookup('env', 'BAS_CONTACT_FIRSTNAME') | default('John', true) }}"
lastName: "{{ lookup('env', 'BAS_CONTACT_LASTNAME') | default('Barnes', true) }}"
# MAS Configuration
mas_instance_id: "{{ lookup('env', 'MAS_INSTANCE_ID') }}"
mas_config_dir: "{{ lookup('env', 'MAS_CONFIG_DIR') }}"
The text was updated successfully, but these errors were encountered:
See TODOs in
lite-core-roks.yml
... please deliver fixes to this branch: https://github.com/ibm-mas/ansible-devops/tree/bugfixes2411The text was updated successfully, but these errors were encountered: