Commit 70b94c51 authored by nono's avatar nono 💻
Browse files

Ajout des permissions de fichiers, fix test la présence de composer

parent 6ad7ab0f
......@@ -40,11 +40,16 @@
shell: composer -V
register: composer_output_install
failed_when: composer_output_install.rc != 0 or composer_output_install.rc >= 0
become: true
become_user: don
- name: Création du dossier de don
file:
state: present
path: /home/don/don/
owner: don
group: don
mode: 0644
- name: Installation de Phinx
shell: composer require robmorgan/phinx
......@@ -66,6 +71,9 @@
path: /home/don/don/tools/php-cs-fixer
state: directory
mode: '0755'
owner: don
group: don
mode: 0644
- name: Installation de PHP CS Fixer
shell: composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer
......
......@@ -4,6 +4,9 @@
dest: /home/don/don
clone: true
update: true
owner: don
group: don
mode: 0644
- name: Installation de la base de donnée.
shell: make reset-db
......@@ -21,5 +24,5 @@
- name: Exécution de tests
shell: make test
- name: Installation du site de don
shell: make install
# - name: Installation du site de don
# shell: make install
Markdown is supported
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