File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
icpc-wf/ansible/roles/base_packages/tasks Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 85
85
- libcurl4-gnutls-dev
86
86
- libjsoncpp-dev
87
87
- libmagic-dev
88
- - composer
89
88
- debootstrap
90
89
- texlive-latex-recommended
91
90
- texlive-latex-extra
105
104
- latexmk
106
105
- acl
107
106
107
+ - name : Check if composer is installed
108
+ stat :
109
+ path : /usr/local/bin/composer
110
+ register : composer_file
111
+
112
+ - name : Download Composer Installer
113
+ get_url :
114
+ url : https://getcomposer.org/installer
115
+ dest : /root/composer-setup.php
116
+ when : not composer_file.stat.exists
117
+
118
+ - name : Install composer
119
+ command : php /root/composer-setup.php --install-dir=/usr/local/bin --filename=composer
120
+ when : not composer_file.stat.exists
121
+
108
122
- name : install local DEB packages
109
123
include : install-local-package.yml
110
124
with_fileglob :
You can’t perform that action at this time.
0 commit comments