Commit 0962fb81 authored by nono's avatar nono 💻
Browse files

Fix dependency checksum

parent 5b399210
......@@ -8,13 +8,18 @@
get_url:
url: https://raw.githubusercontent.com/composer/getcomposer.org/main/web/installer
dest: /home/don/composer-setup.php
checksum: sha384:https://composer.github.io/installer.sha384sum
# checksum: sha384:https://composer.github.io/installer.sha384sum
- name: Checksum de l'installeur
stat:
path: /home/don/composer-setup.php
checksum_algorithm: sha384
failed_when: stat.checksum not "906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8"
register: don_checksum_composer_installer
- name: Vérification du hash
fail:
msg: Le hash de l'installeur ne correspond pas !
when: don_checksum_composer_installer != "906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8"
# php composer-setup.php --install-dir=bin --filename=composer
- name: Installation de composer
......@@ -34,13 +39,19 @@
- name: Installation de Phinx
shell: composer require robmorgan/phinx
args:
chdir: /home/don/don
- name: Installation de Doctrine DBAL
shell: composer require doctrine/dbal
args:
chdir: /home/don/don
- name: Installation de Fat Free Framework
shell: composer require bcosca/fatfree-core
args:
chdir: /home/don/don
- name: Création de dossier pour PHP CS Fixer
file:
path: /home/don/don/tools/php-cs-fixer
......
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