Execution
Date
12 Jun 2024 03:30:44 +0100
Duration
00:00:01.67
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.4
ara
1.7.1 / 1.7.1
Python
3.10.10
Summary
5
Hosts
1
Tasks
5
Results
1
Plays
1
Files
0
Records
Task result details
-
Date12 Jun 2024 03:30:46 +0100
-
Module / Actionshell (Ad-Hoc: shell: tail -50 /etc/rsyslog.conf:1)
| Field | Value |
|---|---|
| changed |
True |
| cmd |
tail -50 /etc/rsyslog.conf |
| delta |
0:00:00.011294 |
| end |
2024-06-12 02:30:46.013755 |
| invocation |
{ "module_args": { "_raw_params": "tail -50 /etc/rsyslog.conf", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } } |
| msg |
|
| rc |
0 |
| start |
2024-06-12 02:30:46.002461 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
# Include all config files in /etc/rsyslog.d/ include(file="/etc/rsyslog.d/*.conf" mode="optional") #### RULES #### # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console # Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;authpriv.none;cron.none /var/log/messages # The authpriv file has restricted access. authpriv.* /var/log/secure # Log all the mail messages in one place. mail.* -/var/log/maillog # Log cron stuff cron.* /var/log/cron # Everybody gets emergency messages *.emerg :omusrmsg:* # Save news errors of level crit and higher in a special file. uucp,news.crit /var/log/spooler # Save boot messages also to boot.log local7.* /var/log/boot.log # ### sample forwarding rule ### #action(type="omfwd" # An on-disk queue is created for this action. If the remote host is # down, messages are spooled to disk and sent when it is up again. #queue.filename="fwdRule1" # unique name prefix for spool files #queue.maxdiskspace="1g" # 1gb space limit (use as much as possible) #queue.saveonshutdown="on" # save messages to disk on shutdown #queue.type="LinkedList" # run asynchronously #action.resumeRetryCount="-1" # infinite retries if host is down # Remote Logging (we use TCP for reliable delivery) # remote_host is: name/ip, e.g. 192.168.0.1, port optional e.g. 10514 #Target="remote_host" Port="XXX" Protocol="tcp") local0.* -/var/log/zimbra.log local1.* -/var/log/zimbra-stats.log auth.* -/var/log/zimbra.log mail.* -/var/log/zimbra.log |
| stdout_lines |
[ "", "# Include all config files in /etc/rsyslog.d/", "include(file=\"/etc/rsyslog.d/*.conf\" mode=\"optional\")", "", "#### RULES ####", "", "# Log all kernel messages to the console.", "# Logging much else clutters up the screen.", "#kern.* /dev/console", "", "# Log anything (except mail) of level info or higher.", "# Don't log private authentication messages!", "*.info;authpriv.none;cron.none /var/log/messages", "", "# The authpriv file has restricted access.", "authpriv.* /var/log/secure", "", "# Log all the mail messages in one place.", "mail.* -/var/log/maillog", "", "", "# Log cron stuff", "cron.* /var/log/cron", "", "# Everybody gets emergency messages", "*.emerg :omusrmsg:*", "", "# Save news errors of level crit and higher in a special file.", "uucp,news.crit /var/log/spooler", "", "# Save boot messages also to boot.log", "local7.* /var/log/boot.log", "", "", "# ### sample forwarding rule ###", "#action(type=\"omfwd\" ", "# An on-disk queue is created for this action. If the remote host is", "# down, messages are spooled to disk and sent when it is up again.", "#queue.filename=\"fwdRule1\" # unique name prefix for spool files", "#queue.maxdiskspace=\"1g\" # 1gb space limit (use as much as possible)", "#queue.saveonshutdown=\"on\" # save messages to disk on shutdown", "#queue.type=\"LinkedList\" # run asynchronously", "#action.resumeRetryCount=\"-1\" # infinite retries if host is down", "# Remote Logging (we use TCP for reliable delivery)", "# remote_host is: name/ip, e.g. 192.168.0.1, port optional e.g. 10514", "#Target=\"remote_host\" Port=\"XXX\" Protocol=\"tcp\")", "local0.* -/var/log/zimbra.log", "local1.* -/var/log/zimbra-stats.log", "auth.* -/var/log/zimbra.log", "mail.* -/var/log/zimbra.log" ] |