Przeglądaj źródła

curl used in place of get_url module

Laurent Arnoud 9 lat temu
rodzic
commit
0730284671
1 zmienionych plików z 8 dodań i 4 usunięć
  1. 8
    4
      roles/readlater/tasks/wallabag.yml

+ 8
- 4
roles/readlater/tasks/wallabag.yml Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz