ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_basics_forwards.yml ******************************************** 1 plays in /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml PLAY [Ensure that the role runs with parameters for basics input and forwards output] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:2 Saturday 27 July 2024 04:25:32 -0400 (0:00:00.026) 0:00:00.026 ********* ok: [managed_node1] META: ran handlers TASK [Create tempdir for test files] ******************************************* task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:32 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.871) 0:00:00.897 ********* changed: [managed_node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/logging_test_l5KBHi", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Set __test_ca_cert path] ************************************************* task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:39 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.273) 0:00:01.171 ********* ok: [managed_node1] => { "ansible_facts": { "__test_ca_cert": "/tmp/logging_test_l5KBHi/test-ca.crt" }, "changed": false } TASK [Set __test_cert path] **************************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:43 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.046) 0:00:01.217 ********* ok: [managed_node1] => { "ansible_facts": { "__test_cert": "/tmp/logging_test_l5KBHi/test-cert.pem" }, "changed": false } TASK [Set __test_key path] ***************************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:47 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.045) 0:00:01.263 ********* ok: [managed_node1] => { "ansible_facts": { "__test_key": "/tmp/logging_test_l5KBHi/test-key.pem" }, "changed": false } TASK [TEST CASE 0; Ensure that the logs from basics inputs are sent to the forwards outputs and implicit files output] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:52 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.045) 0:00:01.309 ********* TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:7 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.101) 0:00:01.410 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_output_files": [ { "name": "default_files", "type": "files" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:14 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.057) 0:00:01.467 ********* ok: [managed_node1] => { "ansible_facts": { "rsyslog_outputs": [ { "action": { "resumecount": 50, "resumeinterval": 300 }, "facility": "local1", "name": "forwards_severity_and_facility", "queue": { "filename": "forwards", "saveonshutdown": "on", "spooldirectory": "/var/spool/rsyslog" }, "severity": "info", "target": "host.domain", "tcp_port": 1514, "template": "syslog", "type": "forwards" }, { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" }, { "name": "forwards_severity_only", "severity": "err", "target": "host.domain", "tcp_port": 3514, "type": "forwards" }, { "name": "forwards_no_severity_and_facility", "target": "host.domain", "tcp_port": 4514, "type": "forwards" }, { "name": "forwards_no_severity_and_facility_udp", "target": "host.domain", "type": "forwards", "udp_port": 6514 }, { "name": "forwards_no_severity_and_facility_protocol_port", "target": "host.domain", "type": "forwards" }, { "name": "forwards_no_severity_and_facility_protocol_port_target", "target": "host.domain", "type": "forwards" }, { "name": "default_files", "type": "files" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:18 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.055) 0:00:01.523 ********* ok: [managed_node1] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "type": "basics" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:22 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.055) 0:00:01.579 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.logging : Use of type custom is deprecated] **** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.050) 0:00:01.629 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:42 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.053) 0:00:01.683 ********* skipping: [managed_node1] => (item={u'inputs': [u'basic_input'], u'name': u'flows0', u'outputs': [u'forwards_severity_and_facility', u'forwards_facility_only', u'forwards_severity_only', u'forwards_no_severity_and_facility', u'forwards_no_severity_and_facility_udp', u'forwards_no_severity_and_facility_protocol_port', u'forwards_no_severity_and_facility_protocol_port_target', u'default_files']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flows0", "outputs": [ "forwards_severity_and_facility", "forwards_facility_only", "forwards_severity_only", "forwards_no_severity_and_facility", "forwards_no_severity_and_facility_udp", "forwards_no_severity_and_facility_protocol_port", "forwards_no_severity_and_facility_protocol_port_target", "default_files" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.064) 0:00:01.748 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml for managed_node1 TASK [fedora.linux_system_roles.logging : Initialize logging_tls_tcp_ports] **** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Saturday 27 July 2024 04:25:33 -0400 (0:00:00.077) 0:00:01.825 ********* ok: [managed_node1] => { "ansible_facts": { "logging_tls_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tcp_ports] ******** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:7 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.054) 0:00:01.880 ********* ok: [managed_node1] => { "ansible_facts": { "logging_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tls_udp_ports] **** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.052) 0:00:01.932 ********* ok: [managed_node1] => { "ansible_facts": { "logging_tls_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_udp_ports] ******** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.055) 0:00:01.987 ********* ok: [managed_node1] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.056) 0:00:02.044 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_port' values (without tls)] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.051) 0:00:02.095 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_port' values (with tls)] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.051) 0:00:02.147 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_port' values (without tls)] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.050) 0:00:02.197 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_port' values (with tls)] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.051) 0:00:02.249 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'server_port' values (without tls)] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.052) 0:00:02.301 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'server_port' values (with tls)] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.050) 0:00:02.351 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (without tls)] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.052) 0:00:02.403 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (with tls)] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.052) 0:00:02.456 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_ports' values (without tls)] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.052) 0:00:02.508 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_ports' values (with tls)] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.051) 0:00:02.560 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Manage firewall on the gathered ports] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.051) 0:00:02.612 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml for managed_node1 TASK [fedora.linux_system_roles.logging : Initialize logging_firewall_ports] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.079) 0:00:02.692 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Add tcp ports to logging_firewall_ports] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.049) 0:00:02.742 ********* TASK [fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Saturday 27 July 2024 04:25:34 -0400 (0:00:00.044) 0:00:02.787 ********* TASK [Manage firewall for specified ports] ************************************* task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.047) 0:00:02.834 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Manage selinux on the gathered ports] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.054) 0:00:02.889 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml for managed_node1 TASK [fedora.linux_system_roles.logging : Initialize logging_selinux_ports] **** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.091) 0:00:02.980 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Add non tls tcp ports to logging_selinux_ports] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.051) 0:00:03.031 ********* TASK [fedora.linux_system_roles.logging : Add tls tcp ports to logging_selinux_ports] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:16 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.043) 0:00:03.075 ********* TASK [fedora.linux_system_roles.logging : Add non tls udp ports to logging_selinux_ports] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.043) 0:00:03.119 ********* TASK [fedora.linux_system_roles.logging : Add tls udp ports to logging_selinux_ports] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:26 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.044) 0:00:03.164 ********* TASK [Manage selinux for specified ports] ************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.045) 0:00:03.209 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Generate certificates] *************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:62 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.052) 0:00:03.261 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed_node1 TASK [Generate certificates] *************************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.092) 0:00:03.353 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:68 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.050) 0:00:03.404 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:72 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.054) 0:00:03.458 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:78 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.054) 0:00:03.513 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:83 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.056) 0:00:03.569 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Use a debug var to avoid an empty dict in with_dict] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:90 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.057) 0:00:03.626 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:94 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.059) 0:00:03.686 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:105 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.058) 0:00:03.744 ********* TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Saturday 27 July 2024 04:25:35 -0400 (0:00:00.065) 0:00:03.810 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Saturday 27 July 2024 04:25:36 -0400 (0:00:00.036) 0:00:03.846 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Saturday 27 July 2024 04:25:36 -0400 (0:00:00.049) 0:00:03.896 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set flag to indicate system is ostree] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Saturday 27 July 2024 04:25:36 -0400 (0:00:00.480) 0:00:04.376 ********* ok: [managed_node1] => { "ansible_facts": { "__logging_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Saturday 27 July 2024 04:25:36 -0400 (0:00:00.053) 0:00:04.430 ********* ok: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /vars/main.yml from /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Saturday 27 July 2024 04:25:36 -0400 (0:00:00.112) 0:00:04.542 ********* skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Saturday 27 July 2024 04:25:36 -0400 (0:00:00.091) 0:00:04.634 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:15 Saturday 27 July 2024 04:25:36 -0400 (0:00:00.180) 0:00:04.815 ********* skipping: [managed_node1] => (item=iproute) => { "ansible_loop_var": "item", "changed": false, "item": "iproute", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:22 Saturday 27 July 2024 04:25:37 -0400 (0:00:00.036) 0:00:04.851 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Saturday 27 July 2024 04:25:37 -0400 (0:00:00.024) 0:00:04.876 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "rsyslog-8.24.0-57.el7_9.3.x86_64 providing rsyslog is already installed" ] } lsrpackages: iproute rsyslog TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:40 Saturday 27 July 2024 04:25:37 -0400 (0:00:00.758) 0:00:05.634 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:44 Saturday 27 July 2024 04:25:37 -0400 (0:00:00.024) 0:00:05.659 ********* ok: [managed_node1] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "2.el7_9", "source": "rpm", "version": "1.18.8" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "2.el7_9", "source": "rpm", "version": "1.18.8" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "2.el7_9", "source": "rpm", "version": "1.18.8" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "2.el7_9", "source": "rpm", "version": "1.18.8" } ], "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "aic94xx-firmware": [ { "arch": "noarch", "epoch": null, "name": "aic94xx-firmware", "release": "6.el7", "source": "rpm", "version": "30" } ], "alsa-firmware": [ { "arch": "noarch", "epoch": null, "name": "alsa-firmware", "release": "2.el7", "source": "rpm", "version": "1.0.28" } ], "alsa-lib": [ { "arch": "x86_64", "epoch": null, "name": "alsa-lib", "release": "1.el7", "source": "rpm", "version": "1.1.8" } ], "alsa-tools-firmware": [ { "arch": "x86_64", "epoch": null, "name": "alsa-tools-firmware", "release": "1.el7", "source": "rpm", "version": "1.1.0" } ], "aspell": [ { "arch": "x86_64", "epoch": 12, "name": "aspell", "release": "9.el7", "source": "rpm", "version": "0.60.6.1" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "avahi-libs": [ { "arch": "x86_64", "epoch": null, "name": "avahi-libs", "release": "20.el7", "source": "rpm", "version": "0.6.31" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "35.el7_9", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.16", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "biosdevname": [ { "arch": "x86_64", "epoch": null, "name": "biosdevname", "release": "2.el7", "source": "rpm", "version": "0.7.3" } ], "boost-date-time": [ { "arch": "x86_64", "epoch": null, "name": "boost-date-time", "release": "28.el7", "source": "rpm", "version": "1.53.0" } ], "boost-system": [ { "arch": "x86_64", "epoch": null, "name": "boost-system", "release": "28.el7", "source": "rpm", "version": "1.53.0" } ], "boost-thread": [ { "arch": "x86_64", "epoch": null, "name": "boost-thread", "release": "28.el7", "source": "rpm", "version": "1.53.0" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2023.2.60_v7.0.306" } ], "centos-logos": [ { "arch": "noarch", "epoch": null, "name": "centos-logos", "release": "3.el7.centos", "source": "rpm", "version": "70.0.6" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.2.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cpp": [ { "arch": "x86_64", "epoch": null, "name": "cpp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "25.el7_9", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "25.el7_9", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.2", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "24.el7_9", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.2", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.2", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el7_9", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dyninst": [ { "arch": "x86_64", "epoch": null, "name": "dyninst", "release": "3.el7", "source": "rpm", "version": "9.3.1" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "ebtables": [ { "arch": "x86_64", "epoch": null, "name": "ebtables", "release": "16.el7", "source": "rpm", "version": "2.0.10" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "12.el7", "source": "rpm", "version": "36" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "15.el7_9", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "firewalld": [ { "arch": "noarch", "epoch": null, "name": "firewalld", "release": "13.el7_9", "source": "rpm", "version": "0.6.3" } ], "firewalld-filesystem": [ { "arch": "noarch", "epoch": null, "name": "firewalld-filesystem", "release": "13.el7_9", "source": "rpm", "version": "0.6.3" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "fxload": [ { "arch": "x86_64", "epoch": null, "name": "fxload", "release": "16.el7", "source": "rpm", "version": "2002_04_11" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gcc": [ { "arch": "x86_64", "epoch": null, "name": "gcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "git": [ { "arch": "x86_64", "epoch": null, "name": "git", "release": "25.el7_9", "source": "rpm", "version": "1.8.3.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "326.el7_9.3", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "326.el7_9.3", "source": "rpm", "version": "2.17" } ], "glibc-devel": [ { "arch": "x86_64", "epoch": null, "name": "glibc-devel", "release": "326.el7_9.3", "source": "rpm", "version": "2.17" } ], "glibc-headers": [ { "arch": "x86_64", "epoch": null, "name": "glibc-headers", "release": "326.el7_9.3", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "52ae6884", "source": "rpm", "version": "352c64e5" }, { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "gpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "gpm-libs", "release": "6.el7", "source": "rpm", "version": "1.20.7" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.0.2.el7.centos.14", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.0.2.el7.centos.14", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.0.2.el7.centos.14", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.0.2.el7.centos.14", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.0.2.el7.centos.14", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.0.2.el7.centos.14", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.0.2.el7.centos.14", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "11.el7_9", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iprutils": [ { "arch": "x86_64", "epoch": null, "name": "iprutils", "release": "3.el7_7", "source": "rpm", "version": "2.4.17.1" } ], "ipset": [ { "arch": "x86_64", "epoch": null, "name": "ipset", "release": "1.el7", "source": "rpm", "version": "7.1" } ], "ipset-libs": [ { "arch": "x86_64", "epoch": null, "name": "ipset-libs", "release": "1.el7", "source": "rpm", "version": "7.1" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "ivtv-firmware": [ { "arch": "noarch", "epoch": 2, "name": "ivtv-firmware", "release": "26.el7", "source": "rpm", "version": "20080701" } ], "iwl100-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl100-firmware", "release": "82.el7_9", "source": "rpm", "version": "39.31.5.1" } ], "iwl1000-firmware": [ { "arch": "noarch", "epoch": 1, "name": "iwl1000-firmware", "release": "82.el7_9", "source": "rpm", "version": "39.31.5.1" } ], "iwl105-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl105-firmware", "release": "82.el7_9", "source": "rpm", "version": "18.168.6.1" } ], "iwl135-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl135-firmware", "release": "82.el7_9", "source": "rpm", "version": "18.168.6.1" } ], "iwl2000-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl2000-firmware", "release": "82.el7_9", "source": "rpm", "version": "18.168.6.1" } ], "iwl2030-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl2030-firmware", "release": "82.el7_9", "source": "rpm", "version": "18.168.6.1" } ], "iwl3160-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl3160-firmware", "release": "82.el7_9", "source": "rpm", "version": "25.30.13.0" } ], "iwl3945-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl3945-firmware", "release": "82.el7_9", "source": "rpm", "version": "15.32.2.9" } ], "iwl4965-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl4965-firmware", "release": "82.el7_9", "source": "rpm", "version": "228.61.2.24" } ], "iwl5000-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl5000-firmware", "release": "82.el7_9", "source": "rpm", "version": "8.83.5.1_1" } ], "iwl5150-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl5150-firmware", "release": "82.el7_9", "source": "rpm", "version": "8.24.2.2" } ], "iwl6000-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl6000-firmware", "release": "82.el7_9", "source": "rpm", "version": "9.221.4.1" } ], "iwl6000g2a-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl6000g2a-firmware", "release": "82.el7_9", "source": "rpm", "version": "18.168.6.1" } ], "iwl6000g2b-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl6000g2b-firmware", "release": "82.el7_9", "source": "rpm", "version": "18.168.6.1" } ], "iwl6050-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl6050-firmware", "release": "82.el7_9", "source": "rpm", "version": "41.28.5.1" } ], "iwl7260-firmware": [ { "arch": "noarch", "epoch": null, "name": "iwl7260-firmware", "release": "82.el7_9", "source": "rpm", "version": "25.30.13.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "16.el7_9", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "16.el7_9", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.119.1.el7", "source": "rpm", "version": "3.10.0" }, { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-debug-devel": [ { "arch": "x86_64", "epoch": null, "name": "kernel-debug-devel", "release": "1160.119.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-headers": [ { "arch": "x86_64", "epoch": null, "name": "kernel-headers", "release": "1160.119.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.119.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.119.1.el7", "source": "rpm", "version": "3.10.0" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "136.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "55.el7_9", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "10.el7_9", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.2", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdrm": [ { "arch": "x86_64", "epoch": null, "name": "libdrm", "release": "2.el7", "source": "rpm", "version": "2.4.97" } ], "libdwarf": [ { "arch": "x86_64", "epoch": null, "name": "libdwarf", "release": "4.el7", "source": "rpm", "version": "20130207" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libmpc": [ { "arch": "x86_64", "epoch": null, "name": "libmpc", "release": "3.el7", "source": "rpm", "version": "1.0.1" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpciaccess": [ { "arch": "x86_64", "epoch": null, "name": "libpciaccess", "release": "1.el7", "source": "rpm", "version": "0.14" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7_9.1", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxslt": [ { "arch": "x86_64", "epoch": null, "name": "libxslt", "release": "6.el7", "source": "rpm", "version": "1.1.28" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "82.git78c0348.el7_9", "source": "rpm", "version": "20200421" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "0.1.20180614git028f6b2.beaker.1.el7bkr.1", "source": "rpm", "version": "B.02.19" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "6.el7", "source": "rpm", "version": "0.27" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "mailcap": [ { "arch": "noarch", "epoch": null, "name": "mailcap", "release": "2.el7", "source": "rpm", "version": "2.1.41" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.20.el7_9", "source": "rpm", "version": "2.1" } ], "mokutil": [ { "arch": "x86_64", "epoch": null, "name": "mokutil", "release": "8.el7", "source": "rpm", "version": "15" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "4.el7", "source": "rpm", "version": "3.1.1" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.35.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "2.el7_9", "source": "rpm", "version": "3.90.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7_9.1", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "6.el7_9", "source": "rpm", "version": "3.90.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "6.el7_9", "source": "rpm", "version": "3.90.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "2.el7_9", "source": "rpm", "version": "3.90.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "2.el7_9", "source": "rpm", "version": "3.90.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.90.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "25.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "23.el7_9", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "23.el7_9", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "23.el7_9", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "26.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "26.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "perl": [ { "arch": "x86_64", "epoch": 4, "name": "perl", "release": "299.el7_9", "source": "rpm", "version": "5.16.3" } ], "perl-Business-ISBN": [ { "arch": "noarch", "epoch": null, "name": "perl-Business-ISBN", "release": "2.el7", "source": "rpm", "version": "2.06" } ], "perl-Business-ISBN-Data": [ { "arch": "noarch", "epoch": null, "name": "perl-Business-ISBN-Data", "release": "2.el7", "source": "rpm", "version": "20120719.001" } ], "perl-CGI": [ { "arch": "noarch", "epoch": null, "name": "perl-CGI", "release": "4.el7", "source": "rpm", "version": "3.63" } ], "perl-Carp": [ { "arch": "noarch", "epoch": null, "name": "perl-Carp", "release": "244.el7", "source": "rpm", "version": "1.26" } ], "perl-Compress-Raw-Bzip2": [ { "arch": "x86_64", "epoch": null, "name": "perl-Compress-Raw-Bzip2", "release": "3.el7", "source": "rpm", "version": "2.061" } ], "perl-Compress-Raw-Zlib": [ { "arch": "x86_64", "epoch": 1, "name": "perl-Compress-Raw-Zlib", "release": "4.el7", "source": "rpm", "version": "2.061" } ], "perl-Data-Dumper": [ { "arch": "x86_64", "epoch": null, "name": "perl-Data-Dumper", "release": "3.el7", "source": "rpm", "version": "2.145" } ], "perl-Date-Manip": [ { "arch": "noarch", "epoch": null, "name": "perl-Date-Manip", "release": "2.el7", "source": "rpm", "version": "6.41" } ], "perl-Digest": [ { "arch": "noarch", "epoch": null, "name": "perl-Digest", "release": "245.el7", "source": "rpm", "version": "1.17" } ], "perl-Digest-MD5": [ { "arch": "x86_64", "epoch": null, "name": "perl-Digest-MD5", "release": "3.el7", "source": "rpm", "version": "2.52" } ], "perl-Encode": [ { "arch": "x86_64", "epoch": null, "name": "perl-Encode", "release": "7.el7", "source": "rpm", "version": "2.51" } ], "perl-Encode-Locale": [ { "arch": "noarch", "epoch": null, "name": "perl-Encode-Locale", "release": "5.el7", "source": "rpm", "version": "1.03" } ], "perl-Error": [ { "arch": "noarch", "epoch": 1, "name": "perl-Error", "release": "2.el7", "source": "rpm", "version": "0.17020" } ], "perl-Exporter": [ { "arch": "noarch", "epoch": null, "name": "perl-Exporter", "release": "3.el7", "source": "rpm", "version": "5.68" } ], "perl-FCGI": [ { "arch": "x86_64", "epoch": 1, "name": "perl-FCGI", "release": "8.el7", "source": "rpm", "version": "0.74" } ], "perl-File-Listing": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Listing", "release": "7.el7", "source": "rpm", "version": "6.04" } ], "perl-File-Path": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Path", "release": "2.el7", "source": "rpm", "version": "2.09" } ], "perl-File-Temp": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Temp", "release": "3.el7", "source": "rpm", "version": "0.23.01" } ], "perl-Filter": [ { "arch": "x86_64", "epoch": null, "name": "perl-Filter", "release": "3.el7", "source": "rpm", "version": "1.49" } ], "perl-Font-AFM": [ { "arch": "noarch", "epoch": null, "name": "perl-Font-AFM", "release": "13.el7", "source": "rpm", "version": "1.20" } ], "perl-Getopt-Long": [ { "arch": "noarch", "epoch": null, "name": "perl-Getopt-Long", "release": "3.el7", "source": "rpm", "version": "2.40" } ], "perl-Git": [ { "arch": "noarch", "epoch": null, "name": "perl-Git", "release": "25.el7_9", "source": "rpm", "version": "1.8.3.1" } ], "perl-HTML-Format": [ { "arch": "noarch", "epoch": null, "name": "perl-HTML-Format", "release": "7.el7", "source": "rpm", "version": "2.10" } ], "perl-HTML-Parser": [ { "arch": "x86_64", "epoch": null, "name": "perl-HTML-Parser", "release": "4.el7", "source": "rpm", "version": "3.71" } ], "perl-HTML-Tagset": [ { "arch": "noarch", "epoch": null, "name": "perl-HTML-Tagset", "release": "15.el7", "source": "rpm", "version": "3.20" } ], "perl-HTML-Tree": [ { "arch": "noarch", "epoch": 1, "name": "perl-HTML-Tree", "release": "2.el7", "source": "rpm", "version": "5.03" } ], "perl-HTTP-Cookies": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Cookies", "release": "5.el7", "source": "rpm", "version": "6.01" } ], "perl-HTTP-Daemon": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Daemon", "release": "8.el7", "source": "rpm", "version": "6.01" } ], "perl-HTTP-Date": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Date", "release": "8.el7", "source": "rpm", "version": "6.02" } ], "perl-HTTP-Message": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Message", "release": "6.el7", "source": "rpm", "version": "6.06" } ], "perl-HTTP-Negotiate": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Negotiate", "release": "5.el7", "source": "rpm", "version": "6.01" } ], "perl-HTTP-Tiny": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Tiny", "release": "3.el7", "source": "rpm", "version": "0.033" } ], "perl-IO-Compress": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Compress", "release": "2.el7", "source": "rpm", "version": "2.061" } ], "perl-IO-HTML": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-HTML", "release": "2.el7", "source": "rpm", "version": "1.00" } ], "perl-IO-Socket-IP": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-IP", "release": "5.el7", "source": "rpm", "version": "0.21" } ], "perl-IO-Socket-SSL": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-SSL", "release": "7.el7", "source": "rpm", "version": "1.94" } ], "perl-IO-Zlib": [ { "arch": "noarch", "epoch": 1, "name": "perl-IO-Zlib", "release": "299.el7_9", "source": "rpm", "version": "1.10" } ], "perl-IO-stringy": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-stringy", "release": "22.el7", "source": "rpm", "version": "2.110" } ], "perl-LWP-MediaTypes": [ { "arch": "noarch", "epoch": null, "name": "perl-LWP-MediaTypes", "release": "2.el7", "source": "rpm", "version": "6.02" } ], "perl-LWP-Protocol-https": [ { "arch": "noarch", "epoch": null, "name": "perl-LWP-Protocol-https", "release": "4.el7", "source": "rpm", "version": "6.04" } ], "perl-Module-Load": [ { "arch": "noarch", "epoch": 1, "name": "perl-Module-Load", "release": "3.el7", "source": "rpm", "version": "0.24" } ], "perl-Mozilla-CA": [ { "arch": "noarch", "epoch": null, "name": "perl-Mozilla-CA", "release": "5.el7", "source": "rpm", "version": "20130114" } ], "perl-Net-HTTP": [ { "arch": "noarch", "epoch": null, "name": "perl-Net-HTTP", "release": "2.el7", "source": "rpm", "version": "6.06" } ], "perl-Net-LibIDN": [ { "arch": "x86_64", "epoch": null, "name": "perl-Net-LibIDN", "release": "15.el7", "source": "rpm", "version": "0.12" } ], "perl-Net-SSLeay": [ { "arch": "x86_64", "epoch": null, "name": "perl-Net-SSLeay", "release": "6.el7", "source": "rpm", "version": "1.55" } ], "perl-PathTools": [ { "arch": "x86_64", "epoch": null, "name": "perl-PathTools", "release": "5.el7", "source": "rpm", "version": "3.40" } ], "perl-Pod-Escapes": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Escapes", "release": "299.el7_9", "source": "rpm", "version": "1.04" } ], "perl-Pod-Perldoc": [ { "arch": "noarch", "epoch": null, "name": "perl-Pod-Perldoc", "release": "4.el7", "source": "rpm", "version": "3.20" } ], "perl-Pod-Simple": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Simple", "release": "4.el7", "source": "rpm", "version": "3.28" } ], "perl-Pod-Usage": [ { "arch": "noarch", "epoch": null, "name": "perl-Pod-Usage", "release": "3.el7", "source": "rpm", "version": "1.63" } ], "perl-Scalar-List-Utils": [ { "arch": "x86_64", "epoch": null, "name": "perl-Scalar-List-Utils", "release": "248.el7", "source": "rpm", "version": "1.27" } ], "perl-Socket": [ { "arch": "x86_64", "epoch": null, "name": "perl-Socket", "release": "5.el7", "source": "rpm", "version": "2.010" } ], "perl-Storable": [ { "arch": "x86_64", "epoch": null, "name": "perl-Storable", "release": "3.el7", "source": "rpm", "version": "2.45" } ], "perl-TermReadKey": [ { "arch": "x86_64", "epoch": null, "name": "perl-TermReadKey", "release": "20.el7", "source": "rpm", "version": "2.30" } ], "perl-Text-ParseWords": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-ParseWords", "release": "4.el7", "source": "rpm", "version": "3.29" } ], "perl-Time-HiRes": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Time-HiRes", "release": "3.el7", "source": "rpm", "version": "1.9725" } ], "perl-Time-Local": [ { "arch": "noarch", "epoch": null, "name": "perl-Time-Local", "release": "2.el7", "source": "rpm", "version": "1.2300" } ], "perl-TimeDate": [ { "arch": "noarch", "epoch": 1, "name": "perl-TimeDate", "release": "2.el7", "source": "rpm", "version": "2.30" } ], "perl-URI": [ { "arch": "noarch", "epoch": null, "name": "perl-URI", "release": "9.el7", "source": "rpm", "version": "1.60" } ], "perl-WWW-RobotRules": [ { "arch": "noarch", "epoch": null, "name": "perl-WWW-RobotRules", "release": "5.el7", "source": "rpm", "version": "6.02" } ], "perl-XML-LibXML": [ { "arch": "x86_64", "epoch": 1, "name": "perl-XML-LibXML", "release": "5.el7", "source": "rpm", "version": "2.0018" } ], "perl-XML-NamespaceSupport": [ { "arch": "noarch", "epoch": null, "name": "perl-XML-NamespaceSupport", "release": "10.el7", "source": "rpm", "version": "1.11" } ], "perl-XML-Parser": [ { "arch": "x86_64", "epoch": null, "name": "perl-XML-Parser", "release": "10.el7", "source": "rpm", "version": "2.41" } ], "perl-XML-SAX": [ { "arch": "noarch", "epoch": null, "name": "perl-XML-SAX", "release": "9.el7", "source": "rpm", "version": "0.99" } ], "perl-XML-SAX-Base": [ { "arch": "noarch", "epoch": null, "name": "perl-XML-SAX-Base", "release": "7.el7", "source": "rpm", "version": "1.08" } ], "perl-XML-Twig": [ { "arch": "noarch", "epoch": null, "name": "perl-XML-Twig", "release": "2.el7", "source": "rpm", "version": "3.44" } ], "perl-constant": [ { "arch": "noarch", "epoch": null, "name": "perl-constant", "release": "2.el7", "source": "rpm", "version": "1.27" } ], "perl-libs": [ { "arch": "x86_64", "epoch": 4, "name": "perl-libs", "release": "299.el7_9", "source": "rpm", "version": "5.16.3" } ], "perl-libwww-perl": [ { "arch": "noarch", "epoch": null, "name": "perl-libwww-perl", "release": "2.el7", "source": "rpm", "version": "6.05" } ], "perl-macros": [ { "arch": "x86_64", "epoch": 4, "name": "perl-macros", "release": "299.el7_9", "source": "rpm", "version": "5.16.3" } ], "perl-parent": [ { "arch": "noarch", "epoch": 1, "name": "perl-parent", "release": "244.el7", "source": "rpm", "version": "0.225" } ], "perl-podlators": [ { "arch": "noarch", "epoch": null, "name": "perl-podlators", "release": "3.el7", "source": "rpm", "version": "2.5.1" } ], "perl-threads": [ { "arch": "x86_64", "epoch": null, "name": "perl-threads", "release": "4.el7", "source": "rpm", "version": "1.87" } ], "perl-threads-shared": [ { "arch": "x86_64", "epoch": null, "name": "perl-threads-shared", "release": "6.el7", "source": "rpm", "version": "1.43" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "plymouth-core-libs": [ { "arch": "x86_64", "epoch": null, "name": "plymouth-core-libs", "release": "0.34.20140113.el7.centos", "source": "rpm", "version": "0.8.9" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7_9.1", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "94.el7_9", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-firewall": [ { "arch": "noarch", "epoch": null, "name": "python-firewall", "release": "13.el7_9", "source": "rpm", "version": "0.6.3" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "94.el7_9", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-lxml": [ { "arch": "x86_64", "epoch": null, "name": "python-lxml", "release": "4.el7", "source": "rpm", "version": "3.2.1" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.119.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-slip": [ { "arch": "noarch", "epoch": null, "name": "python-slip", "release": "4.el7", "source": "rpm", "version": "0.4.0" } ], "python-slip-dbus": [ { "arch": "noarch", "epoch": null, "name": "python-slip-dbus", "release": "4.el7", "source": "rpm", "version": "0.4.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qa-tools": [ { "arch": "noarch", "epoch": null, "name": "qa-tools", "release": "4.el7_9", "source": "rpm", "version": "4.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "restraint": [ { "arch": "x86_64", "epoch": null, "name": "restraint", "release": "1.el7bkr", "source": "rpm", "version": "0.4.4" } ], "restraint-rhts": [ { "arch": "x86_64", "epoch": null, "name": "restraint-rhts", "release": "1.el7bkr", "source": "rpm", "version": "0.4.4" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "5.el7", "source": "rpm", "version": "6.3.1" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "48.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "48.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "48.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "48.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "12.el7_9", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "ruby": [ { "arch": "x86_64", "epoch": null, "name": "ruby", "release": "39.el7_9", "source": "rpm", "version": "2.0.0.648" } ], "ruby-irb": [ { "arch": "noarch", "epoch": null, "name": "ruby-irb", "release": "39.el7_9", "source": "rpm", "version": "2.0.0.648" } ], "ruby-libs": [ { "arch": "x86_64", "epoch": null, "name": "ruby-libs", "release": "39.el7_9", "source": "rpm", "version": "2.0.0.648" } ], "rubygem-bigdecimal": [ { "arch": "x86_64", "epoch": null, "name": "rubygem-bigdecimal", "release": "39.el7_9", "source": "rpm", "version": "1.2.0" } ], "rubygem-io-console": [ { "arch": "x86_64", "epoch": null, "name": "rubygem-io-console", "release": "39.el7_9", "source": "rpm", "version": "0.4.2" } ], "rubygem-json": [ { "arch": "x86_64", "epoch": null, "name": "rubygem-json", "release": "39.el7_9", "source": "rpm", "version": "1.7.7" } ], "rubygem-psych": [ { "arch": "x86_64", "epoch": null, "name": "rubygem-psych", "release": "39.el7_9", "source": "rpm", "version": "2.0.0" } ], "rubygem-rdoc": [ { "arch": "noarch", "epoch": null, "name": "rubygem-rdoc", "release": "39.el7_9", "source": "rpm", "version": "4.0.0" } ], "rubygems": [ { "arch": "noarch", "epoch": null, "name": "rubygems", "release": "39.el7_9", "source": "rpm", "version": "2.0.14.1" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "strace": [ { "arch": "x86_64", "epoch": null, "name": "strace", "release": "7.el7_9", "source": "rpm", "version": "4.24" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.3", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.9", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.9", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.9", "source": "rpm", "version": "219" } ], "systemtap": [ { "arch": "x86_64", "epoch": null, "name": "systemtap", "release": "13.el7", "source": "rpm", "version": "4.0" } ], "systemtap-client": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-client", "release": "13.el7", "source": "rpm", "version": "4.0" } ], "systemtap-devel": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-devel", "release": "13.el7", "source": "rpm", "version": "4.0" } ], "systemtap-runtime": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-runtime", "release": "13.el7", "source": "rpm", "version": "4.0" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "time": [ { "arch": "x86_64", "epoch": null, "name": "time", "release": "45.el7", "source": "rpm", "version": "1.7" } ], "tps-devel": [ { "arch": "noarch", "epoch": null, "name": "tps-devel", "release": "1", "source": "rpm", "version": "2.44.50" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "12.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2024a" } ], "unzip": [ { "arch": "x86_64", "epoch": null, "name": "unzip", "release": "24.el7_9", "source": "rpm", "version": "6.0" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-common": [ { "arch": "x86_64", "epoch": 2, "name": "vim-common", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "vim-enhanced": [ { "arch": "x86_64", "epoch": 2, "name": "vim-enhanced", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "vim-filesystem": [ { "arch": "x86_64", "epoch": 2, "name": "vim-filesystem", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "wget": [ { "arch": "x86_64", "epoch": null, "name": "wget", "release": "18.el7_6.1", "source": "rpm", "version": "1.14" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "2.el7_9", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "2.el7_9", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zip": [ { "arch": "x86_64", "epoch": null, "name": "zip", "release": "11.el7", "source": "rpm", "version": "3.0" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "21.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:48 Saturday 27 July 2024 04:25:39 -0400 (0:00:01.547) 0:00:07.206 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:55 Saturday 27 July 2024 04:25:39 -0400 (0:00:00.077) 0:00:07.284 ********* ok: [managed_node1] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:60 Saturday 27 July 2024 04:25:39 -0400 (0:00:00.065) 0:00:07.350 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:68 Saturday 27 July 2024 04:25:39 -0400 (0:00:00.057) 0:00:07.407 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:76 Saturday 27 July 2024 04:25:39 -0400 (0:00:00.059) 0:00:07.467 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create a work directory] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:83 Saturday 27 July 2024 04:25:40 -0400 (0:00:00.502) 0:00:07.969 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/lib/rsyslog", "secontext": "system_u:object_r:syslogd_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:89 Saturday 27 July 2024 04:25:40 -0400 (0:00:00.363) 0:00:08.333 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log", "secontext": "system_u:object_r:var_log_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:97 Saturday 27 July 2024 04:25:40 -0400 (0:00:00.373) 0:00:08.707 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_common_rules": [ { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:120 Saturday 27 July 2024 04:25:41 -0400 (0:00:00.199) 0:00:08.906 ********* changed: [managed_node1] => (item={u'comment': u'Global options', u'options': u'global(\n workDirectory="/var/lib/rsyslog"\n maxMessageSize="8192"\n)\n', u'filename': u'00-global.conf'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 } skipping: [managed_node1] => (item={u'type': u'modules', u'state': u'absent', u'sections': [{u'options': u'# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}], u'name': u'local-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False" } changed: [managed_node1] => (item={u'type': u'global', u'sections': [{u'comment': u'Log every message', u'options': u'$RepeatedMsgReduction off'}], u'name': u'common-defaults'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : Restart rsyslogd for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:144 Saturday 27 July 2024 04:25:42 -0400 (0:00:01.480) 0:00:10.386 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:148 Saturday 27 July 2024 04:25:42 -0400 (0:00:00.073) 0:00:10.460 ********* skipping: [managed_node1] => (item={u'comment': u'Global options', u'options': u'global(\n workDirectory="/var/lib/rsyslog"\n maxMessageSize="8192"\n)\n', u'filename': u'00-global.conf'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'type': u'modules', u'state': u'absent', u'sections': [{u'options': u'# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}], u'name': u'local-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'type': u'global', u'sections': [{u'comment': u'Log every message', u'options': u'$RepeatedMsgReduction off'}], u'name': u'common-defaults'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include input sub-vars] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:166 Saturday 27 July 2024 04:25:42 -0400 (0:00:00.086) 0:00:10.546 ********* ok: [managed_node1] => (item={u'type': u'basics', u'name': u'basic_input'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Saturday 27 July 2024 04:25:42 -0400 (0:00:00.076) 0:00:10.623 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update basics input packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Saturday 27 July 2024 04:25:42 -0400 (0:00:00.138) 0:00:10.761 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:43 -0400 (0:00:00.111) 0:00:10.873 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:43 -0400 (0:00:00.062) 0:00:10.935 ********* TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:43 -0400 (0:00:00.059) 0:00:10.995 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:43 -0400 (0:00:00.073) 0:00:11.068 ********* TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create basics input configuration file /etc/rsyslog.d/input-basics-basic_input] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Saturday 27 July 2024 04:25:43 -0400 (0:00:00.059) 0:00:11.128 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:43 -0400 (0:00:00.159) 0:00:11.287 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:43 -0400 (0:00:00.062) 0:00:11.350 ********* changed: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call default_files\n}\n'}], u'name': u'input-basics-basic_input'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:44 -0400 (0:00:00.916) 0:00:12.266 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:44 -0400 (0:00:00.079) 0:00:12.346 ********* skipping: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call default_files\n}\n'}], u'name': u'input-basics-basic_input'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:192 Saturday 27 July 2024 04:25:44 -0400 (0:00:00.324) 0:00:12.670 ********* ok: [managed_node1] => (item={u'target': u'host.domain', u'facility': u'local1', u'tcp_port': 1514, u'name': u'forwards_severity_and_facility', u'queue': {u'saveonshutdown': u'on', u'spooldirectory': u'/var/spool/rsyslog', u'filename': u'forwards'}, u'template': u'syslog', u'action': {u'resumeinterval': 300, u'resumecount': 50}, u'type': u'forwards', u'severity': u'info'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "action": { "resumecount": 50, "resumeinterval": 300 }, "facility": "local1", "name": "forwards_severity_and_facility", "queue": { "filename": "forwards", "saveonshutdown": "on", "spooldirectory": "/var/spool/rsyslog" }, "severity": "info", "target": "host.domain", "tcp_port": 1514, "template": "syslog", "type": "forwards" } } ok: [managed_node1] => (item={u'tcp_port': 2514, u'type': u'forwards', u'target': u'host.domain', u'name': u'forwards_facility_only', u'facility': u'local2'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } } ok: [managed_node1] => (item={u'tcp_port': 3514, u'type': u'forwards', u'target': u'host.domain', u'name': u'forwards_severity_only', u'severity': u'err'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "forwards_severity_only", "severity": "err", "target": "host.domain", "tcp_port": 3514, "type": "forwards" } } ok: [managed_node1] => (item={u'tcp_port': 4514, u'type': u'forwards', u'name': u'forwards_no_severity_and_facility', u'target': u'host.domain'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "forwards_no_severity_and_facility", "target": "host.domain", "tcp_port": 4514, "type": "forwards" } } ok: [managed_node1] => (item={u'type': u'forwards', u'udp_port': 6514, u'name': u'forwards_no_severity_and_facility_udp', u'target': u'host.domain'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "forwards_no_severity_and_facility_udp", "target": "host.domain", "type": "forwards", "udp_port": 6514 } } ok: [managed_node1] => (item={u'type': u'forwards', u'name': u'forwards_no_severity_and_facility_protocol_port', u'target': u'host.domain'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "forwards_no_severity_and_facility_protocol_port", "target": "host.domain", "type": "forwards" } } ok: [managed_node1] => (item={u'type': u'forwards', u'name': u'forwards_no_severity_and_facility_protocol_port_target', u'target': u'host.domain'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "forwards_no_severity_and_facility_protocol_port_target", "target": "host.domain", "type": "forwards" } } ok: [managed_node1] => (item={u'type': u'files', u'name': u'default_files'}) => { "ansible_facts": { "__rsyslog_conf_files_output_modules": [ { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_files_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfile\" Template=\"RSYSLOG_TraditionalFileFormat\")\n{% elif logging_files_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfile\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfile\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_files_output_packages": [], "__rsyslog_files_output_rules": [ "{{ __rsyslog_conf_files_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:204 Saturday 27 July 2024 04:25:45 -0400 (0:00:00.196) 0:00:12.867 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for managed_node1 included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for managed_node1 included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for managed_node1 included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for managed_node1 included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for managed_node1 included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for managed_node1 included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for managed_node1 included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Saturday 27 July 2024 04:25:45 -0400 (0:00:00.243) 0:00:13.110 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:45 -0400 (0:00:00.114) 0:00:13.224 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:45 -0400 (0:00:00.064) 0:00:13.289 ********* changed: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:46 -0400 (0:00:00.698) 0:00:13.988 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:46 -0400 (0:00:00.083) 0:00:14.072 ********* skipping: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file /etc/rsyslog.d/output-forwards-forwards_severity_and_facility] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Saturday 27 July 2024 04:25:46 -0400 (0:00:00.128) 0:00:14.201 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:46 -0400 (0:00:00.120) 0:00:14.321 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:46 -0400 (0:00:00.063) 0:00:14.385 ********* changed: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_SyslogProtocol23Format"\n action.resumeinterval="300"\n queue.saveonshutdown="on"\n queue.spooldirectory="/var/spool/rsyslog"\n queue.filename="forwards"\n )\n}\n'}], u'name': u'output-forwards-forwards_severity_and_facility'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:47 -0400 (0:00:01.066) 0:00:15.451 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:47 -0400 (0:00:00.092) 0:00:15.544 ********* skipping: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_SyslogProtocol23Format"\n action.resumeinterval="300"\n queue.saveonshutdown="on"\n queue.spooldirectory="/var/spool/rsyslog"\n queue.filename="forwards"\n )\n}\n'}], u'name': u'output-forwards-forwards_severity_and_facility'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Saturday 27 July 2024 04:25:48 -0400 (0:00:00.521) 0:00:16.066 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:48 -0400 (0:00:00.112) 0:00:16.178 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:48 -0400 (0:00:00.063) 0:00:16.242 ********* ok: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:49 -0400 (0:00:00.644) 0:00:16.887 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:49 -0400 (0:00:00.094) 0:00:16.981 ********* skipping: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file /etc/rsyslog.d/output-forwards-forwards_facility_only] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Saturday 27 July 2024 04:25:49 -0400 (0:00:00.080) 0:00:17.062 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:49 -0400 (0:00:00.172) 0:00:17.235 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:49 -0400 (0:00:00.065) 0:00:17.300 ********* changed: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_facility_only'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:50 -0400 (0:00:00.810) 0:00:18.110 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:50 -0400 (0:00:00.096) 0:00:18.207 ********* skipping: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_facility_only'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Saturday 27 July 2024 04:25:50 -0400 (0:00:00.224) 0:00:18.431 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:50 -0400 (0:00:00.110) 0:00:18.542 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:50 -0400 (0:00:00.065) 0:00:18.608 ********* ok: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:51 -0400 (0:00:00.618) 0:00:19.226 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:51 -0400 (0:00:00.102) 0:00:19.329 ********* skipping: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file /etc/rsyslog.d/output-forwards-forwards_severity_only] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Saturday 27 July 2024 04:25:51 -0400 (0:00:00.081) 0:00:19.410 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:51 -0400 (0:00:00.121) 0:00:19.532 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:51 -0400 (0:00:00.064) 0:00:19.596 ********* changed: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_severity_only") {\n *.err action(name="forwards_severity_only"\n type="omfwd"\n Target="host.domain"\n Port="3514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_severity_only'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:52 -0400 (0:00:00.914) 0:00:20.511 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:52 -0400 (0:00:00.110) 0:00:20.621 ********* skipping: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_severity_only") {\n *.err action(name="forwards_severity_only"\n type="omfwd"\n Target="host.domain"\n Port="3514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_severity_only'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Saturday 27 July 2024 04:25:53 -0400 (0:00:00.238) 0:00:20.860 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:53 -0400 (0:00:00.116) 0:00:20.977 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:53 -0400 (0:00:00.066) 0:00:21.043 ********* ok: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:53 -0400 (0:00:00.660) 0:00:21.704 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:53 -0400 (0:00:00.113) 0:00:21.817 ********* skipping: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file /etc/rsyslog.d/output-forwards-forwards_no_severity_and_facility] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Saturday 27 July 2024 04:25:54 -0400 (0:00:00.079) 0:00:21.897 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:54 -0400 (0:00:00.121) 0:00:22.018 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:54 -0400 (0:00:00.066) 0:00:22.085 ********* changed: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_no_severity_and_facility") {\n *.* action(name="forwards_no_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="4514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_no_severity_and_facility'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "aa9786f7370e806ddc5e1aa5c107b24f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 297, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:55 -0400 (0:00:00.952) 0:00:23.037 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa9786f7370e806ddc5e1aa5c107b24f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 297, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:55 -0400 (0:00:00.114) 0:00:23.152 ********* skipping: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_no_severity_and_facility") {\n *.* action(name="forwards_no_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="4514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_no_severity_and_facility'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Saturday 27 July 2024 04:25:55 -0400 (0:00:00.231) 0:00:23.383 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:55 -0400 (0:00:00.110) 0:00:23.494 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:55 -0400 (0:00:00.063) 0:00:23.557 ********* ok: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:56 -0400 (0:00:00.611) 0:00:24.168 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa9786f7370e806ddc5e1aa5c107b24f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 297, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:56 -0400 (0:00:00.113) 0:00:24.282 ********* skipping: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file /etc/rsyslog.d/output-forwards-forwards_no_severity_and_facility_udp] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Saturday 27 July 2024 04:25:56 -0400 (0:00:00.085) 0:00:24.367 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:56 -0400 (0:00:00.115) 0:00:24.483 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:56 -0400 (0:00:00.061) 0:00:24.545 ********* changed: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_no_severity_and_facility_udp") {\n *.* action(name="forwards_no_severity_and_facility_udp"\n type="omfwd"\n Target="host.domain"\n Port="6514"\n Protocol="udp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_no_severity_and_facility_udp'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_udp", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_udp\") {\n *.* action(name=\"forwards_no_severity_and_facility_udp\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"6514\"\n Protocol=\"udp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "3b0ac8798df4200ec85e4bd24678e1f1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 305, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:57 -0400 (0:00:00.874) 0:00:25.419 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa9786f7370e806ddc5e1aa5c107b24f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 297, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_udp", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_udp\") {\n *.* action(name=\"forwards_no_severity_and_facility_udp\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"6514\"\n Protocol=\"udp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3b0ac8798df4200ec85e4bd24678e1f1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 305, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:57 -0400 (0:00:00.115) 0:00:25.535 ********* skipping: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_no_severity_and_facility_udp") {\n *.* action(name="forwards_no_severity_and_facility_udp"\n type="omfwd"\n Target="host.domain"\n Port="6514"\n Protocol="udp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_no_severity_and_facility_udp'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_udp", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_udp\") {\n *.* action(name=\"forwards_no_severity_and_facility_udp\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"6514\"\n Protocol=\"udp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Saturday 27 July 2024 04:25:58 -0400 (0:00:00.314) 0:00:25.849 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:58 -0400 (0:00:00.112) 0:00:25.962 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:58 -0400 (0:00:00.065) 0:00:26.027 ********* ok: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:25:58 -0400 (0:00:00.629) 0:00:26.656 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa9786f7370e806ddc5e1aa5c107b24f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 297, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_udp", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_udp\") {\n *.* action(name=\"forwards_no_severity_and_facility_udp\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"6514\"\n Protocol=\"udp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3b0ac8798df4200ec85e4bd24678e1f1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 305, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:25:58 -0400 (0:00:00.125) 0:00:26.782 ********* skipping: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file /etc/rsyslog.d/output-forwards-forwards_no_severity_and_facility_protocol_port] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Saturday 27 July 2024 04:25:59 -0400 (0:00:00.082) 0:00:26.864 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:25:59 -0400 (0:00:00.117) 0:00:26.982 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:25:59 -0400 (0:00:00.062) 0:00:27.045 ********* changed: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_no_severity_and_facility_protocol_port") {\n *.* action(name="forwards_no_severity_and_facility_protocol_port"\n type="omfwd"\n Target="host.domain"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_no_severity_and_facility_protocol_port'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "f3736a4c2da1ee70aa0d104121a039aa", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 282, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:26:00 -0400 (0:00:00.831) 0:00:27.877 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa9786f7370e806ddc5e1aa5c107b24f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 297, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_udp", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_udp\") {\n *.* action(name=\"forwards_no_severity_and_facility_udp\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"6514\"\n Protocol=\"udp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3b0ac8798df4200ec85e4bd24678e1f1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 305, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f3736a4c2da1ee70aa0d104121a039aa", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 282, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:26:00 -0400 (0:00:00.127) 0:00:28.005 ********* skipping: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_no_severity_and_facility_protocol_port") {\n *.* action(name="forwards_no_severity_and_facility_protocol_port"\n type="omfwd"\n Target="host.domain"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_no_severity_and_facility_protocol_port'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Saturday 27 July 2024 04:26:00 -0400 (0:00:00.305) 0:00:28.310 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:26:00 -0400 (0:00:00.165) 0:00:28.476 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:26:00 -0400 (0:00:00.068) 0:00:28.544 ********* ok: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:26:01 -0400 (0:00:00.630) 0:00:29.175 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa9786f7370e806ddc5e1aa5c107b24f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 297, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_udp", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_udp\") {\n *.* action(name=\"forwards_no_severity_and_facility_udp\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"6514\"\n Protocol=\"udp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3b0ac8798df4200ec85e4bd24678e1f1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 305, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f3736a4c2da1ee70aa0d104121a039aa", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 282, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:26:01 -0400 (0:00:00.135) 0:00:29.311 ********* skipping: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat")\n'}], u'type': u'modules', u'name': u'output-forwards-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file /etc/rsyslog.d/output-forwards-forwards_no_severity_and_facility_protocol_port_target] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Saturday 27 July 2024 04:26:01 -0400 (0:00:00.085) 0:00:29.397 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:26:01 -0400 (0:00:00.120) 0:00:29.518 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:26:01 -0400 (0:00:00.063) 0:00:29.582 ********* changed: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_no_severity_and_facility_protocol_port_target") {\n *.* action(name="forwards_no_severity_and_facility_protocol_port_target"\n type="omfwd"\n Target="host.domain"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_no_severity_and_facility_protocol_port_target'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "98bedd47b27f0aae844f84c93adab08d01144717", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port_target.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port_target", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port_target\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port_target\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "20a5bd413522819009fffac7f14e350c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 296, "src": "/root/.ansible/tmp/ansible-tmp-1722068762.0-15340-254619232501533/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:26:02 -0400 (0:00:00.956) 0:00:30.538 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa9786f7370e806ddc5e1aa5c107b24f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 297, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_udp", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_udp\") {\n *.* action(name=\"forwards_no_severity_and_facility_udp\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"6514\"\n Protocol=\"udp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3b0ac8798df4200ec85e4bd24678e1f1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 305, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f3736a4c2da1ee70aa0d104121a039aa", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 282, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "98bedd47b27f0aae844f84c93adab08d01144717", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port_target.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port_target", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port_target\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port_target\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "98bedd47b27f0aae844f84c93adab08d01144717", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port_target.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068762.0-15340-254619232501533/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20a5bd413522819009fffac7f14e350c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 296, "src": "/root/.ansible/tmp/ansible-tmp-1722068762.0-15340-254619232501533/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:26:02 -0400 (0:00:00.138) 0:00:30.677 ********* skipping: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="forwards_no_severity_and_facility_protocol_port_target") {\n *.* action(name="forwards_no_severity_and_facility_protocol_port_target"\n type="omfwd"\n Target="host.domain"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}], u'name': u'output-forwards-forwards_no_severity_and_facility_protocol_port_target'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port_target", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port_target\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port_target\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Saturday 27 July 2024 04:26:03 -0400 (0:00:00.307) 0:00:30.984 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:26:03 -0400 (0:00:00.165) 0:00:31.150 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:26:03 -0400 (0:00:00.066) 0:00:31.217 ********* ok: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfile")\n'}], u'type': u'modules', u'name': u'output-files-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 151, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:26:04 -0400 (0:00:00.625) 0:00:31.842 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa9786f7370e806ddc5e1aa5c107b24f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 297, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_udp", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_udp\") {\n *.* action(name=\"forwards_no_severity_and_facility_udp\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"6514\"\n Protocol=\"udp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3b0ac8798df4200ec85e4bd24678e1f1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 305, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f3736a4c2da1ee70aa0d104121a039aa", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 282, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "98bedd47b27f0aae844f84c93adab08d01144717", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port_target.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port_target", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port_target\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port_target\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "98bedd47b27f0aae844f84c93adab08d01144717", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port_target.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068762.0-15340-254619232501533/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20a5bd413522819009fffac7f14e350c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 296, "src": "/root/.ansible/tmp/ansible-tmp-1722068762.0-15340-254619232501533/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 151, "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:26:04 -0400 (0:00:00.147) 0:00:31.989 ********* skipping: [managed_node1] => (item={u'sections': [{u'comment': u'Log messages into files with traditional, syslog, or default format', u'options': u'module(load="builtin:omfile")\n'}], u'type': u'modules', u'name': u'output-files-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create files output configuration file /etc/rsyslog.d/output-files-default_files] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:11 Saturday 27 July 2024 04:26:04 -0400 (0:00:00.080) 0:00:32.070 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 27 July 2024 04:26:04 -0400 (0:00:00.120) 0:00:32.191 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 27 July 2024 04:26:04 -0400 (0:00:00.066) 0:00:32.257 ********* changed: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="default_files") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don\'t log private authentication messages!\n*.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n'}], u'name': u'output-files-default_files'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5d0e449c124f3969caed011361d8076be6b778ed", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n*.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "59b5e3a49aa4019cfcb5072a139717e9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1148, "src": "/root/.ansible/tmp/ansible-tmp-1722068764.68-15385-75388731108210/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 27 July 2024 04:26:05 -0400 (0:00:00.878) 0:00:33.136 ********* ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n maxMessageSize=\"8192\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "01785a86b4dbac8d6fa956de9fe2565e9b46e79b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "unsafe_writes": false, "validate": null } }, "md5sum": "58af10f7f33e77c7a7cb4f3f08ca4f19", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 137, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.15-14966-259696973380317/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "cd87491589393ab4a5f556a614493c4c27a80733", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "unsafe_writes": false, "validate": null } }, "md5sum": "67b8db030cbdc1a113a66f29287f3698", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 96, "src": "/root/.ansible/tmp/ansible-tmp-1722068741.94-14966-156264991516524/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_only\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_udp\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_no_severity_and_facility_protocol_port_target\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b61b85b44afae47b774ad21720895599b19453be", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3432ce93798c119b675ea5466432cc01", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1383, "src": "/root/.ansible/tmp/ansible-tmp-1722068743.85-15018-254161032569790/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3d30bc116d2bb5e0c249a0b80aa54f50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "src": "/root/.ansible/tmp/ansible-tmp-1722068745.54-15046-177443655951214/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_SyslogProtocol23Format\"\n action.resumeinterval=\"300\"\n queue.saveonshutdown=\"on\"\n queue.spooldirectory=\"/var/spool/rsyslog\"\n queue.filename=\"forwards\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "unsafe_writes": false, "validate": null } }, "md5sum": "870d3301e8c5d3f40a244ccd34c1699c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 462, "src": "/root/.ansible/tmp/ansible-tmp-1722068747.02-15070-202138320382005/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6323e0bec496fa375d0c070440930f93", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 280, "src": "/root/.ansible/tmp/ansible-tmp-1722068749.69-15115-42995995683443/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_only", "sections": [ { "options": "ruleset(name=\"forwards_severity_only\") {\n *.err action(name=\"forwards_severity_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"3514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "unsafe_writes": false, "validate": null } }, "md5sum": "efd4034421decd92884a852b7d40e633", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 277, "src": "/root/.ansible/tmp/ansible-tmp-1722068752.06-15160-123163106756454/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility\") {\n *.* action(name=\"forwards_no_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"4514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa9786f7370e806ddc5e1aa5c107b24f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 297, "src": "/root/.ansible/tmp/ansible-tmp-1722068754.56-15205-109929730033787/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_udp", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_udp\") {\n *.* action(name=\"forwards_no_severity_and_facility_udp\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"6514\"\n Protocol=\"udp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3b0ac8798df4200ec85e4bd24678e1f1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 305, "src": "/root/.ansible/tmp/ansible-tmp-1722068756.94-15250-251449559597821/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f3736a4c2da1ee70aa0d104121a039aa", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 282, "src": "/root/.ansible/tmp/ansible-tmp-1722068759.45-15295-242225314976738/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6e102ac9fef41515191ca200dde66257a71b7eee", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 194, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "98bedd47b27f0aae844f84c93adab08d01144717", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port_target.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_no_severity_and_facility_protocol_port_target", "sections": [ { "options": "ruleset(name=\"forwards_no_severity_and_facility_protocol_port_target\") {\n *.* action(name=\"forwards_no_severity_and_facility_protocol_port_target\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "98bedd47b27f0aae844f84c93adab08d01144717", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port_target.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068762.0-15340-254619232501533/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20a5bd413522819009fffac7f14e350c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 296, "src": "/root/.ansible/tmp/ansible-tmp-1722068762.0-15340-254619232501533/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 151, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5d0e449c124f3969caed011361d8076be6b778ed", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n*.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5d0e449c124f3969caed011361d8076be6b778ed", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1722068764.68-15385-75388731108210/source", "unsafe_writes": false, "validate": null } }, "md5sum": "59b5e3a49aa4019cfcb5072a139717e9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1148, "src": "/root/.ansible/tmp/ansible-tmp-1722068764.68-15385-75388731108210/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 27 July 2024 04:26:05 -0400 (0:00:00.145) 0:00:33.282 ********* skipping: [managed_node1] => (item={u'type': u'output', u'state': u'present', u'sections': [{u'options': u'ruleset(name="default_files") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don\'t log private authentication messages!\n*.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n'}], u'name': u'output-files-default_files'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n*.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:217 Saturday 27 July 2024 04:26:05 -0400 (0:00:00.252) 0:00:33.535 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:234 Saturday 27 July 2024 04:26:05 -0400 (0:00:00.064) 0:00:33.599 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:254 Saturday 27 July 2024 04:26:05 -0400 (0:00:00.075) 0:00:33.675 ********* TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:275 Saturday 27 July 2024 04:26:05 -0400 (0:00:00.064) 0:00:33.739 ********* skipping: [managed_node1] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:283 Saturday 27 July 2024 04:26:06 -0400 (0:00:00.146) 0:00:33.886 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:295 Saturday 27 July 2024 04:26:06 -0400 (0:00:00.074) 0:00:33.961 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:307 Saturday 27 July 2024 04:26:06 -0400 (0:00:00.077) 0:00:34.038 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:319 Saturday 27 July 2024 04:26:06 -0400 (0:00:00.072) 0:00:34.111 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "rsyslog", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 04:25:30 EDT", "ActiveEnterTimestampMonotonic": "476657455", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target basic.target network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 04:25:30 EDT", "AssertTimestampMonotonic": "476651809", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 04:25:30 EDT", "ConditionTimestampMonotonic": "476651808", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "23404", "ExecMainStartTimestamp": "Sat 2024-07-27 04:25:30 EDT", "ExecMainStartTimestampMonotonic": "476652507", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Sat 2024-07-27 04:25:30 EDT] ; stop_time=[n/a] ; pid=23404 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 04:25:30 EDT", "InactiveExitTimestampMonotonic": "476652559", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "23404", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Sat 2024-07-27 04:25:30 EDT", "WatchdogTimestampMonotonic": "476657416", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:327 Saturday 27 July 2024 04:26:07 -0400 (0:00:00.741) 0:00:34.852 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:336 Saturday 27 July 2024 04:26:07 -0400 (0:00:00.066) 0:00:34.918 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : See if there are any config files] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:348 Saturday 27 July 2024 04:26:07 -0400 (0:00:00.061) 0:00:34.980 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:355 Saturday 27 July 2024 04:26:07 -0400 (0:00:00.068) 0:00:35.048 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722068730.8061903, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1722068715.3482952, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 136774, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "406346720", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:361 Saturday 27 July 2024 04:26:07 -0400 (0:00:00.369) 0:00:35.417 ********* changed: [managed_node1] => { "changed": true, "checksum": "5fe705203b62f654be0460d9893da023dbffb94d", "dest": "/etc/rsyslog.conf", "gid": 0, "group": "root", "md5sum": "06be1b21217661badf921ea6dcceb702", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 131, "src": "/root/.ansible/tmp/ansible-tmp-1722068767.64-15443-231524924010180/source", "state": "file", "uid": 0 } RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : Restart rsyslogd] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Saturday 27 July 2024 04:26:08 -0400 (0:00:00.618) 0:00:36.036 ********* changed: [managed_node1] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 04:25:30 EDT", "ActiveEnterTimestampMonotonic": "476657455", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target basic.target network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 04:25:30 EDT", "AssertTimestampMonotonic": "476651809", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 04:25:30 EDT", "ConditionTimestampMonotonic": "476651808", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "23404", "ExecMainStartTimestamp": "Sat 2024-07-27 04:25:30 EDT", "ExecMainStartTimestampMonotonic": "476652507", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Sat 2024-07-27 04:25:30 EDT] ; stop_time=[n/a] ; pid=23404 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 04:25:30 EDT", "InactiveExitTimestampMonotonic": "476652559", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "23404", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Sat 2024-07-27 04:25:30 EDT", "WatchdogTimestampMonotonic": "476657416", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:121 Saturday 27 July 2024 04:26:08 -0400 (0:00:00.507) 0:00:36.543 ********* included: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml for managed_node1 TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:2 Saturday 27 July 2024 04:26:08 -0400 (0:00:00.125) 0:00:36.669 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722068768.6129723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5fe705203b62f654be0460d9893da023dbffb94d", "ctime": 1722068768.1609747, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722068767.928976, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "version": "406347167", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get file counts in /etc/rsyslog.d] *************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:7 Saturday 27 July 2024 04:26:09 -0400 (0:00:00.401) 0:00:37.070 ********* ok: [managed_node1] => { "changed": false, "examined": 15, "files": [ { "atime": 1722068768.6129723, "ctime": 1722068757.4970334, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068757.2210348, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 305, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068768.6129723, "ctime": 1722068762.6130052, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262579, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068762.296007, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port_target.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 296, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068768.6129723, "ctime": 1722068765.208991, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262581, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068764.9819922, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1148, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068768.6129723, "ctime": 1722068755.0700467, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262472, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068754.8470478, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 297, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068748.7370813, "ctime": 1722068746.0660958, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262454, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068745.8160973, "nlink": 1, "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 194, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068768.6129723, "ctime": 1722068750.1830733, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262456, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068749.9610746, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 280, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068730.80819, "ctime": 1722068727.0962155, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262448, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068726.871217, "nlink": 1, "path": "/etc/rsyslog.d/90-custom-output.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 106, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068768.6129723, "ctime": 1722068744.3421054, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262453, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068744.1221066, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1383, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068768.6139722, "ctime": 1722068741.8251193, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262449, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068741.4391212, "nlink": 1, "path": "/etc/rsyslog.d/00-global.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 137, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068768.6129723, "ctime": 1722068747.5280879, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262455, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068747.3020892, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 462, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068768.6129723, "ctime": 1722068742.4601157, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262450, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068742.235117, "nlink": 1, "path": "/etc/rsyslog.d/05-common-defaults.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 96, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068768.6129723, "ctime": 1722068752.5880601, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068752.3500614, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068578.8014343, "ctime": 1722068573.5224695, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068573.291471, "nlink": 1, "path": "/etc/rsyslog.d/10-output-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 151, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722068768.6129723, "ctime": 1722068759.9540198, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262578, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722068759.729021, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 282, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 14 } TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:13 Saturday 27 July 2024 04:26:09 -0400 (0:00:00.485) 0:00:37.556 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:18 Saturday 27 July 2024 04:26:09 -0400 (0:00:00.067) 0:00:37.623 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:23 Saturday 27 July 2024 04:26:09 -0400 (0:00:00.058) 0:00:37.681 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:27 Saturday 27 July 2024 04:26:09 -0400 (0:00:00.068) 0:00:37.749 ********* ok: [managed_node1] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "stat": { "atime": 1722068768.6129723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "25af19b21f1a2769ff3241c2de50cceca9fb66b5", "ctime": 1722068747.5280879, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262455, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722068747.3020892, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 462, "uid": 0, "version": "406347011", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "stat": { "atime": 1722068768.6129723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ac42e1dea4e03f676f11b40c4fdf9eee8625a0ee", "ctime": 1722068750.1830733, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262456, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722068749.9610746, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 280, "uid": 0, "version": "406347031", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "stat": { "atime": 1722068768.6129723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f61f9f18b049691aea6b517fc92de232f465d930", "ctime": 1722068752.5880601, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722068752.3500614, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_only.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "406347050", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "stat": { "atime": 1722068768.6129723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e66c04146507304cf2888a9bddab53e3857d33b2", "ctime": 1722068755.0700467, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262472, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722068754.8470478, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 297, "uid": 0, "version": "406347069", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "stat": { "atime": 1722068768.6129723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b997afe52a0257c5966017b7b5f58e34701d7ea3", "ctime": 1722068757.4970334, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722068757.2210348, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_udp.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 305, "uid": 0, "version": "406347089", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "stat": { "atime": 1722068768.6129723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e93b27e0031367d4b6a4803d015d7dcf84d1b15d", "ctime": 1722068759.9540198, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262578, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722068759.729021, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_no_severity_and_facility_protocol_port.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 282, "uid": 0, "version": "406347108", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/30-output-files-default_files.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-files-default_files.conf", "stat": { "atime": 1722068768.6129723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5d0e449c124f3969caed011361d8076be6b778ed", "ctime": 1722068765.208991, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262581, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722068764.9819922, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1148, "uid": 0, "version": "406347147", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:35 Saturday 27 July 2024 04:26:12 -0400 (0:00:02.325) 0:00:40.075 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the module param template is set to "RSYSLOG_TraditionalForwardFormat"] *** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:136 Saturday 27 July 2024 04:26:12 -0400 (0:00:00.061) 0:00:40.136 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "RSYSLOG_TraditionalForwardFormat", "/etc/rsyslog.d/10-output-forwards-modules.conf" ], "delta": "0:00:00.003390", "end": "2024-07-27 04:26:12.735138", "rc": 0, "start": "2024-07-27 04:26:12.731748" } STDOUT: module(load="builtin:omfwd" Template="RSYSLOG_TraditionalForwardFormat") TASK [Generate a file to check severity_and_facility] ************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:143 Saturday 27 July 2024 04:26:12 -0400 (0:00:00.512) 0:00:40.649 ********* changed: [managed_node1] => { "changed": true, "checksum": "e5c038b1475a3ca6421730d9f81450018d6e9835", "dest": "/tmp/__testfile__", "gid": 0, "group": "root", "md5sum": "18f6e224419fd94c5ca9d4a8091dfbef", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 459, "src": "/root/.ansible/tmp/ansible-tmp-1722068772.86-15556-156305041365661/source", "state": "file", "uid": 0 } TASK [Check severity_and_facility] ********************************************* task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:166 Saturday 27 July 2024 04:26:13 -0400 (0:00:00.629) 0:00:41.278 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "diff", "-B", "/tmp/__testfile__", "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf" ], "delta": "0:00:00.003223", "end": "2024-07-27 04:26:13.722624", "rc": 1, "start": "2024-07-27 04:26:13.719401" } STDOUT: 12a14 > queue.saveonshutdown="on" 15d16 < queue.saveonshutdown="on" MSG: non-zero return code TASK [Remove tempdir] ********************************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:634 Saturday 27 July 2024 04:26:13 -0400 (0:00:00.358) 0:00:41.637 ********* changed: [managed_node1 -> localhost] => { "changed": true, "path": "/tmp/logging_test_l5KBHi", "state": "absent" } TASK [Remove test file] ******************************************************** task path: /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:640 Saturday 27 July 2024 04:26:14 -0400 (0:00:00.206) 0:00:41.844 ********* changed: [managed_node1] => { "changed": true, "path": "/tmp/__testfile__", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=110 changed=17 unreachable=0 failed=1 skipped=87 rescued=0 ignored=0 Saturday 27 July 2024 04:26:14 -0400 (0:00:00.311) 0:00:42.155 ********* =============================================================================== Check conf files exist -------------------------------------------------- 2.33s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:27 fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts --- 1.55s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:44 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate common rsyslog configuration files in rsyslog.d --- 1.48s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:120 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 1.07s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.96s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.95s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.92s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.92s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.88s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.87s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:2 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.83s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.81s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 0.76s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service --- 0.74s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:319 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.70s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.66s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.64s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 0.63s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Generate a file to check severity_and_facility -------------------------- 0.63s /tmp/tmp.yfYyFFxD0z/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_forwards.yml:143