Skip to content

Experiments with Ansible callback plugins

Notifications You must be signed in to change notification settings

moreati/ansible-rich

Repository files navigation

Ansible Collection - moreati.rich

Richer output for ansible-playbook, using Rich by Will McGugan.

Installing

Install moreati.rich

ansible-galaxy collection install "moreati.rich"

Install Ansible and Rich

python3 -m pip install "ansible>=2.10" "rich"

Usage

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

Requirements

moreati.rich requires (on your Ansible controller)

  • Ansible 2.10+
  • Python 3.6+
  • Rich

License

MIT, see LICENSE file.