GMH 0.4.6 update

This commit is contained in:
Michael-GMH
2021-05-10 18:50:10 +08:00
parent 3dcc006932
commit 4e6f6e179b
10 changed files with 314 additions and 4 deletions

View File

@ -0,0 +1,10 @@
- name: Collect entire room list into stdout
shell: |
curl -X GET --header "Authorization: Bearer {{ janitors_token.stdout[1:-1] }}" '{{ synapse_container_ip.stdout }}:8008/_synapse/admin/v1/rooms?from={{ item }}'
register: rooms_output
- name: Print stdout to file
delegate_to: 127.0.0.1
shell: |
echo '{{ rooms_output.stdout }}' >> /tmp/{{ subscription_id }}_room_list_complete.json