gilt¶
gilt - A GIT layering tool.
Quick Start¶
Install gilt using pip:
$ pip install gilt-python
Overlay remote repositories and/or files into the destinations provided.
$ gilt --debug overlay
Documentation¶
License¶
MIT
The logo is licensed under the Creative Commons NoDerivatives 4.0 License. If you have some other use in mind, contact us.
Usage:¶
Overlay a remote repository into the destination provided.
- git: https://github.com/retr0h/ansible-etcd.git
version: master
dst: roles/retr0h.ansible-etcd/
$ gilt overlay
Overlay files from a remote repository into the destinations provided.
- git: https://github.com/lorin/openstack-ansible-modules.git
version: master
files:
- src: "*_manage"
dst: library/
- src: nova_quota
dst: library/
- src: neutron_router
dst: library/neutron_router.py
$ gilt overlay
Overlay a directory from a remote repository into the destination provided.
- git: https://github.com/blueboxgroup/ursula.git
version: master
files:
- src: roles/logging
dst: roles/blueboxgroup.logging/
$ gilt overlay
Display the git commands being executed.
$ gilt --debug overlay
Use an alternate config file (default gilt.yml).
$ gilt --config /path/to/gilt.yml overlay
Molecule¶
Integrates with Molecule as an Ansible Galaxy CLI replacement. Update molecule.yml with the following.
---
dependency:
name: shell
command: gilt overlay
Testing¶
$ pip install tox
$ tox