mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
We can create a frozenset from a tuple
No need to create an intermediate set.
This commit is contained in:
parent
96a6011b3f
commit
688ffa4cee
1 changed files with 3 additions and 3 deletions
|
@ -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(
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue