community.general.oneline callback – One-line Ansible screen output

Note

This callback plugin is part of the community.general collection (version 14.0.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install community.general.

To use it in a playbook, specify: community.general.oneline.

New in community.general 13.4.0

Callback plugin

This plugin is a stdout callback. You can use only use one stdout callback at a time. Additional aggregate or notification callbacks can be enabled though. See Callback plugins for more information on callback plugins.

Synopsis

  • This is a copy of ansible-core’s ansible.builtin.oneline callback plugin, which has been deprecated in ansible-core 2.19 and will be removed from ansible-core 2.23.

Examples

---
# Enable callback in ansible.cfg:
ansible_config: |-
  [defaults]
  stdout_callback = community.general.oneline