69 lines
2 KiB
YAML
69 lines
2 KiB
YAML
|
################################################################################
|
||
|
# installation de pounce et de litterbox, scooper et kcgi
|
||
|
#
|
||
|
# 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/>.
|
||
|
################################################################################
|
||
|
|
||
|
---
|
||
|
- name: installation des paquets nécessaires
|
||
|
apt:
|
||
|
name:
|
||
|
- bmake
|
||
|
- sqlite3
|
||
|
- libsqlite3-dev
|
||
|
- universal-ctags
|
||
|
- pkg-config
|
||
|
|
||
|
- name: création utilisateur pounce
|
||
|
ansible.builtin.user:
|
||
|
name: "{{ user }}"
|
||
|
shell: "/bin/bash"
|
||
|
state: present
|
||
|
|
||
|
- name: mise en place de pounce
|
||
|
block:
|
||
|
- name: clonage de pounce
|
||
|
ansible.builtin.git:
|
||
|
dest: "{{ path_tmp_git }}"
|
||
|
repo: "{{ git }}"
|
||
|
single_branch: yes
|
||
|
|
||
|
- name: configuration de la compilation de pounce
|
||
|
ansible.builtin.command:
|
||
|
cmd: "{{ path_tmp_git }}/configure"
|
||
|
chdir: "{{ path_tmp_git }}"
|
||
|
|
||
|
- name: compilation de pounce
|
||
|
community.general.make:
|
||
|
chdir: "{{ path_tmp_git }}"
|
||
|
|
||
|
become: yes
|
||
|
become_user: "{{ user }}"
|
||
|
|
||
|
- name: installation de pounce
|
||
|
community.general.make:
|
||
|
chdir: "{{ path_tmp_git }}"
|
||
|
target: install
|
||
|
|
||
|
- name: installation du logger
|
||
|
include_role:
|
||
|
name: pounce
|
||
|
tasks_from: litterbox
|
||
|
|
||
|
- name: installation de l'interface graphique
|
||
|
include_role:
|
||
|
name: pounce
|
||
|
tasks_from: scooper
|