https://github.com/moreati/ansible-rich
Experiments with Ansible callback plugins
https://github.com/moreati/ansible-rich
ansible ansible-collection python rich
Last synced: 2 months ago
JSON representation
Experiments with Ansible callback plugins
- Host: GitHub
- URL: https://github.com/moreati/ansible-rich
- Owner: moreati
- Created: 2020-07-28T20:26:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T23:45:01.000Z (over 2 years ago)
- Last Synced: 2025-02-12T08:10:10.974Z (4 months ago)
- Topics: ansible, ansible-collection, python, rich
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Collection - moreati.rich
Richer output for `ansible-playbook`, using [Rich] by [Will McGugan].
[](https://asciinema.org/a/vRIFoyfPNHDkOVGnUbEOeVTI2)
## Installing
Install moreati.rich
```sh
ansible-galaxy collection install "moreati.rich"
```Install Ansible and Rich
```sh
python3 -m pip install "ansible>=2.10" "rich"
```## Usage
Try it
```sh
ANSIBLE_STDOUT_CALLBACK=moreati.rich.rich ansible-playbook moreati.rich.demo
```Configure the callback in ansible.cfg
```ini
[defaults]
stdout_callback=moreati.rich.rich
```## Requirements
moreati.rich requires (on your Ansible controller)
- Ansible 2.10+
- Python 3.6+
- Rich## License
MIT, see LICENSE file.
[Rich]: https://github.com/Textualize/rich
[Will McGugan]: https://github.com/willmcgugan