ansible  2.9.27
About: Ansible is an IT Configuration Management, Deployment \
About: Ansible (2.x) is an IT Configuration Management, Deployment & Orchestration tool.
ansible download page.
  Fossies Dox: ansible-2.9.27.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

constants.py File Reference

Go to the source code of this file.

Classes

class  ansible.constants._DeprecatedSequenceConstant
 

Namespaces

namespace  ansible
 
namespace  ansible.constants
 

Functions

def ansible.constants._warning (msg)
 
def ansible.constants._deprecated (msg, version='2.8')
 
def ansible.constants.mk_boolean (value)
 
def ansible.constants.get_config (parser, section, key, env_var, default_value, value_type=None, expand_relative_paths=False)
 
def ansible.constants.set_constant (name, value, export=vars())
 

Variables

 ansible.constants.__metaclass__ = type
 
 ansible.constants.BECOME_METHODS
 
tuple ansible.constants.BLACKLIST_EXTS = ('.pyc', '.pyo', '.swp', '.bak', '~', '.rpm', '.md', '.txt', '.rst')
 
 ansible.constants.BOOL_TRUE = BOOLEANS_TRUE
 
 ansible.constants.DEFAULT_BECOME_PASS = None
 
 ansible.constants.DEFAULT_PASSWORD_CHARS = to_text(ascii_letters + digits + ".,:-_", errors='strict')
 
 ansible.constants.DEFAULT_REMOTE_PASS = None
 
 ansible.constants.DEFAULT_SUBSET = None
 
tuple ansible.constants.CONFIGURABLE_PLUGINS = ('become', 'cache', 'callback', 'cliconf', 'connection', 'httpapi', 'inventory', 'lookup', 'netconf', 'shell')
 
tuple ansible.constants.DOCUMENTABLE_PLUGINS = CONFIGURABLE_PLUGINS + ('module', 'strategy', 'vars')
 
tuple ansible.constants.IGNORE_FILES = ("COPYING", "CONTRIBUTING", "LICENSE", "README", "VERSION", "GUIDELINES")
 
tuple ansible.constants.INTERNAL_RESULT_KEYS = ('add_host', 'add_group')
 
tuple ansible.constants.LOCALHOST = ('127.0.0.1', 'localhost', '::1')
 
 ansible.constants.MODULE_REQUIRE_ARGS = tuple(add_internal_fqcns(('command', 'win_command', 'shell', 'win_shell', 'raw', 'script')))
 
 ansible.constants.MODULE_NO_JSON = tuple(add_internal_fqcns(('command', 'win_command', 'shell', 'win_shell', 'raw')))
 
tuple ansible.constants.RESTRICTED_RESULT_KEYS = ('ansible_rsync_path', 'ansible_playbook_python', 'ansible_facts')
 
 ansible.constants.TREE_DIR = None
 
float ansible.constants.VAULT_VERSION_MIN = 1.0
 
float ansible.constants.VAULT_VERSION_MAX = 1.0
 
 ansible.constants.INVALID_VARIABLE_NAMES = re.compile(r'^[\d\W]|[^\w]')
 
 ansible.constants.COMMON_CONNECTION_VARS
 
 ansible.constants.MAGIC_VARIABLE_MAPPING
 
 ansible.constants.config = ConfigManager()
 
 ansible.constants.value = setting.value
 
 ansible.constants.t = Template(setting.value)
 
 ansible.constants._ACTION_DEBUG = add_internal_fqcns(('debug', ))
 
 ansible.constants._ACTION_IMPORT_PLAYBOOK = add_internal_fqcns(('import_playbook', ))
 
 ansible.constants._ACTION_IMPORT_ROLE = add_internal_fqcns(('import_role', ))
 
 ansible.constants._ACTION_IMPORT_TASKS = add_internal_fqcns(('import_tasks', ))
 
 ansible.constants._ACTION_INCLUDE = add_internal_fqcns(('include', ))
 
 ansible.constants._ACTION_INCLUDE_ROLE = add_internal_fqcns(('include_role', ))
 
 ansible.constants._ACTION_INCLUDE_TASKS = add_internal_fqcns(('include_tasks', ))
 
 ansible.constants._ACTION_INCLUDE_VARS = add_internal_fqcns(('include_vars', ))
 
 ansible.constants._ACTION_META = add_internal_fqcns(('meta', ))
 
 ansible.constants._ACTION_SET_FACT = add_internal_fqcns(('set_fact', ))
 
 ansible.constants._ACTION_SETUP = add_internal_fqcns(('setup', ))
 
 ansible.constants._ACTION_HAS_CMD = add_internal_fqcns(('command', 'shell', 'script'))
 
 ansible.constants._ACTION_ALLOWS_RAW_ARGS = _ACTION_HAS_CMD + add_internal_fqcns(('raw', ))
 
 ansible.constants._ACTION_ALL_INCLUDES = _ACTION_INCLUDE + _ACTION_INCLUDE_TASKS + _ACTION_INCLUDE_ROLE
 
 ansible.constants._ACTION_ALL_IMPORT_PLAYBOOKS = _ACTION_INCLUDE + _ACTION_IMPORT_PLAYBOOK
 
 ansible.constants._ACTION_ALL_INCLUDE_IMPORT_TASKS = _ACTION_INCLUDE + _ACTION_INCLUDE_TASKS + _ACTION_IMPORT_TASKS
 
 ansible.constants._ACTION_ALL_PROPER_INCLUDE_IMPORT_ROLES = _ACTION_INCLUDE_ROLE + _ACTION_IMPORT_ROLE
 
 ansible.constants._ACTION_ALL_PROPER_INCLUDE_IMPORT_TASKS = _ACTION_INCLUDE_TASKS + _ACTION_IMPORT_TASKS
 
 ansible.constants._ACTION_ALL_INCLUDE_ROLE_TASKS = _ACTION_INCLUDE_ROLE + _ACTION_INCLUDE_TASKS
 
 ansible.constants._ACTION_ALL_INCLUDE_TASKS = _ACTION_INCLUDE + _ACTION_INCLUDE_TASKS
 
 ansible.constants._ACTION_FACT_GATHERING = _ACTION_SETUP + add_internal_fqcns(('gather_facts', ))
 
 ansible.constants._ACTION_WITH_CLEAN_FACTS = _ACTION_SET_FACT + _ACTION_INCLUDE_VARS