mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-05 02:00:31 -07:00
15 lines
777 B
YAML
15 lines
777 B
YAML
---
|
|
- name: "{{ role_name }} | config | download mysql tarball"
|
|
get_url:
|
|
url: "{{ install_src }}"
|
|
dest: "{{ dbdeployer_sandbox_download_dir }}/{{ install_tarball }}"
|
|
|
|
- name: "{{ role_name }} | config | run unpack tarball"
|
|
shell:
|
|
cmd: "dbdeployer unpack {{ dbdeployer_sandbox_download_dir }}/{{ install_tarball }}"
|
|
creates: "{{ dbdeployer_sandbox_binary_dir }}/{{ install_version }}"
|
|
|
|
- name: "{{ role_name }} | config | setup replication topology"
|
|
shell:
|
|
cmd: "dbdeployer deploy multiple {{ install_version }} --base-port {{ mysql_base_port }} --my-cnf-options=\"master_info_repository='TABLE'\" --my-cnf-options=\"relay_log_info_repository='TABLE'\""
|
|
creates: "{{ dbdeployer_sandbox_home_dir }}/multi_msb_{{ install_version|replace('.','_') }}"
|