|
|
|
@ -14,7 +14,7 @@
|
|
|
|
|
|
|
|
|
|
- name: Collect access token of @admin-dimension user
|
|
|
|
|
shell: |
|
|
|
|
|
curl -X POST --header 'Content-Type: application/json' -d '{ "identifier": { "type": "m.id.user","user": "admin-dimension"}, "password": "{{ awx_dimension_user_password }}", "type": "m.login.password"}' 'https://matrix.{{ matrix_domain }}/_matrix/client/r0/login' | jq -c '. | {access_token}' | sed 's/.*\":\"//' | sed 's/\"}//'
|
|
|
|
|
curl -X POST --header 'Content-Type: application/json' -d '{"identifier": {"type": "m.id.user","user": "admin-dimension"}, "password": "{{ awx_dimension_user_password }}", "type": "m.login.password"}' 'https://matrix.{{ matrix_domain }}/_matrix/client/r0/login' | jq -c '. | {access_token}' | sed 's/.*\":\"//' | sed 's/\"}//'
|
|
|
|
|
register: awx_dimension_user_access_token
|
|
|
|
|
|
|
|
|
|
- name: Record Synapse variables locally on AWX
|
|
|
|
|