Ansible 2.1 not logging commands

44 views
Skip to first unread message

John G

unread,
Jun 15, 2016, 1:58:36 PM6/15/16
to Ansible Project
Hi,

With Ansible 2.1 the commands are not being logged to the ansible.log file. With ansible 1.9.4 the commands are logged. Is there a setting or a callback plugin to check?

System with ansible 1.9.4, rpm ansible-1.9.4-1.el7.noarch.
2016-06-15 13:33:53,312 p=6786 u=root |  
2016-06-15 13:33:53,312 p=6786 u=root |  /bin/ansible-playbook ping.yml -i inv/qa/hosts_ansible_testing --check
2016-06-15 13:33:53,312 p=6786 u=root |  
2016-06-15 13:33:59,919 p=6786 u=root |  PLAY [all] ********************************************************************
2016-06-15 13:33:59,921 p=6786 u=root |  TASK: [Ping systems] **********************************************************

System with ansible 2.1.0.0, rpm ansible-2.1.0.0-1.el7.noarch.
2016-06-15 13:34:07,646 p=5690 u=root |  [DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default).
This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
2016-06-15 13:34:07,817 p=5690 u=root |  PLAY [all] *********************************************************************
2016-06-15 13:34:07,923 p=5690 u=root |  TASK [Ping systems] ************************************************************

Thanks,
John
Reply all
Reply to author
Forward
0 new messages