Commit cac09795 authored by nono's avatar nono 💻
Browse files

Modifications de l'ordre des tâches d'installation

parent 5fd2833e
......@@ -4,4 +4,4 @@
password: "{{ don_sql_password }}"
priv: '*.*:ALL'
state: present
login_unix_socket: /var/run/mysqld/mysqld.sock
login_unix_socket: /var/run/mysqld/mysqld.sock
- name: Installation des dépendances pour le site de don.
apt:
name: ['mariadb-server','default-mysql-client','gettext','git','bash','php','php-zip','php-mysql','pdftk','texlive-latex-base']
state: present
update_cache: true
- name: Téléchargement de l'installateur de composer
get_url:
url: https://raw.githubusercontent.com/composer/getcomposer.org/main/web/installer
......@@ -40,7 +34,7 @@
shell: composer -V
register: composer_output_install
failed_when: composer_output_install.rc != 0 or composer_output_install.rc > 0
become: true
become: no
become_user: don
- name: Statistiques du dossier git
......
---
# tasks file for don-lqdn
- include_tasks: setup.yml
- include: users.yml
- include: database.yml
- include: dependencies.yml
......
# Ce fichier se charge d'installer les éventulles dépendances dont Ansible à besoin.
- name: Installation des dépendances Ansible.
apt:
name: python3-mysqldb
state: latest
update_cache: true
- name: Installation des dépendances pour le site de don.
apt:
name: ['mariadb-server','default-mysql-client','gettext','git','bash','php','php-zip','php-mysql','pdftk','texlive-latex-base']
state: present
update_cache: true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment