You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
457 B
12 lines
457 B
---
|
|
|
|
- name: Collect entire room list into stdout
|
|
shell: |
|
|
curl -X GET --header "Authorization: Bearer {{ janitors_token.stdout[1:-1] }}" '{{ synapse_container_ip.stdout }}:{{ matrix_synapse_container_client_api_port }}/_synapse/admin/v1/rooms?from={{ item }}'
|
|
register: awx_rooms_output
|
|
|
|
- name: Print stdout to file
|
|
delegate_to: 127.0.0.1
|
|
shell: |
|
|
echo '{{ awx_rooms_output.stdout }}' >> /tmp/{{ subscription_id }}_room_list_complete.json
|