MAS DevOps Ansible Collection Ansible CLI
Edit on GitHub
Home Ansible Automation Platform OCP Install Cloud Pak For Data Install Core Add AIBroker Add IoT Add Manage Add Monitor Add Optimizer Add Predict Add Visual Inspection Update Upgrade Uninstall Core Backup & Restore ocp_cluster_monitoring ocp_config ocp_deprovision ocp_efs ocp_github_oauth ocp_login ocp_node_config ocp_provision ocp_roks_upgrade_registry_storage ocp_upgrade ocp_verify appconnect aws_bucket_access_point aws_documentdb_user aws_policy aws_route53 aws_user_creation aws_vpc cert_manager cis common-services configure_manage_eventstreams cos cos_bucket cp4d_admin_pwd_update cp4d cp4d_service db2 dro eck grafana ibm_catalogs kafka nvidia_gpu mongodb ocs sls turbonomic uds mirror_case_prepare mirror_extras_prepare mirror_images mirror_ocp ocp_idms ocp_simulate_disconnected_network registry suite_app_config suite_app_install suite_app_uninstall suite_app_upgrade suite_app_rollback suite_app_backup_restore suite_certs suite_config suite_db2_setup_for_manage suite_dns suite_install suite_manage_attachments_config suite_manage_birt_report_config suite_manage_bim_config suite_manage_customer_files_config suite_manage_imagestitching_config suite_manage_import_certs_config suite_manage_load_dbc_scripts suite_manage_logging_config suite_manage_pvc_config suite_uninstall suite_upgrade suite_rollback suite_verify suite_backup_restore ansible_version_check entitlement_key_rotation gencfg_jdbc gencfg_watsonstudio gencfg_workspace gencfg_mongo

configure_manage_eventstreams¤

This role configures manage to use IBM Cloud Eventstreams.

NOTE This role inserts dummy kafka password during configuration (not the actual one),so user has to follow below guide to configure kafka password manually via Manage Dashboard.

Screenshot 2023-02-23 at 7 21 27 PM

Role Variables¤

mas_instance_id¤

mas_workspace_id¤

ibmcloud_apikey¤

ibmcloud_region¤

ibmcloud_resourcegroup¤

IBM Cloud Resource Group Name where the IBM Cloud Eventstreams is provisioned. - Optional - Environment Variable: IBMCLOUD_RESOURCEGROUP - Default Value: Default

eventstreams_name¤

IBM Cloud Eventstreams Service Name - Required - Environment Variable: EVENTSTREAMS_NAME - Default Value: None

eventstreams_location¤

IBM Cloud Eventstreams Service Location - Optional - Environment Variable: EVENTSTREAMS_LOCATION - Default Value: us-east

db2wh_dbname¤

DB2 Database name where configurations will be done for Manage to use IBM Cloud Eventstreams - Optional - Environment Variable: DB2WH_DBNAME - Default Value: BLUDB

cpd_meta_namespace¤

db2_instance_name¤

Required to build up pod name running db2

mas_app_id¤

mas_app_ws_fqn¤

Fully Qualified Name for MAS Application - Optional - Environment Variable: MAS_APP_WS_FQN - Default Value: manageworkspaces.apps.mas.ibm.com

Example Playbook¤

Configures IBM Cloud Evenstreams service with Manage

- hosts: localhost
  any_errors_fatal: true
  vars:
    mas_instance_id: 'test-instance'
    mas_workspace_id: 'main'
    ibmcloud_apikey: 'test-api-key'
    eventstreams_name: 'test-es'
    cpd_meta_namespace: 'db2u'
    db2_instance_name: 'test-db2'
  roles:
    - ibm.mas_devops.configure_manage_cfg