From 25e248f96a68900e8d3de7a19cd645c65eb8f7d6 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Tue, 3 Mar 2026 19:31:11 +0900 Subject: [PATCH] Make the role compliant with REUSE Signed-off-by: Suguru Hirahara --- roles/custom/matrix-client-commet/defaults/main.yml | 4 ++++ roles/custom/matrix-client-commet/tasks/main.yml | 4 ++++ roles/custom/matrix-client-commet/tasks/setup_install.yml | 4 ++++ roles/custom/matrix-client-commet/tasks/setup_uninstall.yml | 4 ++++ roles/custom/matrix-client-commet/templates/env.j2 | 6 ++++++ .../templates/global_config.json.j2.license | 3 +++ roles/custom/matrix-client-commet/templates/labels.j2 | 6 ++++++ .../templates/systemd/matrix-client-commet.service.j2 | 6 ++++++ 8 files changed, 37 insertions(+) create mode 100644 roles/custom/matrix-client-commet/templates/global_config.json.j2.license diff --git a/roles/custom/matrix-client-commet/defaults/main.yml b/roles/custom/matrix-client-commet/defaults/main.yml index a6c3820c7..17ba27b7e 100644 --- a/roles/custom/matrix-client-commet/defaults/main.yml +++ b/roles/custom/matrix-client-commet/defaults/main.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 MDAD project contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + --- # Project source code URL: https://github.com/commetchat/commet diff --git a/roles/custom/matrix-client-commet/tasks/main.yml b/roles/custom/matrix-client-commet/tasks/main.yml index 45746fc89..c5a421018 100644 --- a/roles/custom/matrix-client-commet/tasks/main.yml +++ b/roles/custom/matrix-client-commet/tasks/main.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 MDAD project contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + --- - tags: diff --git a/roles/custom/matrix-client-commet/tasks/setup_install.yml b/roles/custom/matrix-client-commet/tasks/setup_install.yml index 8fe0c384f..160aaa5ec 100644 --- a/roles/custom/matrix-client-commet/tasks/setup_install.yml +++ b/roles/custom/matrix-client-commet/tasks/setup_install.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 MDAD project contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + --- - name: Ensure Commet paths exist diff --git a/roles/custom/matrix-client-commet/tasks/setup_uninstall.yml b/roles/custom/matrix-client-commet/tasks/setup_uninstall.yml index 62eebec75..624aeea29 100644 --- a/roles/custom/matrix-client-commet/tasks/setup_uninstall.yml +++ b/roles/custom/matrix-client-commet/tasks/setup_uninstall.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2026 MDAD project contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + --- - name: Check existence of matrix-client-commet.service diff --git a/roles/custom/matrix-client-commet/templates/env.j2 b/roles/custom/matrix-client-commet/templates/env.j2 index 6f6e82099..cca507825 100644 --- a/roles/custom/matrix-client-commet/templates/env.j2 +++ b/roles/custom/matrix-client-commet/templates/env.j2 @@ -1,3 +1,9 @@ +{# +SPDX-FileCopyrightText: 2026 MDAD project contributors + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + {# Environment variables for the matrix-client-commet container. Add custom variables by appending to matrix_client_commet_environment_variables_extension. diff --git a/roles/custom/matrix-client-commet/templates/global_config.json.j2.license b/roles/custom/matrix-client-commet/templates/global_config.json.j2.license new file mode 100644 index 000000000..d6f441299 --- /dev/null +++ b/roles/custom/matrix-client-commet/templates/global_config.json.j2.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2026 MDAD project contributors + +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/roles/custom/matrix-client-commet/templates/labels.j2 b/roles/custom/matrix-client-commet/templates/labels.j2 index 210b36211..a1bab621c 100644 --- a/roles/custom/matrix-client-commet/templates/labels.j2 +++ b/roles/custom/matrix-client-commet/templates/labels.j2 @@ -1,3 +1,9 @@ +{# +SPDX-FileCopyrightText: 2026 MDAD project contributors + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + {# Traefik labels for matrix-client-commet. #} diff --git a/roles/custom/matrix-client-commet/templates/systemd/matrix-client-commet.service.j2 b/roles/custom/matrix-client-commet/templates/systemd/matrix-client-commet.service.j2 index 76098a8ed..adf998351 100644 --- a/roles/custom/matrix-client-commet/templates/systemd/matrix-client-commet.service.j2 +++ b/roles/custom/matrix-client-commet/templates/systemd/matrix-client-commet.service.j2 @@ -1,3 +1,9 @@ +{# +SPDX-FileCopyrightText: 2026 MDAD project contributors + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + #jinja2: lstrip_blocks: True [Unit] Description=Matrix Commet web client