Pierre Riteau
41b65161bd
Fix typos: s/the the/the/ ( #10867 )
EOL CI / EOL Sanity (Ⓐ2.16) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
2025-09-30 21:17:01 +02:00
Alexei Znamensky
d0123a1038
django_dumpdata, django_loaddata: new modules ( #10726 )
...
EOL CI / EOL Sanity (Ⓐ2.16) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Has been cancelled
nox / Run extra sanity tests (push) Has been cancelled
* django module, module_utils: adjustments
* more fixes
* more fixes
* further simplification
* django_dumpdata/django_loaddata: new modules
* Update plugins/modules/django_dumpdata.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* add note about idempotency
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-09-03 21:49:11 +02:00
Alexei Znamensky
9e86d239d2
oci/oracle: deprecation ( #10652 )
...
* oci/oracle: deprecation
* add changelog frag
* add doc frags to changelog frag
* Update changelogs/fragments/10652-oracle-deprecation.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-08-23 18:35:37 +02:00
mscherer
29b35022cf
Add a scaleway group to be able to use module_defaults ( #10647 )
2025-08-23 18:34:52 +02:00
Alexei Znamensky
d84d2397b9
ipa_*: adjust common connection notes to modules ( #10668 )
EOL CI / EOL Sanity (Ⓐ2.16) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
2025-08-15 23:48:44 +12:00
Alexei Znamensky
993e3a736e
ipa_*: add common connection notes to modules ( #10615 )
...
EOL CI / EOL Sanity (Ⓐ2.16) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
* ipa_*: add common connection notes to modules
* Update plugins/doc_fragments/ipa.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/doc_fragments/ipa.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-08-11 06:44:38 +02:00
Alexei Znamensky
580ac1e30d
fix style in plugins ( #10302 )
...
EOL CI / EOL Sanity (Ⓐ2.16) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-07-02 01:15:50 +12:00
Felix Fontein
d032de3b16
Adjust YAML in plugin docs ( #10234 )
...
* Adjust YAML in plugin docs.
* Update ignore.txt.
* Forgot two indents.
* adjust connection plugins
adjust filter plugins
adjust inventory plugins
adjust lookup plugins
* Re-add YAML document start.
---------
Co-authored-by: Alexei Znamensky <russoz@gmail.com>
2025-06-16 17:46:01 +02:00
Felix Fontein
f2b7bdf293
Remove proxmox content ( #10110 )
...
EOL CI / EOL Sanity (Ⓐ2.16) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Has been cancelled
nox / Run extra sanity tests (push) Has been cancelled
Remove proxmox content.
2025-06-08 16:18:16 +02:00
Alexei Znamensky
a249996f91
Prepare for version 11: pipx/pipx_info ( #10137 )
...
* Remove various deprecated module helper things.
* pipx/pipx_info: pipx 1.7.0 required from c.g. 11.0.0 onwards
* restore chglog frag
* add changelog frag
* fix chglog
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-05-27 22:55:41 +02:00
Felix Fontein
9d7b3f13bd
Remove deprecated features and plugins for 11.0.0 ( #10126 )
...
EOL CI / EOL Sanity (Ⓐ2.15) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py2.7) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Has been cancelled
nox / Run extra sanity tests (push) Has been cancelled
* Bump version to 11.0.0.
* Removed deprecated plugins/modules.
* Remove _init_session().
* Remove ack_venv_creation_deprecation.
* Change behavior of state.
* Remove value reading.
* Remove list_all.
* Remove various deprecated module helper things.
* Change default of proxmox's update parameter.
* Fix constructor command order.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* MH: adjust guide
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Alexei Znamensky <russoz@gmail.com>
2025-05-19 18:11:39 +02:00
Felix Fontein
1375cb65d6
Unify TLS/SSL config for Redfish modules with new common argument spec and docs fragment; add validate_certs and ca_path options ( #9964 )
...
EOL CI / EOL Sanity (Ⓐ2.15) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py2.7) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Has been cancelled
import-galaxy / Test to import built collection artifact with Galaxy importer (push) Has been cancelled
Verify REUSE / check (push) Has been cancelled
Unify TLS/SSL config for Redfish modules with new common argument spec and docs fragment.
2025-04-10 07:08:04 +02:00
Mark Armstrong
af0118278b
Keycloak modules retry request on authentication error, support refresh token parameter ( #9494 )
...
* feat: begin refactor to support refresh token in keycloak modules
* chore: add start of tests for shared token usage
* feat: progress towards supporting refresh token; token introspection not yet working [8857]
* chore: reset to main branch previous state; a different approach is needed [8857]
* feat: add request methods to keycloak class, which will be expanded with retry logic [8857]
* feat: all requests to keycloak use request methods instead of open_url [8857]
* fix: data argument is optional in keycloak request methods [8857]
* feat: add integration test for keycloak module authentication methods [8857]
* chore: refactor get token logic to separate logic using username/pass credentials [8857]
* chore: refactor token request logic further to isolate request logic [8857]
* chore: fix minor lint issues [8857]
* test: add (currently failing) test for request with invalid auth token, valid refresh token [8857]
* chore: allow realm to be provided to role module with refresh_token, without username/pass [8857]
* feat: add retry logic to requests in keycloak module utils [8857]
* chore: rename keycloak module fail_open_url method to fail_request [8857]
* chore: update all keycloak modules to support refresh token param [8857]
* chore: add refresh_token param to keycloak doc_fragments [8857]
* chore: restore dependency between auth_realm and auth_username,auth_password params [8857]
* chore: rearrange module param checks to reduce future pr size [8857]
* chore: remove extra comma [8857]
* chore: update version added for refresh token param [8857]
* chore: add changelog fragment [8857]
* chore: re-add fail_open_url to keycloak module utils for backward compatability [8857]
* fix: do not make a new request to keycloak without reauth when refresh token not provided (#8857 )
* fix: only make final auth attempt if username/pass provided, and return exception on failure (#8857 )
* fix: make re-auth and retry code more consistent, ensure final exceptions are thrown (#8857 )
* test: fix arguments for invalid token, valid refresh token test (#8857 )
* feat: catch invalid refresh token errors during re-auth attempt (#8857 )
Add test to verify this behaviour works.
* test: improve test coverage, including some unhappy path tests for authentication failures (#8857 )
* chore: store auth errors from token request in backwards compatible way (#8857 )
* fix: ensure method is still specified for all requests (#8857 )
* chore: simplify token request logic (#8857 )
* chore: rename functions to request tokens using refresh token or username/password (#8857 )
To emphasize their difference from the `get_token` function,
which either gets the token from the module params
*or* makes a request for it.
* doc: add docstrings for new or significantly modified functions (#8857 )
* test: repair unit test following change to exception message upon key error during auth request (#8857 )
2025-01-26 15:23:39 +01:00
Alexei Znamensky
aac7199087
(abc*, doc frags): style adjustments ( #9534 )
2025-01-06 21:50:53 +01:00
Alexei Znamensky
39deb81514
clc_*: create doc fragment ( #9497 )
...
* clc_*: create doc fragment
* add BOTMETA entry
* add doc frag itself
* add empty options dict to doc frag
* fix BOTMETA entry
* fix BOTMETA entry
* move author back to module
2025-01-01 09:14:44 +01:00
Philippe Duveau
01244237a1
Optimize ldap modules auth note in a doc fragment ( #9486 )
...
Optimize ldap auth doc fragment
2024-12-30 23:39:41 +01:00
Alexei Znamensky
6748ec3993
remove extraneous doc fragments ( #9433 )
2024-12-28 00:03:25 +01:00
Alexei Znamensky
0afd3386d1
[m-z]*.py: normalize doc_fragments ( #9423 )
2024-12-27 14:37:39 +01:00
Alexei Znamensky
ed092956ba
[a-n]*.py: normalize doc_fragments ( #9422 )
...
* [a-n]*.py: normalize doc_fragments
* Update plugins/doc_fragments/ldap.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/doc_fragments/ldap.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-27 14:30:17 +01:00
Chris Northwood
28f36ae25c
Add action group for keycloak ( #9284 )
...
* Create group for keycloak
This will allows keycloak authentication details to be set as a module_defaults rather than repeated on each task
* add documentation to keycloak modules to note creation of action_group
* add changelog for keycloak action_group creation
* exclude keycloak_realm_info from action group, as it does not share same set of base parameters
* fix formatting on changelog entry for adding Keycloak action group
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-23 18:51:34 +01:00
Alexei Znamensky
5b4f41748d
Update docs with references to man pages ( #8983 )
...
* update docs with references to man pages
* reformat module docs
* gconftool2/_info: docs adjustments
2024-10-07 22:00:26 +02:00
Alexei Znamensky
e4472b322b
pipx/pipx_info: refactor doc fragment ( #8859 )
...
* pipx/pipx_info: refactor doc fragment
* pipx/pipx_info: refactor common options to module_utils
2024-09-14 09:27:12 +02:00
Matthieu Bourgain
52126b8fae
Add TLS certs params to redis ( #8654 )
...
* add tls params to redis
* add PR number
* add example
* move doc to redis fragment
* Update changelogs/fragments/8654-add-redis-tls-params.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* rm aliases and add version_added
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-07-23 18:01:37 +02:00
Thomas Gouverneur
d2d7deb4ec
#8440 Allow for API Port to be specified when using proxmox_kvm ( #8441 )
...
* added api_port
* added changelog fragments for #8440
* api_port minor changes
- Added documentation on api_port
- Fixed multiple spaces after operator
- Switched from str to int
* Update changelogs/fragments/8440-allow-api-port-specification.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update changelogs/fragments/8440-allow-api-port-specification.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/doc_fragments/proxmox.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/doc_fragments/proxmox.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-06-08 14:04:59 +02:00
Alexei Znamensky
54df0c9b3a
django_createcachetable: new module ( #8412 )
...
* django_createcachetabe: new module
* add --noinput arg to testcase
* add module to BOTMETA
* rename module class name
* fix examples documentation
* remove unused config
* adjust version_added
2024-06-01 22:45:17 +02:00
Alexei Znamensky
1ac94b5f44
Initial commit for django modutils and django_command module ( #8349 )
...
* Initial commit for django modutils and django_command module
* Fixed sanity, param settings required
* add stdout, stderr and cmd to django module output
* add examples and return docs to djando_command module
* multiple minor adjustments
* fix typo
* Update plugins/modules/django_command.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/django_command.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/django_command.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* move note to seealso
* add xfailing test
* Update plugins/doc_fragments/django.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/doc_fragments/django.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-05-15 18:51:42 +02:00
Felix Fontein
7dd7cbdba8
Add proxmox action group ( #8334 )
...
Add proxmox module defaults group.
2024-05-12 10:03:06 +02:00
Felix Fontein
7f4f066e86
Move version_added for consul docs fragment to modules ( #8350 )
...
Move version_added for consul docs fragment to modules.
2024-05-12 10:02:06 +02:00
Felix Fontein
be3b66c8b5
[9.0.0] Remove deprecated modules and features ( #8198 )
...
* Remove deprecated modules.
* Update BOTMETA.
* Update ignore.txt files.
* Bump collection version to 9.0.0.
* Change timeout from 10 to 60.
* Remove the alias autosubscribe of auto_attach.
* Change default of mode from compatibility to new.
* Remove deprecated classes.
* Remove mh.mixins.deps.DependencyMixin.
* Remove flowdock module.
* Remove proxmox_default_behavior option.
* Remove ack_* options.
* Remove deprecated command support.
* Change virtualenv behavior.
* Fix changelog.
* Remove imports of deprecated (and now removed) code.
* Fix tests.
* Fix sanity tests.
* Require Django 4.1.
* Use V() instead of C() for values.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* django_manage: improve docs for release 9.0.0
* markup
* fix doc notes in cpanm
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Alexei Znamensky <russoz@gmail.com>
2024-04-22 18:28:22 +02:00
Florian Apolloner
afd1988810
Consul action group ( #7897 )
...
Added action group for new style consul modules.
2024-01-27 10:58:41 +01:00
Florian Apolloner
29f9865497
Add new consul modules and reuse code between them. ( #7878 )
...
Refactored consul modules and added new roles.
2024-01-27 10:22:44 +01:00
Florian Apolloner
44679e71a2
Refactor of consul modules ( #7826 )
...
* Extract common functionality.
* Refactor duplicated code into module_utils.
* Fixed ansible-test issues.
* Address review comments.
* Revert changes to consul_acl.
It uses deprecated APIs disabled since Consul 1.11 (which is EOL), don't
bother updating the module anymore.
* Remove unused code.
* Merge token into default doc fragment.
* JSON all the way down.
* extract validation tests into custom file and prep for requests removal.
* Removed dependency on requests.
* Initial test for consul_kv.
* fixup license headers.
* Revert changes to consul.py since it utilizes python-consul.
* Disable the lookup test for now.
* Fix python 2.7 support.
* Address review comments.
* Address review comments.
* Addec changelog fragment.
* Mark ConsulModule as private.
2024-01-21 18:29:29 +01:00
Dov Benyomin Sohacheski
1fdbb50abb
🔐 Load OP_SERVICE_ACCOUNT_TOKEN
from ENVs ( #7721 )
...
* 🔐 Load `OP_SERVICE_ACCOUNT_TOKEN` from ENVs
* 🚚 Move configuration to `doc_fragments`
* 📝 Add `env` to documentation
* Revert change
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-21 13:09:56 +01:00
Sam Doran
e0346d400f
Add onepassword_doc lookup plugin ( #7490 )
...
* Add onepassword_doc lookup plugin
* Switch to a doc fragment
* Add unit test
* Update docs
* Move parameter validation to the OnePass object
This makes it built in for other lookup plugins using this class.
* Use kwargs for OnePass instantiation
There are enough parameters now that using them positionally can result in
odd behavior.
* Update tests
Correct conftest file name so fixtures are discovered and loaded correctly
Move constant so it doesn’t need to be imported
Add a patch since the parameter validation moved to part of the class init
* Use a lookup docs fragment
* Correct plugin description
2023-11-26 20:32:20 +01:00
Felix Fontein
a88f6f56c7
Clean up doc fragments a bit ( #7551 )
...
Clean up doc fragments a bit.
2023-11-22 09:13:33 +01:00
Léo GATELLIER
567c7d1839
feature(gitlab): add 'ca_path' option ( #7472 )
2023-11-05 12:20:36 +01: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
apecnascimento
714e06089e
Add nomad_job port parameter ( #7412 )
...
* Add nomad_job port parameter
* Add changelog frag
* Update doc frag
* Fix trailing whitespace
* Add port to nomad_info
* Update changelogs/fragments/7412-add-port-for-nomad-connection.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/doc_fragments/nomad.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Add space
* Remove trailing whitespace
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-10-25 08:48:18 +02:00
Alexei Znamensky
e5dc697887
proxmox module utils: better error msg when token fails with old proxmoxer ( #6839 )
...
* proxmox module utils: clear msg when token fails with old proxmoxer
* add changelog frag
* better way to determine version
2023-07-03 22:07:05 +02:00
Felix Fontein
7ae8cc9902
Semantic markup: use E() in more places ( #6699 )
...
Use semantic markup.
2023-06-15 09:29:30 +02:00
Gnonthgol
f3ecf4c7f8
ldap: Add client certificate support ( #6668 )
...
* Set up secure ldap server
* ldap: Added client cert options
Shamelessly copied from https://github.com/andrewshulgin/ldap_search
* Added tests for ldap client authentication
* Add changelog fragment
* Make sure the openssl commands work on older versions of openssl
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Remove aliases for new arguments
* Add required_together to ldap module declerations
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-06-15 07:19:29 +02: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
Reto Kupferschmid
512bf4b77f
ldap moduls: add optional ca_cert_file option ( #6185 )
...
* add ca_cert_file option
* fix pr url
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* update parameter name
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-22 07:39:58 +01:00
Reto Kupferschmid
d209466985
add xorder_discovery parameter ( #6109 )
...
* add xorder_discovery parameter
* fix regex raw string
* use dn logic from LdapGeneric
* Update documentation.
* Update changelog fragment.
* Improve if.
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-02-27 20:26:01 +01:00
Felix Fontein
0ef805699d
Add attributes to more modules (1/4) ( #5965 )
...
* Add attributes to more modules.
* Apply suggestions from code review.
Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
---------
Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
2023-02-20 17:29:14 +01:00
Felix Fontein
393f2d6153
Fix PLATFORM attributes docs fragment ( #5918 )
...
Fix PLATFORM attributes docs fragment.
2023-01-29 22:12:27 +01:00
Alexei Znamensky
f05f8bb49a
rax modules: deprecation ( #5752 )
...
* rax modules: deprecation
* add changelog fragment
* Update plugins/doc_fragments/rackspace.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* add comment go sanity ignore files
* changelog: fix typo + add rax module utils
* add module utils and doc fragment to runtime.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-01-14 18:39:05 +01:00
Felix Fontein
3985ade3fc
Add PLATFORM docs fragment ( #5837 )
...
Add PLATFORM docs fragment.
2023-01-14 17:35:01 +00:00
bluikko
08b0ea700d
ldap.py: capitalize one letter ( #5833 )
2023-01-14 18:05:22 +01:00
Felix Fontein
ac6ac73276
Document attributes (_info and _facts modules for now) ( #5481 )
...
* Add attributes docs fragment.
* Use attributes for _info and _facts modules.
2022-11-06 21:16:43 +01:00