25 lines
597 B
YAML
25 lines
597 B
YAML
|
---
|
||
|
# For DokuWiki package
|
||
|
- name: Configure Debian Buster mirrors
|
||
|
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
||
|
template:
|
||
|
src: 'apt/buster.list'
|
||
|
dest: '/etc/apt/sources.list.d/buster.list'
|
||
|
mode: 0644
|
||
|
|
||
|
# For DokuWiki package
|
||
|
- name: Configure DokuWiki pin
|
||
|
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
||
|
template:
|
||
|
src: 'apt/dokuwiki'
|
||
|
dest: '/etc/apt/preferences.d/dokuwiki'
|
||
|
mode: 0644
|
||
|
|
||
|
# Install
|
||
|
- name: Install DokuWiki
|
||
|
apt:
|
||
|
name: dokuwiki
|
||
|
state: present
|
||
|
update_cache: yes
|
||
|
|