dokuwiki: use common nginx role
Also get version from NetBox.
This commit is contained in:
parent
3b246447cf
commit
cd8f20852e
5 changed files with 4 additions and 63 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue