refactor: drop the finished secrets migration from the deploy path

Product tags now come from the role directory, and edits to the CI scripts no longer redeploy every machine.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
karpenokandCursor committed 2026-11-11 00:09:23 +07:00
1 parent 9f337445a9
commit a0507719b0
7 files changed
+16 -68

No files matched your search

@@ -1,32 +0,0 @@
---
# Одноразовый перенос /opt/secrets. После успешного прогона на CT 901 файл удаляется.
- name: Перенести данные прежнего стека core-secrets
hosts: core-secrets
become: true
tasks:
- name: Остановить прежний общий стек /opt/secrets
ansible.builtin.command: docker compose -f /opt/secrets/compose.yaml down
args:
removes: /opt/secrets/compose.yaml
- name: Перенести данные Infisical в /opt/infisical
ansible.builtin.command: mv /opt/secrets/infisical /opt/infisical
args:
removes: /opt/secrets/infisical
creates: /opt/infisical
- name: Перенести данные Vaultwarden в /opt/vaultwarden
ansible.builtin.command: mv /opt/secrets/vaultwarden /opt/vaultwarden
args:
removes: /opt/secrets/vaultwarden
creates: /opt/vaultwarden
- name: Убрать compose прежнего общего стека
ansible.builtin.file:
path: /opt/secrets/compose.yaml
state: absent
- name: Удалить пустой каталог прежнего стека
ansible.builtin.command: rmdir /opt/secrets
args:
removes: /opt/secrets