diff --git a/roles/phabricator/tasks/latex.yml b/roles/phabricator/tasks/latex.yml index 8f10f5b..c110d24 100644 --- a/roles/phabricator/tasks/latex.yml +++ b/roles/phabricator/tasks/latex.yml @@ -1,33 +1,35 @@ --- # LaTeX support - git: repo=https://github.com/ProfFan/render2katex.git dest=/opt/render2katex update=false # FIXME: handle updates in update-phab - git: repo=https://github.com/ProfFan/phabritex.git dest=/opt/phabritex update=false #FIXME: handle updates in update-phab - shell: "rsync -a /opt/phabritex/src/ {{ phabricator_path }}phabricator/src/" args: creates: "{{ phabricator_path }}phabricator/src/extensions/render2katex.php" notify: reload apache - replace: dest: "{{ phabricator_path }}phabricator/src/extensions/render2katex.php" regexp: '\/var\/www\/render2katex\/index\.js' replace: '/opt/render2katex/index.js' - replace: dest: "{{ phabricator_path }}phabricator/src/extensions/katexinline.php" regexp: '\/var\/www\/render2katex\/index\.js' replace: '/opt/render2katex/index.js' - shell: "rsync -a /opt/phabritex/webroot/ {{ phabricator_path }}phabricator/webroot/" args: creates: "{{ phabricator_path }}phabricator/webroot/rsrc/externals/font/katex" - notify: rebuild celerity + notify: + - rebuild celerity + - reload apache