Metadata-Version: 2.0
Name: galaxy-updater
Version: 0.2.1
Summary: Retrieve the latest versions for all of your ansible-galaxy role dependencies.
Home-page: https://github.com/danrue/galaxy_updater
Author: Dan Rue
Author-email: drue@therub.org
License: BSD
Keywords: ansible-galaxy ansible galaxy requirements.yml
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: future
Requires-Dist: ruamel.yaml

===============================
Galaxy Updater
===============================

.. image:: https://img.shields.io/pypi/v/galaxy_updater.svg
        :target: https://pypi.python.org/pypi/galaxy_updater

.. image:: https://img.shields.io/travis/danrue/galaxy_updater.svg
        :target: https://travis-ci.org/danrue/galaxy_updater

Installation
------------

``pip install galaxy-updater``

Usage
-----

Given an example ansible-galaxy role file::

    $ cat sample_requirements.yml 
    ---
    - src: https://github.com/geerlingguy/ansible-role-mysql.git 
      name: ansible-role-mysql
      version: 1.9.0
    - src: https://github.com/geerlingguy/ansible-role-apache.git 
      name: ansible-role-apache
    - src: https://github.com/geerlingguy/ansible-role-jenkins.git 
      name: ansible-role-jenkins
      version: 1.2.8
    - src: https://github.com/geerlingguy/ansible-role-php.git 
      name: ansible-role-php
      version: 1.5.0

Find and print the latest version of each role listed in an ansible-galaxy role
file::

    $ galaxy-updater sample_requirements.yml 
    ansible-role-mysql: 1.9.0 -> 1.9.1
    ansible-role-apache: None -> 1.5.0
    ansible-role-php: 1.5.0 -> 1.7.3

Update the sample_requirements.yml file in place::

    $ galaxy-updater --inline sample_requirements.yml 
    ansible-role-mysql: 1.9.0 -> 1.9.1
    ansible-role-apache: None -> 1.5.0
    ansible-role-php: 1.5.0 -> 1.7.3

Use --yolo to leave unpinned dependencies unpinned::

    $ galaxy-updater --inline sample_requirements.yml 
    ansible-role-mysql: 1.9.0 -> 1.9.1
    ansible-role-php: 1.5.0 -> 1.7.3



=======
History
=======
0.2.0 (2016-04-07)
------------------

* Add --inline, --yolo, --version


0.1.3 (2016-01-15)
------------------

* First release - print out latest versions for each git role listed


