mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
lists => frozenset as we're only using them in membership checks
This commit is contained in:
parent
161eb6d30d
commit
920b71984e
2 changed files with 4 additions and 4 deletions
|
@ -43,13 +43,13 @@ class Play(object):
|
|||
|
||||
# to catch typos and so forth -- these are userland names
|
||||
# and don't line up 1:1 with how they are stored
|
||||
VALID_KEYS = [
|
||||
VALID_KEYS = frozenset((
|
||||
'hosts', 'name', 'vars', 'vars_prompt', 'vars_files',
|
||||
'tasks', 'handlers', 'remote_user', 'user', 'port', 'include', 'accelerate', 'accelerate_port', 'accelerate_ipv6',
|
||||
'sudo', 'sudo_user', 'connection', 'tags', 'gather_facts', 'serial',
|
||||
'any_errors_fatal', 'roles', 'role_names', 'pre_tasks', 'post_tasks', 'max_fail_percentage',
|
||||
'su', 'su_user', 'vault_password', 'no_log', 'environment',
|
||||
]
|
||||
))
|
||||
|
||||
# *************************************************
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue