mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 20:54:24 -07:00
[PR #7242/c3fd14e1 backport][stable-7] Ignore similar chars in random_string (#7292)
Ignore similar chars in random_string (#7242)
* Added the option to ignore certain characters
This can be usefull for eliminating confusion.
* Removed the loop and added each char_sets
The variable name is not known inside the loop so updating it does not work.
* Changelog fragment file
* Forgot the file extention for the fragment yaml file
* Update plugins/lookup/random_string.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/random_string.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/random_string.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit c3fd14e18f
)
Co-authored-by: Gustav Alerby <g.alerby@gmail.com>
This commit is contained in:
parent
dfbde55aeb
commit
61e82c50e4
2 changed files with 23 additions and 0 deletions
2
changelogs/fragments/7242_ignore_similar_chars.yml
Normal file
2
changelogs/fragments/7242_ignore_similar_chars.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- random_string - added new ``ignore_similar_chars`` and ``similar_chars`` option to ignore certain chars (https://github.com/ansible-collections/community.general/pull/7242).
|
Loading…
Add table
Add a link
Reference in a new issue