Parcourir la source

curl used in place of get_url module

Laurent Arnoud il y a 8 ans
Parent
révision
0730284671
1 fichiers modifiés avec 8 ajouts et 4 suppressions
  1. 8
    4
      roles/readlater/tasks/wallabag.yml

+ 8
- 4
roles/readlater/tasks/wallabag.yml Voir le fichier

@@ -40,10 +40,14 @@
40 40
                  owner={{ wallabag_db_username }}
41 41
   notify: import wallabag sql
42 42
 
43
-- name: Build Composer
44
-  shell: curl -sS https://getcomposer.org/installer | php
45
-         chdir=/root
46
-         creates=/root/composer.phar
43
+- name: Get Composer installer
44
+  get_url: url=https://getcomposer.org/installer
45
+           dest=/tmp/composer-installer
46
+
47
+- name: Install Composer
48
+  command: php /tmp/composer-installer
49
+           chdir=/root
50
+           creates=/root/composer.phar
47 51
 
48 52
 - name: Initialize composer
49 53
   command: php /root/composer.phar install

Chargement…
Annuler
Enregistrer