chore(ansible,ci): align workflow paths, shared letsencrypt_email, and netbird task tags
ansible-core-net / deploy (push) Successful in 27s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-rus-central / deploy (push) Successful in 36s

This commit is contained in:
karpenok committed 2026-11-11 11:35:45 +07:00
1 parent a0507719b0
commit 842a633916
6 files changed
+10 -22

No files matched your search

@@ -27,8 +27,6 @@
- netbird_session_key is defined and netbird_session_key | length > 0
- netbird_letsencrypt_email is defined and netbird_letsencrypt_email | length > 3
fail_msg: "Не задан домен NetBird (host_vars) или один из секретов NETBIRD_AUTH_SECRET, NETBIRD_DATASTORE_KEY, NETBIRD_SESSION_KEY, NETBIRD_LETSENCRYPT_EMAIL."
tags:
- config
- name: Записать .env
ansible.builtin.template:
@@ -39,8 +37,6 @@
mode: "0600"
no_log: true
notify: Перезапустить NetBird
tags:
- config
- name: Положить манифест панели
ansible.builtin.copy:
@@ -50,8 +46,6 @@
group: root
mode: "0644"
notify: Перезапустить NetBird
tags:
- config
- name: Собрать dashboard.env
ansible.builtin.template:
@@ -61,8 +55,6 @@
group: root
mode: "0644"
notify: Перезапустить NetBird
tags:
- config
- name: Собрать config.yaml
ansible.builtin.template:
@@ -73,13 +65,9 @@
mode: "0600"
no_log: true
notify: Перезапустить NetBird
tags:
- config
- name: Применить изменения конфигурации
ansible.builtin.meta: flush_handlers
tags:
- config
- name: Убедиться, что панель запущена
ansible.builtin.command: docker compose up -d
@@ -87,8 +75,6 @@
chdir: "{{ netbird_dir }}"
register: compose_up
changed_when: "'Started' in compose_up.stderr or 'Created' in compose_up.stderr or 'Recreated' in compose_up.stderr"
tags:
- config
- name: Показать состояние контейнеров
ansible.builtin.command: docker compose ps
@@ -96,8 +82,6 @@
chdir: "{{ netbird_dir }}"
register: compose_ps
changed_when: false
tags:
- config
- name: Дождаться ответа панели
ansible.builtin.command: >
@@ -109,11 +93,7 @@
retries: 30
delay: 10
until: panel_http.stdout in ['200', '302']
tags:
- config
- name: Итог установки
ansible.builtin.debug:
msg: "{{ compose_ps.stdout_lines + ['Первый вход: https://' + netbird_domain + '/setup'] }}"
tags:
- config