salt.modules.ansiblegate

Ansible Support

This module can have an optional minion-level configuration in /etc/salt/minion.d/ as follows:

ansible_timeout: 1200

The timeout is how many seconds Salt should wait for any Ansible module to respond.

class salt.modules.ansiblegate.AnsibleModuleCaller(resolver)
DEFAULT_TIMEOUT = 1200
OPT_TIMEOUT_KEY = u'ansible_timeout'
call(module, *args, **kwargs)

Call an Ansible module by invoking it. :param module: the name of the module. :param args: Arguments to the module :param kwargs: keywords to the module :return:

class salt.modules.ansiblegate.AnsibleModuleResolver(opts)

This class is to resolve all available modules in Ansible.

get_modules_list(pattern=None)

Return module map references. :return:

install()
load_module(module)

Introspect Ansible module.

Parameters:module --
Returns:
resolve()
salt.modules.ansiblegate.help(module=None, *args)

Display help on Ansible standard module.

Parameters:module --
Returns:
salt.modules.ansiblegate.list(pattern=None)

Lists available modules. :return: