HCL-TECH-SOFTWARE / connections-automation

Deployment and upgrade automation scripts for HCL Connections 7.0 based on Ansible
Apache License 2.0
17 stars 32 forks source link

Cert copy from wrong host #281

Closed stoeps13 closed 1 year ago

stoeps13 commented 1 year ago

The component pack install playbook runs against component_pack_master. https://github.com/HCL-TECH-SOFTWARE/connections-automation/blob/6284e97dc630da1d84ba873d066be366655e8694/playbooks/hcl/harbor/setup-component-pack-only.yml#L8

but the metrics enable role copies from k8s_master[0], https://github.com/HCL-TECH-SOFTWARE/connections-automation/blob/6284e97dc630da1d84ba873d066be366655e8694/roles/hcl/component-pack-harbor/tasks/enable_es_metrics.yml#L231

So, when you install from a different machine than the k8s_master, then the copy fails. Replacing with component_pack_master instead of k8s_master makes the role more portable.

nitinjagjivan commented 1 year ago

Thank you @stoeps13. #282 merged.

stoeps13 commented 1 year ago

Merged