TMP: install mediawiki CLI

This commit is contained in:
Kris Lamoureux 2020-01-31 01:44:59 -05:00
parent c811a28e03
commit 73656718d6
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -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: