Verified Commit 9dc32102 authored by Florian Pritz's avatar Florian Pritz
Browse files

archwiki: Deploy TitleKey extension



This requires the update script to be run so add a handler for it.
Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 9e0555f0
......@@ -3,7 +3,7 @@ archwiki_dir: '/srv/http/archwiki'
archwiki_domain: 'wiki.archlinux.org'
archwiki_user: 'archwiki'
archwiki_repository: 'https://git.archlinux.org/vhosts/wiki.archlinux.org.git'
archwiki_version: 157cc33b0b4459e02b0a573277e092b79bc849b1
archwiki_version: 0f28357b1b8fb439a34eb65d7c4d8b697aeff4d9
archwiki_socket: '/run/php-fpm/archwiki.socket'
......
......@@ -5,3 +5,8 @@
- name: restart php-fpm@archwiki
service: name=php-fpm@{{ archwiki_user }} state=restarted
- name: run wiki updatescript
command: php {{archwiki_dir}}/public/maintenance/update.php
become: true
become_user: "{{archwiki_user}}"
......@@ -27,7 +27,8 @@
git: repo={{ archwiki_repository }} dest="{{ archwiki_dir }}/public" version={{ archwiki_version }}
become: true
become_user: "{{ archwiki_user }}"
register: release
notify:
- run wiki updatescript
- name: fix home permissions
file: state=directory owner="{{ archwiki_user }}" group="{{ archwiki_user }}" path="{{ archwiki_dir }}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment