mediawiki
This commit is contained in:
parent
de79bd84c1
commit
5a72109f5b
@ -6,3 +6,6 @@
|
||||
|
||||
- name: install PMA
|
||||
include_tasks: pma.yml
|
||||
|
||||
- name: install Mediawiki
|
||||
include_tasks: wiki.yml
|
14
1/roles/webapps/tasks/wiki.yml
Normal file
14
1/roles/webapps/tasks/wiki.yml
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Download & unpack Mediawiki
|
||||
ansible.builtin.unarchive:
|
||||
src: https://releases.wikimedia.org/mediawiki/1.35/mediawiki-1.35.1.zip
|
||||
dest: /var/www/wiki
|
||||
remote_src: yes
|
||||
owner: www-data
|
||||
|
||||
- name: rename mediawiki dir
|
||||
copy:
|
||||
src: /var/www/wiki/mediawiki-1.35.1/
|
||||
dest: /var/www/wiki/
|
||||
remote_src: True
|
Loading…
Reference in New Issue
Block a user