1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/module_utils
patchback[bot] edd4637b9f
[PR #6972/d0f229f5 backport][stable-7] Add consul_role module from domant PR (#7282)
Add consul_role module from domant PR (#6972)

* Update as per PR comments

* Move common code to module_utils

* Break up long import line

* Fix pipeline errors

* Inital version of check_mode support

* Fix updating a role, add tests

* Fix line spacing

* Fix line indentation

* Add consul-role tests

* Fixes for role update

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update as per MR comments

* Update as per MR comments

* Fix documentation issues

* Add types for sub-options

* Allow setting of policy, service and node id fields by specifying a value, or leaving them unchanged by omitting them

* Fix typo in test

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* Reset and force push to get rid of merge

* Corrected unit tests

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* Add suboptions documentation for node and service identities

* Fix PEP errors from pipeline

* Fix pipeline errors.

* Fix more pipeline errors

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* Fix line that is too long

* Not specifying a value for description during update now leaves existing value unchanged

* Fixes for pipeline errors

* Add test cases to verify handling description works

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit d0f229f5d8)

Co-authored-by: Valerio Poggi <106782233+valeriopoggi@users.noreply.github.com>
2023-09-17 14:51:07 +02:00
..
identity/keycloak [PR #7067/e7a6412e backport][stable-7] Fix KeycloakAPI's missing http_agent, timeout, and validate_certs open_url() parameters (#7088) 2023-08-11 13:39:46 +02:00
mh [PR #6649/994f08b3 backport][stable-7] MH VarsMixin deprecation (#6656) 2023-06-09 17:13:18 +02:00
net_tools/pritunl [PR #7161/a23cd6c1 backport][stable-7] Update incorrect path for pritunl organization post (#7214) 2023-09-06 22:06:16 +02:00
oracle [PR #7125/77214203 backport][stable-7] Fix inappropriate comparison on the length of a Collection (#7147) 2023-08-23 06:14:03 +02:00
remote_management/lxca Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
source_control Remove deprecated features, bump version to 6.0.0 (#5326) 2022-10-25 08:07:21 +02:00
storage Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00
_filelock.py passwordstore plugin: vendor FileLock that was removed from ansible-core devel (#6447) 2023-04-28 12:08:45 +02:00
_mount.py Add remaining copyright statements, add licenses sanity test (#5098) 2022-08-08 23:23:08 +02:00
_stormssh.py Removes dependency on StormSSH (#6117) 2023-03-12 12:39:42 +01:00
alicloud_ecs.py multiple modules: removed unused imports (#5240) 2022-09-09 22:23:48 +02:00
btrfs.py New modules btrfs_subvolume / btrfs_info (#5832) 2023-04-20 06:35:29 +02:00
cloud.py Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00
cmd_runner.py [PR #7200/8fa667ee backport][stable-7] CmdRunner bugfix (#7228) 2023-09-10 09:00:14 +02:00
consul.py [PR #6972/d0f229f5 backport][stable-7] Add consul_role module from domant PR (#7282) 2023-09-17 14:51:07 +02:00
csv.py [PR #6662/bb216934 backport][stable-7] csv module utils: detect unicode BOM in content (#6695) 2023-06-15 08:42:27 +02:00
database.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
deps.py deps module util: fix overzealous name cropping (#6479) 2023-05-04 19:50:39 +12:00
dimensiondata.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
gandi_livedns_api.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
gconftool2.py gconftool2: refactored to use ModuleHelper + CmdRunner (#5545) 2022-11-15 21:02:45 +01:00
gitlab.py [PR #7132/e7d8ef4c backport][stable-7] gitlab_project_variable/gitlab_group_variable: Add support for 'raw' option (#7166) 2023-08-29 13:05:58 +02:00
heroku.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
hwc_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ibm_sa_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ilo_redfish_utils.py Adding CheckiLORebootStatus functionality to ilo_redfish_command (#6115) 2023-04-16 13:06:12 +02:00
influxdb.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
ipa.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
jenkins.py jenkins_plugin: fix sanity checks (#5565) 2022-11-17 06:55:46 +01:00
known_hosts.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
ldap.py [PR #6668/f3ecf4c7 backport][stable-7] ldap: Add client certificate support (#6696) 2023-06-15 08:42:42 +02:00
linode.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
locale_gen.py [PR #6820/601fa0df backport][stable-7] locale_gen: refactor module to use CmdRunner (#6867) 2023-07-06 21:38:59 +02:00
lxd.py lxd plugins and modules: fix TLS/SSL context creation (#6034) 2023-02-25 11:01:32 +01:00
manageiq.py manageiq_tags_info: new module (#5368) 2022-10-23 11:33:07 +02:00
memset.py memset*.py: Fixed URLError handling (#6114) 2023-03-08 07:54:36 +01:00
module_helper.py ModuleHelper: updated/fixed imports in module_utils/module_helper.py (#6464) 2023-05-02 20:48:46 +02:00
ocapi_utils.py Remote management modules for OCAPI-based devices. (#5754) 2023-01-22 17:10:36 +01:00
oneandone.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
onepassword.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
oneview.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
online.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
opennebula.py one_vm: fix syntax error when creating VMs with a more complex template (#6294) 2023-04-16 13:22:49 +02:00
pipx.py pipx: Add support for system_site_packages (#6308) 2023-04-10 09:10:32 +02:00
proxmox.py [PR #6980/796ad356 backport][stable-7] [proxmox] Use proxmoxer_version instead of server API version (#6982) 2023-07-21 17:03:41 +02:00
puppet.py puppet: fix noop parameter error (#6458) 2023-05-03 22:45:01 +02:00
pure.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
rax.py rax_scaling_group: fix sanity check (#5563) 2022-11-16 21:58:55 +01:00
redfish_utils.py [PR #7140/5fcb98cd backport][stable-7] redfish_info: Report Id in GetManagerInventory output (#7153) 2023-08-25 21:07:09 +02:00
redhat.py [PR #6663/78c42def backport][stable-7] Deprecate module_utils.redhat (#6666) 2023-06-10 14:59:48 +02:00
redis.py Fix linting errors; fix some real bugs (#5111) 2022-08-12 11:07:30 +02:00
rundeck.py [PR #6983/a942545d backport][stable-7] Rundeck - fix TypeError on 404 api response (#7041) 2023-07-31 15:44:55 +02:00
saslprep.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
scaleway.py scaleway module utils: make function private that should be removed (#5499) 2023-01-18 21:32:40 +01:00
snap.py [PR #6908/ea6fb9da backport][stable-7] snap: add param "dangerous" (#6944) 2023-07-15 16:28:00 +02:00
ssh.py ssh_config: fixed sanity (#5720) 2022-12-22 21:34:21 +01:00
univention_umc.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
utm_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
vardict.py [PR #6602/59db302d backport][stable-7] VarDict module utils: add as_dict() method (#6610) 2023-05-31 08:32:10 +02:00
version.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
vexata.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
wdc_redfish_utils.py WDC Redfish support for setting the power mode. (#5145) 2022-09-03 12:45:03 +02:00
xenserver.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
xfconf.py Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00