mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Enhance references to logging functionality. Fixes #3431.
This commit is contained in:
parent
f081c68a65
commit
c69e19c6a6
3 changed files with 18 additions and 4 deletions
|
@ -274,7 +274,10 @@ the user running Ansible has permissions on the logfile.
|
|||
|
||||
log_path=/var/log/ansible.log
|
||||
|
||||
This behavior is not on by default.
|
||||
This behavior is not on by default. Note that ansible will, without this setting, record module arguments called to the
|
||||
syslog of managed machines. Password arguments are excluded.
|
||||
|
||||
For Enterprise users seeking more detailed logging history, you may be interested in `AnsibleWorks AWX <http://ansibleworks.com/ansibleworks-awx>`_.
|
||||
|
||||
.. _lookup_plugins:
|
||||
|
||||
|
|
|
@ -105,8 +105,8 @@ explore, but you already have a fully working infrastructure!
|
|||
|
||||
.. _a_note_about_host_key_checking:
|
||||
|
||||
A note about Host Key Checking
|
||||
``````````````````````````````
|
||||
Host Key Checking
|
||||
`````````````````
|
||||
|
||||
Ansible 1.2.1 and later have host key checking enabled by default.
|
||||
|
||||
|
@ -123,6 +123,11 @@ Alternatively this can be set by an environment variable:
|
|||
|
||||
Also note that host key checking in paramiko mode is reasonably slow, therefore switching to 'ssh' is also recommended when using this feature.
|
||||
|
||||
.. _a_note_about_logging:
|
||||
|
||||
Ansible will log some information about module arguments on the remote system in the remote syslog. To enable basic
|
||||
logging on the control machine see `intro_config` document and set the 'log_path' configuration file setting. Enterprise users may also be interested in `AnsibleWorks AWX <http://ansibleworks.com/ansibleworks-awx>`_. AWX provides a very robust database logging feature where it is possible to drill down and see history based on hosts, projects, and particular inventories over time -- explorable both graphically and through a REST API.
|
||||
|
||||
.. seealso::
|
||||
|
||||
:doc:`intro_inventory`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue