summaryrefslogtreecommitdiffstats
path: root/roles/mediawiki/tasks
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2015-03-23 19:06:02 +0100
committerMichael Scherer <misc@zarb.org>2015-03-23 19:06:02 +0100
commitd928f8c61586ea281d708235dadf92507cb7fd1b (patch)
tree002f2bd5c37423731c67cba9e350fdcd132c9b6e /roles/mediawiki/tasks
parentb0f604626f0c3dadb28b33ee1f5d3b928885de48 (diff)
Fix the path for the password file
Diffstat (limited to 'roles/mediawiki/tasks')
-rw-r--r--roles/mediawiki/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/mediawiki/tasks/main.yml b/roles/mediawiki/tasks/main.yml
index 96afba4..0dfce04 100644
--- a/roles/mediawiki/tasks/main.yml
+++ b/roles/mediawiki/tasks/main.yml
@@ -6,8 +6,8 @@
- php-gd
- php-xml
-- set_fact: wiki_secret_key="{{ lookup('password', 'passwords/mediawiki/wiki_secret_key length=60') }}"
-- set_fact: wiki_db_password="{{ lookup('password', 'passwords/mediawiki/wiki_db_password length=12') }}"
+- set_fact: wiki_secret_key="{{ lookup('password', '/etc/ansible/passwords/mediawiki/wiki_secret_key length=60') }}"
+- set_fact: wiki_db_password="{{ lookup('password', '/etc/ansible/passwords/mediawiki/wiki_db_password length=12') }}"
- get_url: dest={{ cache_dir }}/{{ item }} url=https://releases.wikimedia.org/mediawiki/{{ version | regex_replace('^(\d+)\.(\d+).*$', '\\1.\\2') }}/{{ item }}
with_items: