Callbacks_enabled not working

error when running playbook - [WARNING]: Skipping callback plugin ‘ansible.posix.profile_tasks’, unable to load

[defaults]
log_path = /var/log/ansible/ansible.log
inventory = /etc/ansible/hosts
interpreter_python=auto
forks = 50
host_key_checking = False
callbacks_enabled = ansible.posix.profile_tasks

any help would be appreciated

The configuration is correct but the error message indicates that you don’t have ansible.posix collection installed.

I presume you installed just ansible-core, it should be included in ansible package.

You can install the collection using:

ansible-galaxy collection install ansible.posix
1 Like