Metadata-Version: 1.1
Name: ansible-vagrant
Version: 1.3.0
Summary: Simple helper to use ansible with vagrant
Home-page: https://github.com/michaelcontento/ansible-vagrant
Author: Michael Contento
Author-email: michaelcontento@gmail.com
License: GPLv3
Description: `ansible-vagrant <https://github.com/michaelcontento/ansible-vagrant>`__
        ========================================================================
        
        Tired of the rather limited ``vagrant provision`` with the
        `ansible <https://github.com/ansible/ansible>`__ provider? Tired of
        keeping your ``hosts`` file up to date?
        `ansible-vagrant <https://github.com/michaelcontento/ansible-vagrant>`__
        to the rescue!
        
        Usage
        -----
        
        ::
        
            $ pip install ansible-vagrant
            $ cd /path/to/project/with/a/vagrantfile
        
            $ ansible-vagrant-update-hosts
            $ cat hosts_vagrant
            [vagrant]
            vagrant  ansible_ssh_host=127.0.0.1  ansible_ssh_port=2222  ansible_ssh_use...
        
            $ ansible-vagrant all -m ping
            # Same as: ansible-vagrant-update-hosts \
            #          && ansible all --inventory=./hosts_vagrant -m ping
        
            $ ansible-playbook-vagrant playbook.yml
            # Same as: ansible-vagrant-update-hosts \
            #          && ansible-playbook --extra-vars="vagrant_host=true" \
            #                              --inventory=./hosts_vagrant playbook.yml
        
        Notes
        -----
        
        -  All ``*-vagrant`` commands use ``ANSIBLE_HOST_KEY_CHECKING=False`` to
           prevent errors with ``vagrant destroy && vagrant up``
        -  It's a good idea to put ``hosts_vagrant`` under ``.gitignore``
        -  ``ansible-playbook-vagrant`` adds a global variable named ``vagrant``
        -  Use ``when: vagrant_host is (not) defined`` to run stuff based on the
           current environment
        
        Shortcuts
        ---------
        
        -  ``ansiblev`` for ``ansible-vagrant``
        -  ``ansible-playbookv`` for ``ansible-playbook-vagrant``
        
        
Keywords: vagrant,ansible
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: System :: Clustering
Classifier: Topic :: System :: Software Distribution
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
