salt.states.ansiblegate

Execution of Ansible modules from within states

With ansible.call these states allow individual Ansible module calls to be made via states. To call an Ansible module function use a module.run state:

some_set_of_tasks:
  ansible:
    - system.ping
    - packaging.os.zypper
      - name: emacs
      - state: installed
class salt.states.ansiblegate.AnsibleState

Ansible state caller.

get_args(argset)

Get args and kwargs from the argset.

Parameters:argset
Returns:

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2018.3.3

Table of Contents

Previous topic

salt.states.alternatives

Next topic

salt.states.apache