mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 00:58:56 +01:00 
			
		
		
		
	This commit adds copyright attributions in SPDX to the files for matrix-registration following REUSE's specification. Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# SPDX-FileCopyrightText: 2021 MDAD project contributors
 | 
						|
# SPDX-FileCopyrightText: 2022 Marko Weltzer
 | 
						|
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
 | 
						|
#
 | 
						|
# SPDX-License-Identifier: AGPL-3.0-or-later
 | 
						|
 | 
						|
---
 | 
						|
 | 
						|
- name: Call matrix-registration list all tokens API
 | 
						|
  ansible.builtin.uri:
 | 
						|
    url: "{{ matrix_registration_api_token_endpoint }}"
 | 
						|
    follow_redirects: none
 | 
						|
    validate_certs: "{{ matrix_registration_api_validate_certs }}"
 | 
						|
    headers:
 | 
						|
      Content-Type: application/json
 | 
						|
      Authorization: "SharedSecret {{ matrix_registration_admin_secret }}"
 | 
						|
    method: GET
 | 
						|
    body_format: json
 | 
						|
  check_mode: false
 | 
						|
  register: matrix_registration_api_result
 | 
						|
 | 
						|
- ansible.builtin.set_fact:
 | 
						|
    matrix_registration_api_result_message: >-
 | 
						|
      matrix-registration result:
 | 
						|
 | 
						|
      {{ matrix_registration_api_result.json | to_nice_json }}
 | 
						|
  check_mode: false
 | 
						|
 | 
						|
- name: Inject result message into devture_playbook_runtime_messages_list
 | 
						|
  ansible.builtin.set_fact:
 | 
						|
    devture_playbook_runtime_messages_list: |
 | 
						|
      {{
 | 
						|
        devture_playbook_runtime_messages_list | default([])
 | 
						|
        +
 | 
						|
        [matrix_registration_api_result_message]
 | 
						|
      }}
 | 
						|
  check_mode: false
 |