mariadb/tasks/setup-RedHat.yml
2019-04-14 20:27:36 +02:00

14 lines
375 B
YAML

---
- name: Ensure MySQL packages are installed.
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 | default(omit, true) }}"