Ver código fonte

curl used in place of get_url module

Laurent Arnoud 9 anos atrás
pai
commit
0730284671
1 arquivos alterados com 8 adições e 4 exclusões
  1. 8
    4
      roles/readlater/tasks/wallabag.yml

+ 8
- 4
roles/readlater/tasks/wallabag.yml Ver arquivo

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

Carregando…
Cancelar
Salvar