[PR #7878/29f98654 backport][stable-8] Add new consul modules and reuse code between them. (#7902)

Add new consul modules and reuse code between them. (#7878)

Refactored consul modules and added new roles.

(cherry picked from commit 29f9865497)

Co-authored-by: Florian Apolloner <florian@apolloner.eu>
This commit is contained in:
patchback[bot]
2024-01-27 10:33:33 +01:00
committed by GitHub
parent 1ee2bba140
commit 0a904d60cd
17 changed files with 1508 additions and 568 deletions

View File

@@ -5,6 +5,7 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type
@@ -33,12 +34,16 @@ options:
description:
- Whether to verify the TLS certificate of the consul agent.
default: true
token:
description:
- The token to use for authorization.
type: str
ca_path:
description:
- The CA bundle to use for https connections
type: str
"""
TOKEN = r"""
options:
token:
description:
- The token to use for authorization.
type: str
"""