Newer
Older
---
# file: roles/mysql-client/tasks/main.yml
- name: "MySQL Client | Install required packages"
apt: pkg={{item}} state=installed
with_items:
- mysql-client
- mytop
- name: "MySQL Client | Config for easy access for admins"
template:
src=admin_my_cnf
dest=/home/{{ item }}/.my.cnf
owner={{ item }}
group=root
mode=644
- name: "MySQL Client | Config for easy access for root"
template:
src=admin_my_cnf
dest=/root/.my.cnf
owner=root
group=root
mode=644