Migration: login to docker registry with oauth key

This commit is contained in:
2026-05-22 20:11:10 +03:00
parent 3545905cbd
commit 670947fcdf
5 changed files with 190 additions and 192 deletions
+5 -3
View File
@@ -26,9 +26,11 @@
loop:
- "{{ base_dir }}"
- name: "Login to yandex docker registry."
ansible.builtin.script:
cmd: "files/yandex-docker-registry-auth.sh"
- name: "Login to Yandex Container Registry"
community.docker.docker_login:
registry_url: "cr.yandex"
username: "oauth"
password: "{{ yc_oauth_token }}"
- name: "Copy docker compose file"
ansible.builtin.template: