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:
parent
1f9b1a29dd
commit
2e0c44f616
4 changed files with 46 additions and 0 deletions
3
changelogs/fragments/0_mysql_query_session_vars.yml
Normal file
3
changelogs/fragments/0_mysql_query_session_vars.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
minor_changes:
|
||||
- '`mysql_query` - add new `session_vars` argument, similar to ansible-collections/community.mysql#489.'
|
||||
Loading…
Add table
Add a link
Reference in a new issue