change name for cgit's role

This commit is contained in:
rick 2022-06-11 16:29:18 +02:00
parent e52caab4f2
commit c7b6f93205
Signed by: Rick
GPG key ID: 4A6223D66294EB20
8 changed files with 8 additions and 25 deletions

View file

@ -15,13 +15,12 @@ de test.
## vars ## vars
### sites * sites : Contient les différents noms de domains à utiliser.
* cgit : variables pour cgit
Contient les différents noms de domains à utiliser.
## cgit ## cgit
Ces fichiers se trouvent dans `roles/installations/` dans les dossiers `tasks` Ces fichiers se trouvent dans `roles/cgit/` dans les dossiers `tasks`
et `templates`. et `templates`.
- cgit.yml : script ansible d'installation - cgit.yml : script ansible d'installation

View file

@ -25,6 +25,10 @@
- vars/sites.yml - vars/sites.yml
- vars/cgit.yml - vars/cgit.yml
vars: vars:
pounce_user: "pounce"
pounce_home: "/home/{{ pounce_user }}"
pounce_build: "{{ pounce_home }}/pounce_build"
litterbox_build: "{{ pounce_home}}/litterbox"
pre_tasks: pre_tasks:
- name: update de la machine - name: update de la machine
@ -44,7 +48,7 @@
- python3-pip - python3-pip
roles: roles:
- installations - cgit
post_tasks: post_tasks:
- name: démarrage par défaut de nginx - name: démarrage par défaut de nginx

View file

@ -1,20 +0,0 @@
################################################################################
# installation et configuration des services de l'infra
#
# Copyright (C) 2022 rick G. <rick@gnous.eu>
#
# 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 <https://www.gnu.org/licenses/>.
################################################################################
---
- include_tasks: cgit.yml