From d928f8c61586ea281d708235dadf92507cb7fd1b Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 23 Mar 2015 19:06:02 +0100 Subject: Fix the path for the password file --- roles/mediawiki/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/mediawiki/tasks') 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: -- cgit