Install php dependencies
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
91719644db
commit
82e7d6ab4c
1 changed files with 17 additions and 0 deletions
|
@ -49,6 +49,7 @@
|
||||||
- php-pgsql # For badges db access
|
- php-pgsql # For badges db access
|
||||||
- php-mbstring
|
- php-mbstring
|
||||||
- fedora-messaging
|
- fedora-messaging
|
||||||
|
- composer
|
||||||
- git
|
- git
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
@ -76,11 +77,27 @@
|
||||||
repo: https://github.com/fedora-infra/mediawiki-fedora-messaging.git
|
repo: https://github.com/fedora-infra/mediawiki-fedora-messaging.git
|
||||||
dest: /usr/share/{{ wikiver }}/extensions/FedoraMessaging
|
dest: /usr/share/{{ wikiver }}/extensions/FedoraMessaging
|
||||||
version: stable
|
version: stable
|
||||||
|
register: result_git
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- mediawiki
|
- mediawiki
|
||||||
- fedora-messaging
|
- fedora-messaging
|
||||||
|
|
||||||
|
- name: Create a directory for the php dependencies
|
||||||
|
file:
|
||||||
|
path: /srv/web/fp-wiki/extensions/FedoraMessaging/vendor
|
||||||
|
owner: apache
|
||||||
|
group: apache
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
|
- name: install the php dependencies
|
||||||
|
become: yes
|
||||||
|
become_user: apache
|
||||||
|
command:
|
||||||
|
cmd: composer install
|
||||||
|
chdir: /srv/web/fp-wiki/extensions/FedoraMessaging
|
||||||
|
when: result_git is changed
|
||||||
|
|
||||||
- name: Create /etc/pki/fedora-messaging
|
- name: Create /etc/pki/fedora-messaging
|
||||||
file:
|
file:
|
||||||
dest: /etc/pki/fedora-messaging
|
dest: /etc/pki/fedora-messaging
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue