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 -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a9d15d47-359d-4422-b5da-135b0c5ab6a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
