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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
galaxy-updater-0.2.1.tar.gz
(15.5 kB
view hashes)
Built Distribution
Close
Hashes for galaxy_updater-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6c0964cf675ee4a9381de6ec57ad0ec97c0744505292f82ae825c13dadc4804 |
|
MD5 | af5061301a637d5c8faf439a8d3a2d66 |
|
BLAKE2b-256 | 4d9108392f69f2df086da917c074ea60d542b5684373391d57e0bab8e7868f32 |