1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Include el7 mariadb support in mysql integration test

This commit is contained in:
James Laska 2014-09-10 16:32:28 -04:00
parent 317ab06bc6
commit b7c7476359
2 changed files with 15 additions and 4 deletions

View file

@ -17,15 +17,20 @@
# 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
yum: name={{ item }} state=latest
yum: name={{ item }} state=latest
with_items: mysql_packages
when: ansible_pkg_mgr == 'yum'
- name: install mysqldb_test debian dependencies
apt: name={{ item }} state=latest
- name: install mysqldb_test debian dependencies
apt: name={{ item }} state=latest
with_items: mysql_packages
when: ansible_pkg_mgr == 'apt'

View file

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