mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-09-22 07:40:09 +00:00
Reword the Molecule scenario comments
They were hard-wrapped at 80 characters, broke mid-parenthesis, and spent lines restating what the code below them does. Rewrapped at natural boundaries instead, with the narration dropped and only the reasons, gotchas and surprises kept. Section dividers stay - they delineate long plays rather than narrate them. Comments only; no scenario behaviour changes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SEH3vxYSQ5SV4N5z61eyGT
This commit is contained in:
co-authored by
Claude Opus 5
parent
e2d3be504e
commit
c447e1528b
@@ -31,9 +31,8 @@
|
||||
docker_daemon_options:
|
||||
storage-driver: fuse-overlayfs
|
||||
|
||||
# The role's file tasks set owner/group by name, and Ansible resolves those
|
||||
# through the passwd database - so they have to exist before it runs. In a
|
||||
# real deployment `matrix-base` creates them.
|
||||
# The role's file tasks set owner/group by name, which Ansible resolves through the
|
||||
# passwd database, so they have to exist first. `matrix-base` creates them for real.
|
||||
- name: Ensure the matrix group exists
|
||||
ansible.builtin.group:
|
||||
name: "{{ matrix_group_name }}"
|
||||
@@ -70,10 +69,9 @@
|
||||
- matrix_alertmanager_receiver_molecule_network.rc != 0
|
||||
- "'already exists' not in matrix_alertmanager_receiver_molecule_network.stderr"
|
||||
|
||||
# matrix-alertmanager-receiver contacts the homeserver while starting up -
|
||||
# it fetches /_matrix/client/v3/joined_rooms to resolve its room mapping and
|
||||
# exits 1 if that fails - so a homeserver has to exist for it to come up at
|
||||
# all. The shared stub is enough; see molecule-shared/homeserver-stub.py.
|
||||
# The service fetches /_matrix/client/v3/joined_rooms to resolve its room mapping and
|
||||
# exits 1 if that fails, so a homeserver has to exist for it to come up at all.
|
||||
# The shared stub is enough. See molecule-shared/homeserver-stub.py.
|
||||
- name: Ensure the homeserver stub is running
|
||||
ansible.builtin.include_tasks:
|
||||
file: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') }}/../../../molecule-shared/tasks/homeserver-stub.yml"
|
||||
|
||||
Reference in New Issue
Block a user