Browse Source

curl used in place of get_url module

Laurent Arnoud 9 years ago
parent
commit
0730284671
1 changed files with 8 additions and 4 deletions
  1. 8
    4
      roles/readlater/tasks/wallabag.yml

+ 8
- 4
roles/readlater/tasks/wallabag.yml View File

40
                  owner={{ wallabag_db_username }}
40
                  owner={{ wallabag_db_username }}
41
   notify: import wallabag sql
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
 - name: Initialize composer
52
 - name: Initialize composer
49
   command: php /root/composer.phar install
53
   command: php /root/composer.phar install

Loading…
Cancel
Save