1
0
Fork 0
mirror of https://github.com/ansible-collections/community.mysql.git synced 2026-02-03 23:01:49 +00:00

Add session_vars to mysql_query. (#729)

This commit adds a `session_vars` dict to the `mysql_query` plugin,
similar to that done in #489. While this could also be done by using a
list of queries, having a dictionary allows for a cleaner query,
reusability (via merge key), and a more consistent experience when using
different plugins (like `mysql_user`, which supports `session_vars`).
This commit is contained in:
Richard Burnison 2025-09-12 03:05:30 -04:00 committed by GitHub
parent 1f9b1a29dd
commit 2e0c44f616
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,3 @@
---
minor_changes:
- '`mysql_query` - add new `session_vars` argument, similar to ansible-collections/community.mysql#489.'