{"id":39980,"status":"changed","playbook":{"id":734,"items":{"plays":1,"tasks":1,"results":5,"hosts":5,"files":1,"records":0},"arguments":{"version":null,"verbosity":2,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"inventory":["/home/ssh-gateway/ansible/zimbra/inventory-mail-ls"],"listhosts":false,"subset":null,"poll_interval":15,"seconds":0,"one_line":false,"tree":null,"private_key_file":"/home/ssh-gateway/.ssh/id_rsa","remote_user":"root","connection":"ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"check":false,"diff":false,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":20,"module_path":null,"basedir":null,"task_timeout":0,"module_args":"tail -50 /etc/rsyslog.conf","module_name":"shell","args":"new"},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"}],"started":"2024-06-12T03:30:44.771581+01:00","ended":"2024-06-12T03:30:46.448776+01:00","duration":"00:00:01.677195","name":null,"ansible_version":"2.16.4","client_version":"1.7.1","python_version":"3.10.10","server_version":"1.7.1","status":"completed","path":"Ad-Hoc: shell: tail -50 /etc/rsyslog.conf","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":734,"items":{"tasks":1,"results":5},"started":"2024-06-12T03:30:44.889102+01:00","ended":"2024-06-12T03:30:46.160703+01:00","duration":"00:00:01.271601","name":"Ansible Ad-Hoc","status":"completed"},"task":{"id":1117,"items":{"results":5},"path":"Ad-Hoc: shell: tail -50 /etc/rsyslog.conf","tags":[],"started":"2024-06-12T03:30:45.011941+01:00","ended":"2024-06-12T03:30:46.112842+01:00","duration":"00:00:01.100901","name":"shell","uuid":"001851d0-75dc-098c-6d67-00000000000a","action":"shell","lineno":1,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":734},"host":{"id":17142,"name":"ldap2","changed":1,"failed":0,"ok":1,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"tail -50 /etc/rsyslog.conf","delta":"0:00:00.004521","end":"2024-06-12 02:30:45.813869","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:45.809348","stderr":"","stderr_lines":[],"stdout":"#### RULES ####\n\n# Log all kernel messages to the console.\n# Logging much else clutters up the screen.\n#kern.*                                                 /dev/console\n\n# Log anything (except mail) of level info or higher.\n# Don't log private authentication messages!\n*.info;authpriv.none;cron.none                /var/log/messages\n\n# The authpriv file has restricted access.\nauthpriv.*                                              /var/log/secure\n\n# Log all the mail messages in one place.\nmail.*                                                  -/var/log/maillog\n\n\n# Log cron stuff\ncron.*                                                  /var/log/cron\n\n# Everybody gets emergency messages\n*.emerg                                                 :omusrmsg:*\n\n# Save news errors of level crit and higher in a special file.\nuucp,news.crit                                          /var/log/spooler\n\n# Save boot messages also to boot.log\nlocal7.*                                                /var/log/boot.log\n\n\n# ### sample forwarding rule ###\n#action(type=\"omfwd\"  \n# An on-disk queue is created for this action. If the remote host is\n# down, messages are spooled to disk and sent when it is up again.\n#queue.filename=\"fwdRule1\"       # unique name prefix for spool files\n#queue.maxdiskspace=\"1g\"         # 1gb space limit (use as much as possible)\n#queue.saveonshutdown=\"on\"       # save messages to disk on shutdown\n#queue.type=\"LinkedList\"         # run asynchronously\n#action.resumeRetryCount=\"-1\"    # infinite retries if host is down\n# Remote Logging (we use TCP for reliable delivery)\n# remote_host is: name/ip, e.g. 192.168.0.1, port optional e.g. 10514\n#Target=\"remote_host\" Port=\"XXX\" Protocol=\"tcp\")\nlocal0.*                @mbox2.mail.ls\nlocal1.*                @mbox2.mail.ls\nauth.*                  @mbox2.mail.ls\nlocal0.*                -/var/log/zimbra.log\nlocal1.*                -/var/log/zimbra-stats.log\nauth.*                  -/var/log/zimbra.log\nmail.*                @mbox2.mail.ls\nmail.*                -/var/log/zimbra.log","stdout_lines":["#### 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.*                @mbox2.mail.ls","local1.*                @mbox2.mail.ls","auth.*                  @mbox2.mail.ls","local0.*                -/var/log/zimbra.log","local1.*                -/var/log/zimbra-stats.log","auth.*                  -/var/log/zimbra.log","mail.*                @mbox2.mail.ls","mail.*                -/var/log/zimbra.log"]},"created":"2024-06-12T03:30:45.881536+01:00","updated":"2024-06-12T03:30:45.881555+01:00","started":"2024-06-12T03:30:45.084980+01:00","ended":"2024-06-12T03:30:45.825849+01:00","duration":"00:00:00.740869","changed":true,"ignore_errors":false}