Metadata-Version: 1.1
Name: mistral-ansible-actions
Version: 0.2.2
Summary: A Mistral action to execute Ansible playbooks
Home-page: https://github.com/d0ugal/mistral-ansible-actions
Author: Dougal Matthews
Author-email: dougal@redhat.com
License: Apache-2
Description: Mistral Actions for Ansible
        ---------------------------
        
        Note: This project is experimental and in infancy. It might work for you.
        
        However, given interested users and the time I'd like to make it stable and
        useful - so input and help is very welcome!
        
        
        Install
        ~~~~~~~
        
        The actions can be installed via pip, then we need to tell Mistral about them
        and restart Mistral::
        
            pip install mistral-ansible-actions;
            sudo mistral-db-manage populate;
            systemctrl restart openstack-mistral*;
        
        
        Usage
        -----
        
        Calling ansible::
        
            action: ansible
            input:
              hosts: '*'
              module: copy
              module_args: 'src=file.txt dest=/root/file.txt'
              remote_user: stack
              become: true
              become_user: root
        
        Call ansible playbook::
        
            action: ansible-playbook
            input:
              limit_hosts: overcloud-controller-0
              playbook: /home/stack/ansible/my_playbook.yaml
              remote_user: stack
              become: true
              become_user: root
        
        
        Plans/Ideas
        -----------
        
        - We only support a subset of args ansible and ansible-playbook commands,
          more should be exposed. Maybe we can automatically add them all somehow?
        
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet
Classifier: Topic :: Utilities
