ansible-role-apache/lemp-rhel7/roles/ansible-role-mysql/tasks/setup-RedHat.yml
2016-06-12 11:44:25 +10:00

8 lines
330 B
YAML
Executable file

---
- name: Ensure MySQL packages are installed.
yum: "name={{ item }} state=installed enablerepo={{ mysql_enablerepo }}"
with_items: "{{ mysql_packages }}"
register: rh_mysql_install_packages
- name: Ensure MySQL Python libraries are installed.
yum: "name=MySQL-python state=installed enablerepo={{ mysql_enablerepo }}"