2019-02-05 08:35:45 +01:00
|
|
|
---
|
|
|
|
# For DokuWiki package
|
|
|
|
- name: Configure Debian Buster mirrors
|
2019-03-02 13:31:51 +01:00
|
|
|
when:
|
|
|
|
- ansible_distribution == 'Debian'
|
|
|
|
- ansible_distribution_release == 'stretch'
|
2019-02-05 08:35:45 +01:00
|
|
|
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
|
2019-03-02 13:31:51 +01:00
|
|
|
when:
|
|
|
|
- ansible_distribution == 'Debian'
|
|
|
|
- ansible_distribution_release == 'stretch'
|
2019-02-05 08:35:45 +01:00
|
|
|
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:
|
2019-03-03 09:00:29 +01:00
|
|
|
update_cache: true
|
2019-03-23 19:25:04 +01:00
|
|
|
name: dokuwiki
|
|
|
|
state: present
|
2019-03-03 19:28:57 +01:00
|
|
|
register: apt_result
|
|
|
|
retries: 3
|
|
|
|
until: apt_result is succeeded
|