From a536d1b61744490245d2033688fce00a0d15b1b8 Mon Sep 17 00:00:00 2001 From: Arthur BOUDREAULT <boudreaultarthur@ik.me> Date: Mon, 18 Oct 2021 14:22:50 +0200 Subject: [PATCH] refactor: Added GNU licence info + lydra copyright --- .gitlab-ci.yml | 19 +++++++++++++++++++ README-FR.md | 2 ++ README.md | 2 ++ 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, 119 insertions(+) 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 <http://www.gnu.org/licenses/>. # +# # +#-----------------------------------------------------------------------------# + # -*- coding: utf-8 -*- # Doc: https://docs.gitlab.com/ce/ci/yaml/#include diff --git a/README-FR.md b/README-FR.md index 428abde..a765017 100644 --- a/README-FR.md +++ b/README-FR.md @@ -118,4 +118,6 @@ Aucune. ## License +[](https://choosealicense.com/licenses/gpl-3.0/) + GPL-3.0 diff --git a/README.md b/README.md index d25c3d2..e9fac00 100644 --- a/README.md +++ b/README.md @@ -117,4 +117,6 @@ None. ## License +[](https://choosealicense.com/licenses/gpl-3.0/) + GPL-3.0 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 <http://www.gnu.org/licenses/>. # +# # +#-----------------------------------------------------------------------------# + # 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 <http://www.gnu.org/licenses/>. # +# # +#-----------------------------------------------------------------------------# + - 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 <http://www.gnu.org/licenses/>. # +# # +#-----------------------------------------------------------------------------# + - 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 <http://www.gnu.org/licenses/>. # +# # +#-----------------------------------------------------------------------------# + - 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 <http://www.gnu.org/licenses/>. # +# # +#-----------------------------------------------------------------------------# + - name: List users ansible.builtin.command: yunohost user list --output-as json register: ynh_registered_users_raw -- GitLab