Compare commits
2 Commits
de79bd84c1
...
79fae0dba8
Author | SHA1 | Date | |
---|---|---|---|
|
79fae0dba8 | ||
|
5a72109f5b |
@ -11,4 +11,9 @@
|
|||||||
loop:
|
loop:
|
||||||
- cloud
|
- cloud
|
||||||
- wiki
|
- wiki
|
||||||
- other
|
- other
|
||||||
|
|
||||||
|
- name: restart php-fpm
|
||||||
|
service:
|
||||||
|
name: php7.4-fpm.service
|
||||||
|
state: restarted
|
@ -5,4 +5,7 @@
|
|||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: install PMA
|
- name: install PMA
|
||||||
include_tasks: pma.yml
|
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