Using the callbacks.vv function dont show any messages when debuging an action module

18 views
Skip to first unread message

Jorge Monforte González

unread,
Aug 15, 2015, 9:47:00 AM8/15/15
to Ansible Project
Hi everybody.

Nice project, love.it 

By the way, I´ve been working months with ansible and I´m having trouble debugging an action module, I tried to call the vv function that is supossed to dump messages to the logger but they don´t appear in the screen.

I have been searching for hours for something that enables logging from the module but didn´t find any. 

Thanx in advance.

  Jorge

Brian Coca

unread,
Aug 15, 2015, 9:49:15 AM8/15/15
to Ansible Project
for vv to display output, you need to run ansible with -vv (for vvv
-vvv and so on), this will work for action plugins but not for task
plugins/modules/library as those only can return 1 output instance in
json format to ansible.



--
Brian Coca
Reply all
Reply to author
Forward
0 new messages