packweb-apache: install phpmyadmin using .deb for Buster

Fixes #64
/!\ Warning: this is a temporary hack!
This commit is contained in:
Benoît S. 2019-07-03 09:37:57 +02:00
parent f5ad70a2e4
commit 0b8681cf59

View file

@ -1,12 +1,23 @@
--- ---
- name: Install phpmyadmin - name: Install apg
apt: apt:
name: '{{ item }}' name: apg
state: present
with_items: - name: Install phpmyadmin (Debian <=9)
- phpmyadmin apt:
- apg name: phpmyadmin
when: ansible_distribution_major_version | version_compare('9', '<=')
- include_role:
name: remount-usr
# /!\ Warning: this is a temporary hack as phpmyadmin for Buster is not yet
# available
- name: Install phpmyadmin using sid package (Debian >=10)
apt:
deb: http://mirror.evolix.org/debian/pool/main/p/phpmyadmin/phpmyadmin_4.6.6-5_all.deb
when: ansible_distribution_major_version | version_compare('10', '>=')
- name: Check if phpmyadmin default configuration is present - name: Check if phpmyadmin default configuration is present
stat: stat: