Ansible content manager
Project description
Mazer
Ansible content manager
A new command-line tool for managing Ansible content.
Expect breaking changes!
Mazer is experimental, and currently only available for tech-preview. Use with lots of caution! It is not intended for use in production environments, nor is it currently intended to replace the ansible-galaxy command-line tool.
If you’re installing Ansible content in a production environment, or need assistance with Ansible, please visit the Ansible Project, or the Ansible docs site.
Proposed Features
Support repositories containing multiple roles. In other words, allow for multiple roles all in one repository.
Examples
Installing roles
To install geerlingguy.nginx via galaxy:
$ mazer install geerlingguy.nginx
See mazer github repo for more examples.
Installing Mazer
From source
The source code for mazer lives at https://github.com/ansible/mazer
$ git clone https://github.com/ansible/mazer.git $ cd mazer $ python setup.py install
Or install the requirements via pip:
$ pip install -r requirements.txt
Via pip (from git)
pip install -v git+ssh://git@github.com/ansible/mazer.git
Testing
unit testing
mazer uses pytest for unit tests.
test requirements
To install test requirements, use pip to install the requirements in requirements_test.txt:
pip install -r requirements_test.txt
To run unit tests via tox for default platforms (python 2.6, 2.7, 3.6):
$ tox
via ‘pytest’ directly:
$ pytest tests/
Prerequisites
When installing content from an Ansible Galaxy server, requires Galaxy v3.0+.
Roadmap
To see what we’re working on, and where we’re headed, view the roadmap.
Getting help
Issues welcome! If you find a bug, or have a feature idea, please let us know by opening an issue.
You can also reach out to us on irc.freenode.net in the #ansible-galaxy channel.
Origin of “Mazer”
The name Mazer comes from a character from Ender’s Game, Mazer Rackham, that Wikipedia describes as “the half-Māori captain who singlehandedly stopped the Second Invasion by realizing that the Buggers are a hive mind. Due to his inability to pass on his knowledge, he was forced to spend fifty years at relativistic speeds (eight years to Rackham) so that he could train the next commander — Ender Wiggin.”
A mazer is also a hardwood drinking vessel.
License
History
0.2.1 (2018-08-08)
Add ‘attrs’ dep to setup.py. Update requirements.txt to use setup.py requires.
Add the default logging config to Manifest.in so logging is setup correctly on pip install. Fixes https://github.com/ansible/mazer/issues/114
Fix install if a role name is substring of another role Fixes https://github.com/ansible/mazer/issues/112
Create and send a X-Request-ID on http requests.
0.2.0 (2018-07-26)
Support new ~/.ansible/content/namespace/reponame/content_type/content_name layout
Create install receipts (.galaxy_install_info) on install of repos and roles
‘list’ and ‘info’ commands updated
Now requires and uses ‘attrs’ python module >=18.1.0
0.1.0 (2018-04-18)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mazer-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64e5d7436f42720d64caea8ec9b137a0a877cca12c6ebcf704e9ffb58e8ce2fd |
|
MD5 | 22012772bf2266438c4e307989fbbd21 |
|
BLAKE2b-256 | 45b1412e3f477acb4265ce330e3598c7ad5533ead61092740c39566ede58951f |