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.
9 lines
460 B
YAML
9 lines
460 B
YAML
---
|
|
# The app connects to `redis`, the alias the attach role adds, not the container name.
|
|
- name: Attach Nextcloud to Valkey
|
|
ansible.builtin.include_tasks: "{{ playbook_dir }}/../valkey/roles/attach/tasks/main.yaml"
|
|
|
|
# The restart that joins Valkey to nextcloud_net is a handler, so flush it before the app starts or it fails on the first cache write.
|
|
- name: Apply the Valkey network change before starting Nextcloud
|
|
ansible.builtin.meta: flush_handlers
|