Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
50cd9905
Verified
Commit
50cd9905
authored
Nov 16, 2017
by
Giancarlo Razzolini
Browse files
roles/archwiki: Add a task to configure the wiki
Deploy LocalSettings.php with the changes required to run archwiki.
parent
9e2d11db
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/archwiki/tasks/main.yml
View file @
50cd9905
...
...
@@ -27,6 +27,11 @@
-
name
:
fix home permissions
file
:
state=directory owner="{{ archwiki_user }}" group="{{ archwiki_user }}" path="{{ archwiki_dir }}"
-
name
:
configure archwiki
template
:
src=LocalSettings.php.j2 dest="{{ archwiki_dir }}/public/LocalSettings.php" owner="{{ archwiki_user }}" group="{{ archwiki_user }}" mode=0640
register
:
config
no_log
:
true
-
name
:
create archwiki db
mysql_db
:
name="{{ archwiki_db }}" login_host="{{ archwiki_db_host }}" login_password="{{ mariadb_users.root }}"
register
:
db_created
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment