Richer output for ansible-playbook
, using Rich by Will McGugan.
Install moreati.rich
ansible-galaxy collection install "moreati.rich"
Install Ansible and Rich
python3 -m pip install "ansible>=2.10" "rich"
Try it
ANSIBLE_STDOUT_CALLBACK=moreati.rich.rich ansible-playbook moreati.rich.demo
Configure the callback in ansible.cfg
[defaults]
stdout_callback=moreati.rich.rich
moreati.rich requires (on your Ansible controller)
- Ansible 2.10+
- Python 3.6+
- Rich
MIT, see LICENSE file.