Skip to content
Snippets Groups Projects
Verified Commit afe36eab authored by Christian Heusel's avatar Christian Heusel :rocket:
Browse files

archwiki: add php syntax check


This ensures that the fully templated file is syntactically is a valid php file.

Signed-off-by: default avatarChristian Heusel <christian@heusel.eu>
parent 2e65370c
No related branches found
No related tags found
No related merge requests found
Pipeline #109721 passed
......@@ -64,7 +64,7 @@
- Invalidate MediaWiki file cache
- name: Configure archwiki
template: src=LocalSettings.php.j2 dest="{{ archwiki_dir }}/public/LocalSettings.php" owner="{{ archwiki_user }}" group="{{ archwiki_user }}" mode=0640
template: src=LocalSettings.php.j2 dest="{{ archwiki_dir }}/public/LocalSettings.php" owner="{{ archwiki_user }}" group="{{ archwiki_user }}" mode=0640 validate="/usr/bin/php --syntax-check %"
register: config
no_log: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment