Skip to content

Commit

Permalink
Update to enablerepo functionality to work better with Ansible 2.7.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Oct 8, 2018
1 parent a26d9d0 commit e65af06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
14 changes: 0 additions & 14 deletions molecule/default/tests/test_default.py

This file was deleted.

10 changes: 8 additions & 2 deletions tasks/setup-RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
- name: Ensure MySQL packages are installed.
yum: "name={{ mysql_packages }} state=present enablerepo={{ mysql_enablerepo }}"
yum:
name: "{{ mysql_packages }}"
state: present
enablerepo: "{{ mysql_enablerepo | default(omit, true) }}"
register: rh_mysql_install_packages

- name: Ensure MySQL Python libraries are installed.
yum: "name=MySQL-python state=present enablerepo={{ mysql_enablerepo }}"
yum:
name: MySQL-python
state: present
enablerepo: "{{ mysql_enablerepo | default(omit, true) }}"

0 comments on commit e65af06

Please sign in to comment.