You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
---
|
|
- name: install dokuwiki and associated packages
|
|
apt:
|
|
name: "{{ item }}"
|
|
state: present
|
|
update_cache: yes
|
|
cache_valid_time: 3600
|
|
with_items:
|
|
- dokuwiki
|
|
|
|
- name: add nginx configurations
|
|
template:
|
|
src: dokuwiki.conf
|
|
dest: "/etc/nginx/locations/{{ server_fqdn }}/dokuwiki.conf"
|
|
notify:
|
|
- restart nginx
|
|
|
|
- name: Write dokuwiki configuration to local.php
|
|
copy:
|
|
src: dokuwiki.php
|
|
dest: /etc/dokuwiki/local.php
|
|
notify:
|
|
- restart nginx
|