Optionnal apt-src on upstream repositories

pull/14/head
Emilien Mantel 2016-09-27 16:26:55 +02:00
parent 994e4d3cc4
commit 1a57dc1cbf
3 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ mysql_origin: 'default'
mysql_vendor: 'mariadb' mysql_vendor: 'mariadb'
mysql_root_password: 'change_me_NOW' mysql_root_password: 'change_me_NOW'
mysql_notify_restart: true mysql_notify_restart: true
mysql_upstream_apt_src: false
# ------------------------------------- # -------------------------------------
# Configuration # Configuration

View File

@ -8,6 +8,7 @@
- name: APT | Add MariaDB (src) repository - name: APT | Add MariaDB (src) repository
apt_repository: repo='deb-src {{ mariadb_repository }} {{ ansible_distribution_release }} main' state=present apt_repository: repo='deb-src {{ mariadb_repository }} {{ ansible_distribution_release }} main' state=present
when: mysql_upstream_apt_src
- name: INCLUDE | Normal Install - name: INCLUDE | Normal Install
include: default.yml include: default.yml

View File

@ -11,4 +11,5 @@
- name: APT_RESPOSITORY | Add Percona (src) repository - name: APT_RESPOSITORY | Add Percona (src) repository
apt_repository: repo='deb-src {{ percona_repository }} {{ ansible_distribution_release }} main' state=present apt_repository: repo='deb-src {{ percona_repository }} {{ ansible_distribution_release }} main' state=present
when: mysql_upstream_apt_src