parent
5f8f23065e
commit
d18f2fc56d
7 changed files with 25 additions and 30 deletions
@ -1,4 +1,4 @@ |
|||||||
--- |
--- |
||||||
|
|
||||||
dependencies: |
dependencies: |
||||||
- role: httpd_common |
- role: httpd_php |
||||||
|
@ -0,0 +1,5 @@ |
|||||||
|
--- |
||||||
|
|
||||||
|
- name: Remove manually installed composer |
||||||
|
file: path=/usr/local/bin/composer state=absent |
||||||
|
tags: web |
@ -1,31 +1,7 @@ |
|||||||
--- |
--- |
||||||
|
|
||||||
- name: Install dependencies |
- name: Install composer |
||||||
yum: |
package: |
||||||
name: |
name: |
||||||
- git |
- composer |
||||||
tags: composer |
tags: web |
||||||
|
|
||||||
- name: download composer |
|
||||||
get_url: |
|
||||||
url: https://getcomposer.org/installer |
|
||||||
dest: /tmp/installer |
|
||||||
tags: composer |
|
||||||
|
|
||||||
- name: install composer |
|
||||||
shell: cat /tmp/installer | php74 -- --install-dir=/usr/local/bin |
|
||||||
args: |
|
||||||
creates: /usr/local/bin/composer |
|
||||||
tags: composer |
|
||||||
|
|
||||||
- name: rename composer.phar to composer |
|
||||||
shell: mv /usr/local/bin/composer.phar /usr/local/bin/composer |
|
||||||
args: |
|
||||||
creates: /usr/local/bin/composer |
|
||||||
tags: composer |
|
||||||
|
|
||||||
- name: make composer executable |
|
||||||
file: |
|
||||||
path: /usr/local/bin/composer |
|
||||||
mode: 755 |
|
||||||
tags: composer |
|
||||||
|
@ -1,3 +1,4 @@ |
|||||||
--- |
--- |
||||||
|
|
||||||
- include: install.yml |
- include: install.yml |
||||||
|
- include: cleanup.yml |
||||||
|
@ -0,0 +1,6 @@ |
|||||||
|
[remi-modular] |
||||||
|
baseurl = http://rpms.remirepo.net/enterprise/$releasever/modular/$basearch/ |
||||||
|
gpgcheck = 1 |
||||||
|
gpgkey = {{ repo_remi_gpg_url }} |
||||||
|
name = Remi's Modular repository for Enterprise Linux |
||||||
|
module_hotfixes = true |
Loading…
Reference in new issue