change name for cgit's role
This commit is contained in:
parent
e52caab4f2
commit
c7b6f93205
8 changed files with 8 additions and 25 deletions
|
@ -15,13 +15,12 @@ de test.
|
|||
|
||||
## vars
|
||||
|
||||
### sites
|
||||
|
||||
Contient les différents noms de domains à utiliser.
|
||||
* sites : Contient les différents noms de domains à utiliser.
|
||||
* cgit : variables pour 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`.
|
||||
|
||||
- cgit.yml : script ansible d'installation
|
||||
|
|
6
main.yml
6
main.yml
|
@ -25,6 +25,10 @@
|
|||
- vars/sites.yml
|
||||
- vars/cgit.yml
|
||||
vars:
|
||||
pounce_user: "pounce"
|
||||
pounce_home: "/home/{{ pounce_user }}"
|
||||
pounce_build: "{{ pounce_home }}/pounce_build"
|
||||
litterbox_build: "{{ pounce_home}}/litterbox"
|
||||
|
||||
pre_tasks:
|
||||
- name: update de la machine
|
||||
|
@ -44,7 +48,7 @@
|
|||
- python3-pip
|
||||
|
||||
roles:
|
||||
- installations
|
||||
- cgit
|
||||
|
||||
post_tasks:
|
||||
- name: démarrage par défaut de nginx
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue