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
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
..
action [PR #7102/55cfd27b backport][stable-7] freebsd: shutdown -p ... on freebsd to power off machine (#7112) 2023-08-14 21:19:16 +02:00
become [PR #6935/24feb1dd backport][stable-7] machinectl become plugin: mark as require_tty (#6942) 2023-07-15 16:27:26 +02:00
cache [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
callback [PR #7179/631d215f backport][stable-7] Add unixy support for check_mode_markers (#7201) 2023-09-03 18:17:29 +02:00
connection [PR #7099/bf728aad backport][stable-7] chroot: add disable_root_check option (#7111) 2023-08-14 19:19:05 +00:00
doc_fragments [PR #6839/e5dc6978 backport][stable-7] proxmox module utils: better error msg when token fails with old proxmoxer (#6846) 2023-07-03 22:57:39 +02:00
filter [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
inventory [PR #7184/0c03f34f backport][stable-7] plugins/inventory/cobbler: Add exclude/include_mgmt_classes (#7208) 2023-09-05 20:50:11 +02:00
lookup [PR #7241/1beb38ce backport][stable-7] Use get(..) instead of [..] for safe lookup of value (Fixes #7240) (#7258) 2023-09-13 06:24:22 +00:00
module_utils [PR #6972/d0f229f5 backport][stable-7] Add consul_role module from domant PR (#7282) 2023-09-17 14:51:07 +02:00
modules [PR #6972/d0f229f5 backport][stable-7] Add consul_role module from domant PR (#7282) 2023-09-17 14:51:07 +02:00
test Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00