mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-10 04:30:38 -07:00
* Sync GHA workflow w/ the collection template (#452) * Sync GHA workflow w/ the collection template * Drop the trailing pre-cmd semicolon * Recover missing `-e` flag of `sed` * Use relative paths for version configs * Unquote `env.connector_version_file` * Use string formatting to fix the substitution problem (cherry picked from commit8107530744
) (cherry picked from commit704a0cea6a
) * Backport mysql_version_parts variable assignation (cherry picked from commit79046a88cb
) (cherry picked from commita59d95501e
) * Add changelog fragment (cherry picked from commit26ecd68801
) * Backport flags and variables to differentiate MariaDB from MySQL setup (cherry picked from commitb4303511d5
) * Backport issue-28 check for tls support (cherry picked from commitefde607d25
) * Backport tls_requirements simplified and deduplified tests (cherry picked from commitac5a339644
) Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
15 lines
833 B
YAML
15 lines
833 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 }} --flavor {{ install_type }}"
|
|
creates: "{{ dbdeployer_sandbox_binary_dir }}/{{ install_version }}"
|
|
|
|
- name: "{{ role_name }} | config | setup replication topology"
|
|
shell:
|
|
cmd: "dbdeployer deploy multiple {{ install_version }} --flavor {{ install_type }} --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('.','_') }}"
|