TMP: install mediawiki CLI
This commit is contained in:
parent
c811a28e03
commit
73656718d6
@ -49,10 +49,19 @@
|
|||||||
extra_opts: [--strip-components=1]
|
extra_opts: [--strip-components=1]
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
|
|
||||||
- name: Apply LocalSettings.php
|
#- name: Apply LocalSettings.php
|
||||||
template:
|
# template:
|
||||||
src: LocalSettings.php.j2
|
# src: LocalSettings.php.j2
|
||||||
dest: "{{ mw_dir }}/public_html/w/LocalSettings.php"
|
# dest: "{{ mw_dir }}/public_html/w/LocalSettings.php"i
|
||||||
|
|
||||||
|
- name: Install MediaWiki
|
||||||
|
command: |
|
||||||
|
php maintenance/install.sh --dbname {{ mw_db_name }} \
|
||||||
|
--installdbuser {{ mw_db_user }} --installdbpass {{ mw_db_pass }} \
|
||||||
|
--pass {{ mw_root_pass }} FRITA admin
|
||||||
|
args:
|
||||||
|
chdir: "{{ mw_dir }}/public_html/w"
|
||||||
|
creates: "{{ mw_dir }}/public_html/w/LocalSettings.php"
|
||||||
|
|
||||||
- name: Apply Apache Configuration
|
- name: Apply Apache Configuration
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user