E.S. Rosenberg a.k.a. Keeper of the Keys
f91d15e477
It's a tuple and not a list 🤦
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-11 21:27:26 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
3f7f036cb6
Add some debugging output to help troubleshoot CI
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-11 21:02:54 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
e4f85f03d2
change type() to isinstance()
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-11 15:45:26 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
a8702b88d5
Add check_mode feedback
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-11 15:41:48 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
a124e77505
Cleaner type conditionals
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-11 15:20:57 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
e6dde5843a
Handle DictCursor
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-11 15:18:53 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
72482fc5ad
Debug CI error
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-11 13:51:20 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
13cb20768f
Hopefully fixed condition
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-11 13:26:08 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
3d9df81d94
Based on the previous CI build is_role is not (always?) present so checking for it, right now with pprint of the line for debug purposes
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-11 13:09:05 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
178eade8e8
Add user locking to info module and test.
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-11 12:44:12 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
4f0069d511
check_mode is set at the task level and not the module level
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-10 23:23:04 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
321309bf0f
Fix wrong indent
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-10 21:21:20 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
e3775aed61
locked check should not run for roles.
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-10 21:17:15 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
3a8b4a16a1
Switch calls to user_mod with sequences of None positional arguments to full named arguments
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-06 23:30:37 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
3cceba40eb
Add idempotence checks
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-06 16:14:34 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
6b8e721153
Fix names that included check_mode: true
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-06 12:17:27 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
7fd6b640fe
Add check_mode: true test cases
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-06 12:13:39 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
85b16cc82b
Change documentation per request of @Andersson007
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-06 12:07:16 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
3984380acb
Add check_mode support.
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-06 12:07:00 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
e95c3dab6b
Switch locked to named instead of positional.
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-06 10:30:02 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
c7097b9fcf
Fix condition
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-05 19:05:50 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
9209a123c6
Fix host of user (was % should have been localhost after deleting host:
earlier)
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-05 17:57:36 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
fbeeff5ca7
Fix user_is_locked and remove host_all option.
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-05 16:06:32 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
d839871d1e
- Changes requested/suggested by @Andersson007
...
- Example usage
- Changelog fragment
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-05 15:51:20 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
17e398f5a2
Fixes for sanity checks
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-05 15:25:15 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
19ff2d757a
More descriptive names in the integration tests
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-05 15:23:35 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
7358c1e7a7
Add attribute documentation
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-05 15:09:40 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
0f590dc48e
Initial user locking integration tests
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-05 14:57:11 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
583407fbe2
Add the locked attribute
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-04 00:25:20 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
5079dc4ab7
Fix missing parameters for execute()
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-03 16:39:26 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
6747ef32e9
Add the location and logic of where I think user locking would happen.
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-03 16:36:04 +02:00
E.S. Rosenberg a.k.a. Keeper of the Keys
1380c20b20
function to check if a user is locked already
...
Signed-off-by: E.S. Rosenberg a.k.a. Keeper of the Keys <es.rosenberg+github@gmail.com>
2025-03-03 16:09:15 +02:00
Andrew Klychkov
e9845b0a1c
Release 3.12.0 commit ( #698 )
2025-01-17 10:11:27 +01:00
Andrew Klychkov
960ac32adf
mysql_query: returns execution_time_ms list containing execution time per query ( #697 )
...
* mysql_query: returns execution_time_ms list containing execution time per query
* Update changelogs/fragments/0-mysql_query-returns-exec-time-ms.yml
Co-authored-by: Laurent Indermühle <laurent.indermuehle@pm.me>
2025-01-16 15:49:53 +01:00
Sergio
a45a0d006d
mysql_db: added zstd
support ( #696 )
2025-01-16 09:35:04 +01:00
Andrew Klychkov
022ed60906
Fix linting issues ( #693 )
2024-12-13 09:21:06 +01:00
Laurent Indermuehle
3d3f115574
Add next expected version
2024-11-19 10:56:37 +01:00
Laurent Indermühle
e437d562c1
Release 3.11.0 commit ( #692 )
2024-11-19 10:51:58 +01:00
Laurent Indermühle
9057637844
mysql_info - add table count to the databases returned values ( #691 )
...
* Add tables count per database
* Add integrations tests
* Deduplicate tests between main and new task file
2024-11-19 08:51:03 +01:00
Laurent Indermühle
d613fa1993
Fix wrong documentation assertion ( #690 )
2024-11-18 15:44:39 +01:00
Laurent Indermühle
7d787eb238
Add contributors from last 10 PR pages ( #688 )
...
I've applied a sort on the whole file. This Patch is hard to read,
sorry. I've remove nobody! Only move!
2024-11-07 10:37:10 +01:00
Soledad208
ebb37ae7a3
sql_mode can be set in session, therefore we should look for ANSI_QUOTES in session variable instead of global variable ( #677 )
...
* issue-671: get ASNI_QUOTES from session sql_mode instead of GLOBAL sql_mode
2024-11-07 09:56:31 +01:00
Andrew Klychkov
90bd0b0a75
Update contributor's email ( #684 )
2024-10-24 10:57:36 +02:00
JS
93cd1850d9
Update mysql_user.py - table/privilege spacing update ( #687 )
...
* Update mysql_user.py - table/privilege spacing update
Add note for no spacing between the table and the privilege as this will make the task not idempotent in check mode but still make it idempotent when in normal mode.
* Update plugins/modules/mysql_user.py
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
---------
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2024-10-23 10:31:40 +02:00
Andrew Klychkov
a5afa1a375
CI: add stable-2.18, fix README ( #681 )
...
* CI: add stable-2.18, fix README
* Update .github/workflows/ansible-test-plugins.yml
Co-authored-by: Laurent Indermühle <laurent.indermuehle@pm.me>
* Update .github/workflows/ansible-test-plugins.yml
Co-authored-by: Laurent Indermühle <laurent.indermuehle@pm.me>
* Update .github/workflows/ansible-test-plugins.yml
Co-authored-by: Laurent Indermühle <laurent.indermuehle@pm.me>
* Update README.md
Co-authored-by: Laurent Indermühle <laurent.indermuehle@pm.me>
---------
Co-authored-by: Laurent Indermühle <laurent.indermuehle@pm.me>
2024-09-26 14:31:08 +02:00
Maxwell G
28bf7093be
changelogs: categorize deprecations under deprecated_features ( #679 )
...
These should be put under deprecated_features so they show up properly
in the generated changelog.
2024-09-11 14:35:02 +02:00
Andrew Klychkov
a75d71a7ff
Release 3.10.3 commit ( #678 )
2024-09-09 15:05:25 +02:00
hubiongithub
eec6e7091f
Update user.py ( #676 )
...
* Update user.py
Added correct syntax to ed25519 password plugin.
on create user
on update user
This only accepts cleartext passwords (PASSWORD(%s)) not pregenerated ed25519 hashes.
* Update plugins/module_utils/user.py
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* Update plugins/module_utils/user.py
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* Update plugins/module_utils/user.py
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* Update plugins/module_utils/user.py
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* Update plugins/module_utils/user.py
* Update plugins/module_utils/user.py
---------
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2024-09-09 15:01:26 +02:00
Andrew Klychkov
7188bea0c8
Release 3.10.2 commit ( #675 )
2024-09-06 08:21:45 +02:00
Andrew Klychkov
3425fdb839
mysql_user: add correct ed25519 plugin handling when creating a user ( #674 )
2024-09-05 12:19:33 +02:00