Skip to content

Commit 86fef37

Browse files
committed
PR #6 follow-up: Better version compatibility and testing.
1 parent db4c28c commit 86fef37

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ galaxy_info:
99
description: PHP MySQL support for Linux.
1010
company: "Midwestern Mac, LLC"
1111
license: "license (BSD, MIT)"
12-
min_ansible_version: 2.0
12+
min_ansible_version: 2.4
1313
platforms:
1414
- name: EL
1515
versions:

molecule/default/converge.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,12 @@
55

66
vars:
77
php_enablerepo: "remi,remi-php72"
8-
php_default_version_debian: "7.2"
9-
mysql_python_package_debian: python3-mysqldb
108

119
pre_tasks:
1210
- name: Update apt cache.
1311
apt: update_cache=true cache_valid_time=600
1412
when: ansible_os_family == 'Debian'
1513

16-
- name: Set the correct php_mysql_package for Debian.
17-
set_fact:
18-
php_mysql_package: "php7.2-mysql"
19-
when: ansible_os_family == 'Debian'
20-
2114
roles:
2215
- role: geerlingguy.repo-remi
2316
when: ansible_os_family == 'RedHat'

vars/Debian.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
__php_mysql_package: php{{ php_default_version_debian|default("7.0") }}-mysql
2+
__php_mysql_package: php{{ php_default_version_debian | default("7.4") }}-mysql

0 commit comments

Comments
 (0)