Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Retrieve the latest versions for all of your ansible-galaxy role dependencies.

Project Description

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
- src: yatesr.timezone
- src: carlosbuenosvinos.ansistrano-deploy
  version: 1.4.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
yatesr.timezone: None -> 1.0.0
carlosbuenosvinos.ansistrano-deploy: 1.4.0 -> 1.10.0

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
yatesr.timezone: None -> 1.0.0
carlosbuenosvinos.ansistrano-deploy: 1.4.0 -> 1.10.0

Use –yolo to leave unpinned dependencies unpinned:

$ galaxy-updater --yolo sample_requirements.yml
ansible-role-mysql: 1.9.0 -> 1.9.1
ansible-role-php: 1.5.0 -> 1.7.3
carlosbuenosvinos.ansistrano-deploy: 1.4.0 -> 1.10.0

History

0.4.0 (2016-09-01)

  • Add support for galaxy style roles (user.rolename)

0.3.0 (2016-04-08)

  • Add support for –include and –exclude options

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
Release History

Release History

This version
History Node

0.4.0

History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
galaxy_updater-0.4.0-py2.py3-none-any.whl (6.2 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Sep 2, 2016
galaxy-updater-0.4.0.tar.gz (16.5 kB) Copy SHA256 Checksum SHA256 Source Sep 2, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting