mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-08 19:50:30 -07:00
1085 updating the hcl whitelist to include all supported options (#2495)
* 1085 updating the hcl whitelist to include all supported options * Update changelogs/fragments/1085-consul-acl-hcl-whitelist-update.yml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Dillon Gilmore <dgilmor@rei.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
c8f402806f
commit
5b77515308
2 changed files with 20 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- consul_acl - update the hcl allowlist to include all supported options (https://github.com/ansible-collections/community.general/pull/2495).
|
|
@ -189,7 +189,24 @@ from collections import defaultdict
|
||||||
from ansible.module_utils.basic import to_text, AnsibleModule
|
from ansible.module_utils.basic import to_text, AnsibleModule
|
||||||
|
|
||||||
|
|
||||||
RULE_SCOPES = ["agent", "event", "key", "keyring", "node", "operator", "query", "service", "session"]
|
RULE_SCOPES = [
|
||||||
|
"agent",
|
||||||
|
"agent_prefix",
|
||||||
|
"event",
|
||||||
|
"event_prefix",
|
||||||
|
"key",
|
||||||
|
"key_prefix",
|
||||||
|
"keyring",
|
||||||
|
"node",
|
||||||
|
"node_prefix",
|
||||||
|
"operator",
|
||||||
|
"query",
|
||||||
|
"query_prefix",
|
||||||
|
"service",
|
||||||
|
"service_prefix",
|
||||||
|
"session",
|
||||||
|
"session_prefix",
|
||||||
|
]
|
||||||
|
|
||||||
MANAGEMENT_PARAMETER_NAME = "mgmt_token"
|
MANAGEMENT_PARAMETER_NAME = "mgmt_token"
|
||||||
HOST_PARAMETER_NAME = "host"
|
HOST_PARAMETER_NAME = "host"
|
||||||
|
|
Loading…
Add table
Reference in a new issue