Include el7 mariadb support in mysql integration test

release1.7.2
James Laska 10 years ago committed by James Cammarata
parent e96fe1f33e
commit 082c24d968

@ -17,15 +17,20 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# ============================================================ # ============================================================
- include_vars: '{{ ansible_os_family }}.yml' - include_vars: '{{ item }}'
with_first_found:
- files:
- '{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml'
- '{{ ansible_os_family }}.yml'
paths: '../vars'
- name: install mysqldb_test rpm dependencies - name: install mysqldb_test rpm dependencies
yum: name={{ item }} state=latest yum: name={{ item }} state=latest
with_items: mysql_packages with_items: mysql_packages
when: ansible_pkg_mgr == 'yum' when: ansible_pkg_mgr == 'yum'
- name: install mysqldb_test debian dependencies - name: install mysqldb_test debian dependencies
apt: name={{ item }} state=latest apt: name={{ item }} state=latest
with_items: mysql_packages with_items: mysql_packages
when: ansible_pkg_mgr == 'apt' when: ansible_pkg_mgr == 'apt'

@ -0,0 +1,6 @@
mysql_service: 'mariadb'
mysql_packages:
- mariadb-server
- MySQL-python
- bzip2
Loading…
Cancel
Save