https://github.com/newswangerd/collection_demo
A collection for demoing Ansible collecions
https://github.com/newswangerd/collection_demo
Last synced: 18 days ago
JSON representation
A collection for demoing Ansible collecions
- Host: GitHub
- URL: https://github.com/newswangerd/collection_demo
- Owner: newswangerd
- Created: 2019-04-30T19:15:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-22T14:22:34.000Z (almost 4 years ago)
- Last Synced: 2025-03-31T02:13:48.804Z (about 2 months ago)
- Language: Python
- Size: 529 KB
- Stars: 8
- Watchers: 3
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Collection Demo
This project is for showcasing distributing modules and roles via collections in Ansible 2.8.
To run this demo you need to:1. Install the latest version of mazer: `pip install mazer`.
2. Install or upgrade to the latest version of Ansible
3. Download the collection from galaxy: `mazer install newswangerd.collection_demo`Now you can either
- Execute the `real_facts` module using `ansible localhost -m newswangerd.collection_demo.real_facts`
or
- Download the `collections_in_playbooks.yaml` playbook from this repository.
- Run it using `ansible-playbook collections_in_playbooks.yaml`If that sounds like too much work, there's also a pre recorded demo using this
collection [available on YouTube](https://www.youtube.com/watch?v=d792W44I5KM).