roles/mariadb: Remove old MariaDB sources.list

This commit is contained in:
Alan Orth 2016-04-15 11:42:03 +03:00
parent 35d0bee6cf
commit 419d0c7e9a

View File

@ -3,6 +3,13 @@
apt_key: id=0xcbcb082a1bb943db url=http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xcbcb082a1bb943db
tags: mariadb
- name: Remove old repo file
file: path={{ item }} state=absent
with_items:
- /etc/apt/sources.list.d/sgp1_mirrors_digitalocean_com_mariadb_repo_10_1_debian.list
- /etc/apt/sources.list.d/sgp1_mirrors_digitalocean_com_mariadb_repo_10_1_ubuntu.list
tags: mariadb
- name: Add MariaDB 10.1 repo
template: src=mariadb.list.j2 dest=/etc/apt/sources.list.d/mariadb.list owner=root group=root mode=0644
tags: mariadb