2019-02-05 08:35:45 +01:00
|
|
|
---
|
|
|
|
# For DokuWiki package
|
|
|
|
- name: Configure Debian Buster mirrors
|
|
|
|
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
|
|
|
template:
|
2019-02-19 10:42:57 +01:00
|
|
|
src: apt/buster.list.j2
|
|
|
|
dest: /etc/apt/sources.list.d/buster.list
|
2019-02-05 08:35:45 +01:00
|
|
|
mode: 0644
|
|
|
|
|
|
|
|
# For DokuWiki package
|
|
|
|
- name: Configure DokuWiki pin
|
|
|
|
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch'
|
|
|
|
template:
|
2019-02-19 10:42:57 +01:00
|
|
|
src: apt/dokuwiki.j2
|
|
|
|
dest: /etc/apt/preferences.d/dokuwiki
|
2019-02-05 08:35:45 +01:00
|
|
|
mode: 0644
|
|
|
|
|
|
|
|
# Install
|
|
|
|
- name: Install DokuWiki
|
|
|
|
apt:
|
|
|
|
name: dokuwiki
|
|
|
|
update_cache: yes
|
|
|
|
|