Matrix Docker Ansible eploy
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
417 B

  1. ---
  2. - name: Collect entire room list into stdout
  3. shell: |
  4. curl -X GET --header "Authorization: Bearer {{ janitors_token.stdout[1:-1] }}" '{{ synapse_container_ip.stdout }}:8008/_synapse/admin/v1/rooms?from={{ item }}'
  5. register: awx_rooms_output
  6. - name: Print stdout to file
  7. delegate_to: 127.0.0.1
  8. shell: |
  9. echo '{{ awx_rooms_output.stdout }}' >> /tmp/{{ subscription_id }}_room_list_complete.json