mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
We can create a frozenset from a tuple
No need to create an intermediate set.
This commit is contained in:
@@ -123,9 +123,9 @@ VAULT_VERSION_MAX = 1.0
|
|||||||
# object. The dictionary values are tuples, to account for aliases
|
# object. The dictionary values are tuples, to account for aliases
|
||||||
# in variable names.
|
# in variable names.
|
||||||
|
|
||||||
COMMON_CONNECTION_VARS = frozenset(set(('ansible_connection', 'ansible_host', 'ansible_user', 'ansible_shell_executable',
|
COMMON_CONNECTION_VARS = frozenset(('ansible_connection', 'ansible_host', 'ansible_user', 'ansible_shell_executable',
|
||||||
'ansible_port', 'ansible_pipelining', 'ansible_password', 'ansible_timeout',
|
'ansible_port', 'ansible_pipelining', 'ansible_password', 'ansible_timeout',
|
||||||
'ansible_shell_type', 'ansible_module_compression', 'ansible_private_key_file')))
|
'ansible_shell_type', 'ansible_module_compression', 'ansible_private_key_file'))
|
||||||
|
|
||||||
MAGIC_VARIABLE_MAPPING = dict(
|
MAGIC_VARIABLE_MAPPING = dict(
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user