safekeeper to cosnole call fix (#1333)

This commit is contained in:
Andrey Taranik
2022-02-27 01:36:40 +03:00
committed by GitHub
parent 850dfd02df
commit 26a68612d9

View File

@@ -169,6 +169,6 @@
shell:
cmd: |
INSTANCE_ID=$(curl -s http://169.254.169.254/latest/meta-data/instance-id)
curl -sfS -d '{"version": {{ current_version }} }' -X POST {{ hostvars.localhost.zenith.console_mgmt_base_url }}/api/v1/safekeepers/$INSTANCE_ID
curl -sfS -d '{"version": {{ current_version }} }' -X POST {{ console_mgmt_base_url }}/api/v1/safekeepers/$INSTANCE_ID
tags:
- safekeeper