From a56cea369cad60ccdad3ae6e6e1fd1147b783967 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Sun, 28 Nov 2021 11:17:47 +0100 Subject: [PATCH] Remove 'dokuwiki' role --- roles/dokuwiki/tasks/main.yml | 30 --------------------- roles/dokuwiki/templates/apt/buster.list.j2 | 9 ------- roles/dokuwiki/templates/apt/dokuwiki.j2 | 9 ------- 3 files changed, 48 deletions(-) delete mode 100644 roles/dokuwiki/tasks/main.yml delete mode 100644 roles/dokuwiki/templates/apt/buster.list.j2 delete mode 100644 roles/dokuwiki/templates/apt/dokuwiki.j2 diff --git a/roles/dokuwiki/tasks/main.yml b/roles/dokuwiki/tasks/main.yml deleted file mode 100644 index 76321ba..0000000 --- a/roles/dokuwiki/tasks/main.yml +++ /dev/null @@ -1,30 +0,0 @@ ---- -# For DokuWiki package -- name: Configure Debian Buster mirrors - when: - - ansible_distribution == 'Debian' - - ansible_distribution_release == 'stretch' - template: - src: apt/buster.list.j2 - dest: /etc/apt/sources.list.d/buster.list - mode: 0644 - -# For DokuWiki package -- name: Configure DokuWiki pin - when: - - ansible_distribution == 'Debian' - - ansible_distribution_release == 'stretch' - template: - src: apt/dokuwiki.j2 - dest: /etc/apt/preferences.d/dokuwiki - mode: 0644 - -# Install -- name: Install DokuWiki - apt: - update_cache: true - name: dokuwiki - state: present - register: apt_result - retries: 3 - until: apt_result is succeeded diff --git a/roles/dokuwiki/templates/apt/buster.list.j2 b/roles/dokuwiki/templates/apt/buster.list.j2 deleted file mode 100644 index 6d2617b..0000000 --- a/roles/dokuwiki/templates/apt/buster.list.j2 +++ /dev/null @@ -1,9 +0,0 @@ -# {{ ansible_managed }} -{# #} -{# Default mirror #} -{% if debian_mirror is not defined %} -{% set debian_mirror = 'http://ftp.fr.debian.org/debian' %} -{% endif %} - -deb {{ debian_mirror }} buster main -deb-src {{ debian_mirror }} buster main diff --git a/roles/dokuwiki/templates/apt/dokuwiki.j2 b/roles/dokuwiki/templates/apt/dokuwiki.j2 deleted file mode 100644 index 3a20a1d..0000000 --- a/roles/dokuwiki/templates/apt/dokuwiki.j2 +++ /dev/null @@ -1,9 +0,0 @@ -# {{ ansible_managed }} - -Package: * -Pin: release n=stretch* -Pin-Priority: 990 - -Package: dokuwiki -Pin: release n=buster -Pin-Priority: 990 -- 2.45.2