diff --git a/lib/ansible/constants.py b/lib/ansible/constants.py index 1e5445372f..744b67f63c 100644 --- a/lib/ansible/constants.py +++ b/lib/ansible/constants.py @@ -86,12 +86,12 @@ DEFAULT_SUDO_PASS = None DEFAULT_REMOTE_PASS = None DEFAULT_SUBSET = None DEFAULT_SU_PASS = None -IGNORE_FILES = ["COPYING", "CONTRIBUTING", "LICENSE", "README", "VERSION", "GUIDELINES"] # ignore during module search -INTERNAL_RESULT_KEYS = ['add_host', 'add_group'] -LOCALHOST = frozenset(['127.0.0.1', 'localhost', '::1']) -MODULE_REQUIRE_ARGS = ['command', 'win_command', 'shell', 'win_shell', 'raw', 'script'] -MODULE_NO_JSON = ['command', 'win_command', 'shell', 'win_shell', 'raw'] -RESTRICTED_RESULT_KEYS = ['ansible_rsync_path', 'ansible_playbook_python'] +IGNORE_FILES = ("COPYING", "CONTRIBUTING", "LICENSE", "README", "VERSION", "GUIDELINES") # ignore during module search +INTERNAL_RESULT_KEYS = ('add_host', 'add_group') +LOCALHOST = ('127.0.0.1', 'localhost', '::1') +MODULE_REQUIRE_ARGS = ('command', 'win_command', 'shell', 'win_shell', 'raw', 'script') +MODULE_NO_JSON = ('command', 'win_command', 'shell', 'win_shell', 'raw') +RESTRICTED_RESULT_KEYS = ('ansible_rsync_path', 'ansible_playbook_python') TREE_DIR = None VAULT_VERSION_MIN = 1.0 VAULT_VERSION_MAX = 1.0