Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into stable 1 again #160

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c527827
Dynamic user/password in .my.cnf (#89)
mrpk1906 Feb 11, 2022
4a7e884
Update default proxysql version, drop support for xenial (EOL) and fi…
mrpk1906 Feb 23, 2022
2ddff09
CI: add stable-2.13 (#95)
markuman Mar 31, 2022
a6a976d
#93 fix suffix parsing (#96)
markuman Apr 14, 2022
6df2aa1
Drop support for Ansible 2.9 and ansible-base 2.10 (#100)
Andersson007 May 10, 2022
12f8baf
Fix removed client_found_rows mysql variable (#101)
jpiron May 21, 2022
febcaba
use true/false (#105)
markuman Aug 25, 2022
41f1eda
Add support for configuring restapi (#110)
jpiron Sep 12, 2022
defeeae
backport stable-1: Add support for configuring restapi (#110) (#111) …
markuman Sep 12, 2022
934ed6d
Fix missing proxysql_global_variables parameters (#116)
jpiron Oct 17, 2022
48a013b
Fix missing host parameter for wait_for module (#115)
jpiron Oct 17, 2022
d3f9732
Skip checking flagIN value before inserting rules (#108)
squirrel532 Oct 18, 2022
beca67f
ci maintenance (#119)
markuman Oct 18, 2022
4db0eab
too many blank lines (#120)
markuman Oct 19, 2022
3a6a580
use ubuntu 20.04 (#121)
markuman Dec 3, 2022
df39f25
add patchback (#132)
markuman Jan 4, 2023
4c7df75
Documentation: yes/no/True/False -> true/false (#133)
Andersson007 Jan 4, 2023
b14ca9f
fix missing check_mode (#138)
markuman Jan 10, 2023
30d0b4a
fix sanity/ci (#142)
markuman Feb 15, 2023
68344f3
CI: add stable-2.15 to GHA matrix (#146)
Andersson007 Nov 28, 2023
d4ef72a
collection maintenance (#149)
markuman Dec 4, 2023
d45ded1
Add new module proxysql_galera_hostgroups (#147)
tompal3 May 17, 2024
0283103
module_utils: fix version parsing failures when there's no suffix par…
Andersson007 May 17, 2024
75f1afb
update (#157)
markuman May 21, 2024
1952ad8
add pidfile location management (#145)
willska May 30, 2024
60e0c89
Add changelog fragment for PR #145 (#158)
Andersson007 May 31, 2024
d40bde6
merge
markuman Jun 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ansible-test-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
strategy:
matrix:
ansible:
- stable-2.14
- stable-2.15
- stable-2.16
- stable-2.17
- devel
steps:
- name: Perform sanity testing
Expand All @@ -43,24 +43,24 @@ jobs:
fail-fast: false
matrix:
proxysql:
- 2.3.2
- 2.6.3
ansible:
- stable-2.14
- stable-2.15
- stable-2.16
- stable-2.17
- devel
python:
- 3.9
include:
- python: 3.9
ansible: "stable-2.14"
proxysql: 2.3.2
- python: "3.10"
ansible: "stable-2.15"
proxysql: 2.4.4
- python: 3.12
ansible: "stable-2.16"
proxysql: 2.5.5
- python: 3.12
ansible: "stable-2.17"
proxysql: 2.6.3


steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ansible-test-roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
proxysql:
- 2.0.12
- 2.3.2
ansible:
- stable-2.9
### it looks like there's errors for 2.10+ with ansible-lint (https://github.com/ansible/ansible-lint/pull/878)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ For more information about communication, refer to the [Ansible Communication gu
- `proxysql_query_rules_fast_routing.py`: Modifies query rules for fast routing policies using the proxysql admin interface.
- `proxysql_query_rules`: Modifies query rules using the proxysql admin interface.
- `proxysql_replication_hostgroups`: Manages replication hostgroups using the proxysql admin.
- `proxysql_galera_hostgroups`: Manages galera hostgroups using the proxysql admin.
- `proxysql_scheduler`: Adds or removes schedules from proxysql admin interface.
- **Roles**:
- proxysql
Expand Down
2 changes: 2 additions & 0 deletions changelogs/fragments/0-proxysql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- module_utils - fix ProxySQL version parsing that fails when a suffix wasn't present in the version (https://github.com/ansible-collections/community.proxysql/issues/154).
2 changes: 2 additions & 0 deletions changelogs/fragments/1-proxysql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- proxysql role - add the pidfile location management (https://github.com/ansible-collections/community.proxysql/pull/145).
2 changes: 2 additions & 0 deletions changelogs/fragments/101-removed-mysql-variable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- roles/proxysql - As of ProxySQL 2.4.0, `client_found_rows` mysql variable has been removed (https://github.com/ansible-collections/community.proxysql/pull/101).
3 changes: 3 additions & 0 deletions changelogs/fragments/107-update_destination_hostgroup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bugfixes:
- proxysql_query_rules_fast_routing - remove unnecessary ``flagIN`` check, that makes it impossible to update the ``destination_hostgroup`` parameter (https://github.com/ansible-collections/community.proxysql/pull/108).
- proxysql_query_rules_fast_routing - fix query parameter order, that prevents updating ``destination_hostgroup`` parameter (https://github.com/ansible-collections/community.proxysql/pull/108).
2 changes: 2 additions & 0 deletions changelogs/fragments/110-restapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- roles/proxysql - add support for configuring REST API (https://github.com/ansible-collections/community.proxysql/pull/110).
2 changes: 2 additions & 0 deletions changelogs/fragments/115-wait-for-fix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- roles/proxysql - Fix wait_for task when `proxysql_admin_bind_address` is overridden (https://github.com/ansible-collections/community.proxysql/pull/115).
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- roles/proxysql - Missing proxysql_global_variables module parameters (https://github.com/ansible-collections/community.proxysql/pull/116).
2 changes: 2 additions & 0 deletions changelogs/fragments/137-missing_check_mode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- proxysql_manage_config - Fix ``check_mode`` (https://github.com/ansible-collections/community.proxysql/pull/138).
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bugfixes:
- role_proxysql - Dynamic user/password in .my.cnf (https://github.com/ansible-collections/community.proxysql/pull/89).
- role_proxysql - Correct package name (python3-mysqldb instead of python-mysqldb) (https://github.com/ansible-collections/community.proxysql/pull/89).
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- role_proxysql - Update default proxysql version and fix small bugs (https://github.com/ansible-collections/community.proxysql/pull/92).
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- module_utils/mysql.py - Proxysql version suffix may not be an integer (https://github.com/ansible-collections/community.proxysql/pull/96).
2 changes: 1 addition & 1 deletion plugins/module_utils/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _version(cursor):
version['major'] = int(_version[0])
version['minor'] = int(_version[1])
version['release'] = int(_version[2])
version['suffix'] = raw_version[1]
version['suffix'] = raw_version[1] if len(raw_version) > 1 else None

return version

Expand Down
Loading
Loading