dokuwiki: use common nginx role

Also get version from NetBox.
This commit is contained in:
Timotej Lazar 2024-05-28 13:23:40 +02:00
parent 3b246447cf
commit cd8f20852e
5 changed files with 4 additions and 63 deletions

View file

@ -1,10 +1,3 @@
- name: Set dokuwiki version
set_fact:
dokuwiki_version: 2024-02-06a
- name: Set up nginx
import_tasks: nginx.yml
- name: Set up PHP
import_tasks: php.yml
@ -51,6 +44,6 @@
- name: Create nginx site
template:
dest: /etc/nginx/http.d/doku.fri.uni-lj.si.conf
src: doku.fri.uni-lj.si.conf.j2
dest: /etc/nginx/http.d/dokuwiki.conf
src: dokuwiki.conf.j2
notify: reload nginx