Comment blocks now stay within three lines and explain only the non-obvious. Long histories, include examples, and commented-out code are gone. No task, key, or value changed; the only data change is comment text inside the generated unit files.
11 lines
491 B
YAML
11 lines
491 B
YAML
---
|
|
|
|
# Runs in the roles phase, after the register include in pre_tasks created the network.
|
|
- name: Attach Yamtrack to Valkey
|
|
ansible.builtin.include_tasks: "{{ playbook_dir }}/../valkey/roles/attach/tasks/main.yaml"
|
|
|
|
# The restart is a handler, so it would run after the yamtrack role starts the app.
|
|
# Flushing applies the new drop-in before the app starts; later runs are a no-op.
|
|
- name: Apply the Valkey network change before starting Yamtrack
|
|
ansible.builtin.meta: flush_handlers
|