Skip to content
Snippets Groups Projects
Commit d113b46a authored by jurgenhaas's avatar jurgenhaas
Browse files

Install new python dependency

parent 7e8c576c
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
- block:
- name: MySQL Client | Install required packages
- name: Install required packages
apt:
pkg: '{{ packages }}'
state: present
......@@ -18,7 +18,7 @@
- mysql-client
- mytop
- name: MySQL Client | Config for easy access for admins
- name: Config for easy access for admins
template:
src: admin_my_cnf
dest: /home/{{ item }}/.my.cnf
......@@ -27,7 +27,7 @@
mode: 0644
with_items: '{{ admins }}'
- name: MySQL Client | Config for easy access for root
- name: Config for easy access for root
template:
src: admin_my_cnf
dest: /root/.my.cnf
......@@ -35,4 +35,12 @@
group: root
mode: 0644
- name: Install PIP packages
pip:
name: '{{ packages }}'
state: present
vars:
packages:
- PyMySQL
when: not excluded_roles or "mysql-client" not in excluded_roles
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment