1
0

Move all ansible files to root

This commit is contained in:
2024-12-21 13:08:20 +03:00
parent 9776f79432
commit 42dbf8e19f
20 changed files with 2 additions and 2 deletions

View File

@ -0,0 +1,11 @@
#!/usr/bin/env sh
# See https://cloud.yandex.ru/docs/container-registry/tutorials/run-docker-on-vm#run
set -eu
curl --silent --show-error -H Metadata-Flavor:Google 169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token | \
cut -f1 -d',' | \
cut -f2 -d':' | \
tr -d '"' | \
docker login --username iam --password-stdin cr.yandex