From b2acdac3ade715cae60dbb8d1954a5ce033041e3 Mon Sep 17 00:00:00 2001 From: Arthur BOUDREAULT Date: Tue, 19 Oct 2021 08:29:57 +0000 Subject: [PATCH] refactor: Added GNU licence info + lydra copyright --- .gitlab-ci.yml | 19 +++++++++++++++++++ README-FR.md | 6 ++++-- README.md | 4 +++- default/main.yml | 19 +++++++++++++++++++ meta/main.yml | 1 + tasks/apps.yml | 19 +++++++++++++++++++ tasks/domains.yml | 19 +++++++++++++++++++ tasks/main.yml | 19 +++++++++++++++++++ tasks/users.yml | 19 +++++++++++++++++++ 9 files changed, 122 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c66046c..3fc5e38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,23 @@ --- +#-----------------------------------------------------------------------------# +# ansible-yunohost allows to deploy Yunohost using Ansible # +# Copyright 2021-2021 Lydra https://www.lydra.fr/ # +# # +# this program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# this program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +#-----------------------------------------------------------------------------# + # -*- coding: utf-8 -*- # Doc: https://docs.gitlab.com/ce/ci/yaml/#include diff --git a/README-FR.md b/README-FR.md index 428abde..29163da 100644 --- a/README-FR.md +++ b/README-FR.md @@ -113,9 +113,11 @@ Aucune. update_cache: yes roles: - - ansible-yunohost + - lydra.yunohost ``` ## License -GPL-3.0 +[![ansible-yunohost Copyright 2021 Lydra](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](https://choosealicense.com/licenses/gpl-3.0/) + +**ansible-yunohost** est maintenu par [Lydra](https://lydra.fr/) et publiƩ sous la licence GPL3. diff --git a/README.md b/README.md index d25c3d2..26b9441 100644 --- a/README.md +++ b/README.md @@ -117,4 +117,6 @@ None. ## License -GPL-3.0 +[![ansible-yunohost Copyright 2021 Lydra](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](https://choosealicense.com/licenses/gpl-3.0/) + +**ansible-yunohost** is maintained by [Lydra](https://lydra.fr/) and released under the GPL3 license. diff --git a/default/main.yml b/default/main.yml index 2c6873e..2971031 100644 --- a/default/main.yml +++ b/default/main.yml @@ -1,4 +1,23 @@ --- +#-----------------------------------------------------------------------------# +# ansible-yunohost allows to deploy Yunohost using Ansible # +# Copyright 2021-2021 Lydra https://www.lydra.fr/ # +# # +# this program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# this program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +#-----------------------------------------------------------------------------# + # Debian 10 script only. ynh_install_script_url: https://install.yunohost.org diff --git a/meta/main.yml b/meta/main.yml index 59d87b9..8432537 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,3 +1,4 @@ +--- galaxy_info: role_name: yunohost author: lydra diff --git a/tasks/apps.yml b/tasks/apps.yml index 6d2fb0c..525f81b 100644 --- a/tasks/apps.yml +++ b/tasks/apps.yml @@ -1,4 +1,23 @@ --- +#-----------------------------------------------------------------------------# +# ansible-yunohost allows to deploy Yunohost using Ansible # +# Copyright 2021-2021 Lydra https://www.lydra.fr/ # +# # +# this program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# this program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +#-----------------------------------------------------------------------------# + - name: List currently installed apps ansible.builtin.command: yunohost app map --output-as json register: ynh_installed_apps_raw diff --git a/tasks/domains.yml b/tasks/domains.yml index 7c9ad27..43fd607 100644 --- a/tasks/domains.yml +++ b/tasks/domains.yml @@ -1,4 +1,23 @@ --- +#-----------------------------------------------------------------------------# +# ansible-yunohost allows to deploy Yunohost using Ansible # +# Copyright 2021-2021 Lydra https://www.lydra.fr/ # +# # +# this program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# this program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +#-----------------------------------------------------------------------------# + - name: List currently installed domains ansible.builtin.command: yunohost domain list --output-as json register: ynh_installed_domains_raw diff --git a/tasks/main.yml b/tasks/main.yml index 1719b05..e0f8b73 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,4 +1,23 @@ --- +#-----------------------------------------------------------------------------# +# ansible-yunohost allows to deploy Yunohost using Ansible # +# Copyright 2021-2021 Lydra https://www.lydra.fr/ # +# # +# this program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# this program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +#-----------------------------------------------------------------------------# + - name: Install requirements ansible.builtin.apt: name: diff --git a/tasks/users.yml b/tasks/users.yml index ac3e087..06e3c4c 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -1,4 +1,23 @@ --- +#-----------------------------------------------------------------------------# +# ansible-yunohost allows to deploy Yunohost using Ansible # +# Copyright 2021-2021 Lydra https://www.lydra.fr/ # +# # +# this program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# this program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +#-----------------------------------------------------------------------------# + - name: List users ansible.builtin.command: yunohost user list --output-as json register: ynh_registered_users_raw