mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 00:33:09 +00:00
Merge pull request #8966 from jlaska/devel
Include el7 mariadb support in mysql integration test
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
6
test/integration/roles/setup_mysql_db/vars/RedHat-7.yml
Normal file
6
test/integration/roles/setup_mysql_db/vars/RedHat-7.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
mysql_service: 'mariadb'
|
||||
|
||||
mysql_packages:
|
||||
- mariadb-server
|
||||
- MySQL-python
|
||||
- bzip2
|
||||
Reference in New Issue
Block a user