mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-03 12:44:25 -07:00
Refactor setup_mysql into setup_controller
This commit is contained in:
parent
405b809a86
commit
7049a280cb
15 changed files with 16 additions and 56 deletions
|
@ -1,30 +0,0 @@
|
|||
---
|
||||
|
||||
- name: "{{ role_name }} | install | Required package for testing"
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- mysql-client
|
||||
- iproute2
|
||||
# - python3-dev
|
||||
# - python3-cryptography
|
||||
# - default-libmysqlclient-dev
|
||||
# - build-essential
|
||||
state: present
|
||||
update_cache: true
|
||||
environment:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
|
||||
- name: "{{ role_name }} | install | install python packages"
|
||||
ansible.builtin.pip:
|
||||
name: "{{ python_packages }}"
|
||||
register: connector
|
||||
|
||||
- name: Ensure fake root folder
|
||||
ansible.builtin.file:
|
||||
path: "{{ playbook_dir }}/root"
|
||||
state: directory
|
||||
|
||||
- name: Ensure fake root default file exists
|
||||
ansible.builtin.file:
|
||||
path: "{{ playbook_dir }}/root/.my.cnf"
|
||||
state: touch
|
Loading…
Add table
Add a link
Reference in a new issue