Roles stay under the machine that runs them, CI applies only a known product, and the /opt/secrets move is a one-shot playbook instead of part of every core-secrets run. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
328 B
YAML
10 lines
328 B
YAML
---
|
|
- name: Перезапустить NetBird
|
|
ansible.builtin.command: docker compose up -d --force-recreate --remove-orphans
|
|
args:
|
|
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: [always]
|
|
|