2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 13:09:01 +00:00
bench/playbooks/roles/mariadb/tasks/centos.yml

19 lines
455 B
YAML
Raw Normal View History

2017-08-28 09:20:50 +00:00
---
- name: Add repo file
template: src=mariadb_centos.repo.j2 dest=/etc/yum.repos.d/mariadb.repo owner=root group=root mode=0644
- name: Install MariaDB
yum:
name:
- MariaDB-server
- MariaDB-client
enablerepo: mariadb
state: present
2018-06-09 08:48:20 +00:00
- name: Install MySQLdb Python package for secure installations.
yum:
name:
- MySQL-python
state: present
2018-06-09 08:48:20 +00:00
when: mysql_secure_installation and mysql_root_password is defined