patchback[bot]
054b369740
[PR #10852/648ff7db backport][stable-10] yaml cache plugin: make compatible with ansible-core 2.19 ( #10855 )
...
yaml cache plugin: make compatible with ansible-core 2.19 (#10852 )
Make compatible with ansible-core 2.19.
(cherry picked from commit 648ff7db02
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-09-25 20:34:40 +02:00
Felix Fontein
8a6fb28296
[stable-10] ansible-core 2.20: avoid deprecated functionality ( #10687 ) ( #10694 )
...
EOL CI / EOL Sanity (Ⓐ2.15) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.15+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
ansible-core 2.20: avoid deprecated functionality (#10687 )
Avoid deprecated functionality.
(cherry picked from commit 47e8a3c193
)
2025-08-18 05:18:40 +00:00
patchback[bot]
8c8e755369
[PR #10136/937d92ee backport][stable-10] pickle cache plugin, avoid extra steps in DT ( #10144 )
...
EOL CI / EOL Sanity (Ⓐ2.15) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.15+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
pickle cache plugin, avoid extra steps in DT (#10136 )
* pickle cache plugin, avoid extra steps in DT
* clog
* Update changelogs/fragments/10136-cache-pickle-json.yml
---------
(cherry picked from commit 937d92ee25
)
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-05-16 22:37:55 +02:00
patchback[bot]
a8a1c0af2a
[PR #9583/81e22180 backport][stable-10] action/become/cache/callback: adjust import __future__ for Python3 ( #9586 )
...
action/become/cache/callback: adjust import __future__ for Python3 (#9583 )
* action/become/cache/callback: adjust import __future__ for Python3
* add changelog frag
* remove metaclass
* adjust chglog
* adjust chglog
(cherry picked from commit 81e22180d1
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-01-20 20:15:52 +01:00
patchback[bot]
6d346ddadd
[PR #9453/040cd0ca backport][stable-10] normalize docs in cache/connection plugins ( #9462 )
...
normalize docs in cache/connection plugins (#9453 )
Normalize doc blocks for plugins
(cherry picked from commit 040cd0ca50
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-12-29 14:12:55 +01:00
patchback[bot]
151f6c9ce3
[PR #9379/22035608 backport][stable-10] plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting ( #9444 )
...
plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting (#9379 )
* Replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting.
* Improve formulation.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Use more f-strings.
* Remove unicode prefix for strings.
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit 2203560867
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-29 00:06:56 +01:00
patchback[bot]
3c6131b451
[PR #9320/cb2cd00c backport][stable-10] cache plugins: use f-strings ( #9331 )
...
cache plugins: use f-strings (#9320 )
* cache plugins: use f-strings
* add changelog frag
(cherry picked from commit cb2cd00cd1
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-12-23 12:25:24 +01:00
Alexei Znamensky
26df6c7657
use dict comprehension in plugins, part 3 ( #8833 )
...
* use dict comprehension in plugins, part 3
* add changelog frag
2024-09-08 14:22:37 +02:00
Felix Fontein
37c8560542
Type options of cache plugins ( #8624 )
...
* Type options of cache plugins.
* Do not change type of _timeout for now.
2024-07-28 13:09:46 +02:00
Felix Fontein
2b62826082
Fix more typos ( #7439 )
...
* Fix more typos in plugins/.
* Fix typos in tests/unit/.
* Fix typos in tests/integration/.
* Fix more typos.
Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com>
---------
Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com>
2023-10-29 18:04:44 +01:00
Felix Fontein
011b2f8bdc
Start using semantic markup ( #6627 )
...
* Start using semantic markup.
* Forgot some places.
* Fix typo.
* Use 'ignore:' prefix until https://github.com/ansible-community/antsibull-docs/pull/155 is out.
* Break too long line.
2023-06-10 09:28:40 +02:00
Felix Fontein
2b8ac3c629
Remove unneccessary imports ( #5940 )
...
* Remove unneccessary imports.
* Keep unnecessary imports in module_utils - for now.
* Make older sanity tests shut up.
* Also make flake8 happier.
2023-02-12 19:48:39 +01:00
Felix Fontein
015566fb06
Normalize more booleans. ( #5247 )
2022-09-06 20:42:17 +02:00
Felix Fontein
496bf27b5c
Fix copyright lines (make sure 'Copyright' is there). ( #5083 )
2022-08-05 22:12:10 +02:00
Felix Fontein
123c7efe5e
Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt ( #5065 )
...
* Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt.
* Replace 'Copyright:' with 'Copyright'
sed -i 's|Copyright:\(.*\)|Copyright\1|' $(rg -l 'Copyright:')
Co-authored-by: Maxwell G <gotmax@e.email>
2022-08-05 12:28:29 +02:00
Felix Fontein
1a9b3214fd
[5.0.0] Remove Ansible 2.9 / ansible-base 2.10 compatibility code ( #4548 )
...
* Remove Ansible 2.9 / ansible-base 2.10 compatibility code.
* Remove path_join shim from BOTMETA.
* Update comment.
* Bump minimally required ansible-core version.
2022-04-26 11:51:01 +02:00
Felix Fontein
ca2c64b5ca
Fix sanity issues. ( #4346 )
2022-03-14 20:56:27 +01:00
Felix Fontein
1fec1d0c81
Fix new devel sanity errors. ( #3194 )
2021-08-12 12:07:50 +02:00
Alexei Znamensky
da11a98cb7
fixed the utf-8 marker ( #3162 )
2021-08-07 15:02:21 +02:00
Alexei Znamensky
73c27d6a0e
utf8 marker batch1 ( #3127 )
...
* added utf-8 markers to all .py files in plugins/{action,cache,callback}
* added utf-8 markers to all .py files in plugins/connection
* added utf-8 markers to all .py files in plugins/doc_fragments
2021-08-01 12:35:08 +02:00
Felix Fontein
fafabed9e6
Replace ansible.module_utils._text by ansible.module_utils.common.text.converters ( #2877 )
...
* Replace ansible.module_utils._text by ansible.module_utils.common.text.converters.
* Also adjust tests.
2021-06-26 23:59:11 +02:00
Felix Fontein
7cd96d963e
meta/runtime.yml and __init__.py cleanup ( #2632 )
...
* Remove superfluous __init__.py files.
* Reformat and sort meta/runtime.yml.
* The ovirt modules have been removed.
* Add changelog entry.
2021-05-27 18:49:26 +02:00
Alexei Znamensky
4764a5deba
redis cache - better parsing of connection uri ( #2579 )
...
* better parsing of connection uri
* added changelog fragment
* fixed tests for ansible 2.9
* Update tests/unit/plugins/cache/test_redis.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update tests/unit/plugins/cache/test_redis.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Adjustments from PR
* Update test_redis.py
* Update test_redis.py
* Update plugins/cache/redis.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/cache/redis.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update tests/unit/plugins/cache/test_redis.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-05-26 07:07:09 +02:00
Alexei Znamensky
434f383ae9
fixed Python 3 keys() usage ( #1861 )
...
* fixed python3 keys()
* added changelog fragment
* Update plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/cache/redis.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* rolledback redis.py per PR
* Update plugins/modules/monitoring/sensu/sensu_check.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* removed unnecessary ignore lines
* adding memcached and one case in redis is indeed necessary
* Update changelogs/fragments/1861-python3-keys.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update changelogs/fragments/1861-python3-keys.yml
* Update changelogs/fragments/1861-python3-keys.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-02-23 23:19:27 +01:00
Felix Fontein
99cfb993d5
<plugin_type>: -> name: ( #1541 )
2021-01-12 07:12:03 +01:00
Felix Fontein
1db167b12a
Bump version to 2.0.0 ( #1369 )
...
* Bump version to 2.0.0.
* Remove deprecated 2.0.0 features.
* Test for failure.
* Fix cache plugin unit tests.
* Accept direct import only for Ansible 2.9.
2020-11-26 14:26:36 +01:00
Felix Fontein
75fd32ca55
Fix the linode inventory plugin, and the redis and memcached cache plugins ( #1281 , #1282 , #1283 ).
2020-11-13 16:01:10 -05:00
Benjamin Pereto
a6c950a44b
cache/redis: feature redis sentinel ( #1055 )
...
* FEATURE: cache/redis: add redis sentinel support
* FEATURE: add changelog fragment
* STYLE: fix sanity
* DOCS: update fragment, specify redis cache plugin
* STYLE: spelling
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* STYLE: spelling
* FIX: import to_native
* FIX: remove kw args to prevent secrets leak
Co-authored-by: Benjamin Pereto <benjamin@sandchaschte.ch>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-10-20 07:05:40 +02:00
Benjamin Pereto
873f1fb7fd
cache/redis: make keyset keyname configurable ( #1036 )
...
* FEATURE: make ansible_cache_keys name configurable
* REFACTOR: rename cache_keys to keyset
* FEATURE: add changelog fragment
* Update changelogs/fragments/1036-redis-cache-keyset-name.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Set version_added in plugins/cache/redis.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Benjamin Pereto <benjamin@sandchaschte.ch>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-10-11 15:16:59 +02:00
Felix Fontein
e5da25915d
Improve plugin sanity ( #966 )
...
* callback_type -> type.
* Mark authors as unknown.
* Add author field forgotten in #627 .
* Fix author entries.
* Add author field forgotten in #127 .
* Fix some types.
2020-09-28 21:21:51 +02:00
Felix Fontein
b54ddaa28c
Clean up deprecations ( #504 )
...
* Adjust deprecation versions.
* Remove redirects that are already made in ansible/ansible's ansible_builtin_runtime.yml
* Remove modules that were moved to the google.cloud collection according to ansible/ansible's ansible_builtin_runtime.yml.
* The _info module is in google.cloud.
* The gcp doc_fragment is a copy of the one in google.cloud and is only used by one lookup. Mark as deprecated/internal.
* Remove entries of modules that no longer exist.
* Update ignore.txt.
* Try to fix test.
* Remove debug output.
2020-06-16 13:15:19 +02:00
Brian Scholer
f81e562301
redis cache - add support for TLS/encryption in transit ( #410 )
...
* Add encryption in transit support for redis cache
* Fix missed connection/uri switch
* Add changelog
* Update changelogs/fragments/410-redis_cache-add_tls_support.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-05-30 12:26:37 +02:00
Matt Davis
9ff2c7685f
move jsonfile cache plugin back to ansible-base ( #287 )
...
* move jsonfile cache plugin back to ansible-base
* Delete remove_jsonfile.yml
No needed as we haven't released `community.general` yet
Co-authored-by: John R Barker <john@johnrbarker.com>
2020-05-06 18:37:03 +01:00
Christopher May-Townsend
043e2e969a
Update documentation for example of redis connection string ( #288 )
...
* Update documentation for example of redis connection string
* Update plugins/cache/redis.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* updated example on a single line
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-05-06 08:30:39 +01:00
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00