Configure Ansible plugins when Molecule runs #3418
Unanswered
pieter-venter
asked this question in
Q&A
Replies: 1 comment
-
You could do it using environment variables. export ANSIBLE_CALLBACK_WHITELIST=ansible.posix.profile_tasks
molecule test For some reason, the newer name Alternatively, the callbacks can be added in molecule's provisioner:
name: ansible
config_options:
defaults:
callbacks_enabled: ansible.posix.profile_tasks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my
ansible.cfg
file (in project directory, same as yaml file) I have a line that helps me keep track of how long each step takes, like this:When I run
molecule test
(I'm using a vagrant driver, if that matters), I do not get the time measurement/summary that theprofile_tasks
plugin provides.How do I configure Molecule's ansible to do the same?
Beta Was this translation helpful? Give feedback.
All reactions