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_ovirt_elasticsearch.yml **************************************** 1 plays in /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml PLAY [Ensure that the role runs with parameters from ovirt to two elasticsearch outputs and local files output] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:2 Saturday 21 September 2024 04:26:39 -0400 (0:00:00.053) 0:00:00.053 **** ok: [managed_node1] META: ran handlers TASK [TEST CASE 0; Ensure basic ovirt default configuration works] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:28 Saturday 21 September 2024 04:26:40 -0400 (0:00:01.098) 0:00:01.151 **** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:7 Saturday 21 September 2024 04:26:40 -0400 (0:00:00.111) 0:00:01.262 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:14 Saturday 21 September 2024 04:26:40 -0400 (0:00:00.067) 0:00:01.330 **** ok: [managed_node1] => { "ansible_facts": { "rsyslog_outputs": [ { "name": "default_files", "type": "files" }, { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es", "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" }, { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es-ops", "server_port": 9200, "type": "elasticsearch" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:18 Saturday 21 September 2024 04:26:40 -0400 (0:00:00.076) 0:00:01.407 **** ok: [managed_node1] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "type": "basics" }, { "name": "ovirt_collectd_input", "subtype": "collectd", "type": "ovirt" }, { "name": "ovirt_engine_input", "subtype": "engine", "type": "ovirt" }, { "name": "ovirt_vdsm_input", "subtype": "vdsm", "type": "ovirt" }, { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:22 Saturday 21 September 2024 04:26:40 -0400 (0:00:00.078) 0:00:01.485 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.logging : Use of type custom is deprecated] **** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Saturday 21 September 2024 04:26:40 -0400 (0:00:00.068) 0:00:01.554 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:42 Saturday 21 September 2024 04:26:40 -0400 (0:00:00.075) 0:00:01.629 **** skipping: [managed_node1] => (item={u'inputs': [u'ovirt_collectd_input', u'ovirt_engine_input', u'ovirt_vdsm_input'], u'name': u'flow_0', u'outputs': [u'elasticsearch_output', u'elasticsearch_output_ops']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "ovirt_collectd_input", "ovirt_engine_input", "ovirt_vdsm_input" ], "name": "flow_0", "outputs": [ "elasticsearch_output", "elasticsearch_output_ops" ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'inputs': [u'basic_input'], u'name': u'flow_1', u'outputs': [u'default_files']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_1", "outputs": [ "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 Saturday 21 September 2024 04:26:40 -0400 (0:00:00.124) 0:00:01.754 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Saturday 21 September 2024 04:26:40 -0400 (0:00:00.116) 0:00:01.870 **** ok: [managed_node1] => { "ansible_facts": { "logging_tls_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tcp_ports] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:7 Saturday 21 September 2024 04:26:40 -0400 (0:00:00.068) 0:00:01.939 **** ok: [managed_node1] => { "ansible_facts": { "logging_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tls_udp_ports] **** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 Saturday 21 September 2024 04:26:40 -0400 (0:00:00.069) 0:00:02.009 **** ok: [managed_node1] => { "ansible_facts": { "logging_tls_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_udp_ports] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.066) 0:00:02.075 **** ok: [managed_node1] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.082) 0:00:02.158 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.068) 0:00:02.226 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.071) 0:00:02.298 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.072) 0:00:02.371 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.068) 0:00:02.440 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.073) 0:00:02.513 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.071) 0:00:02.584 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.068) 0:00:02.652 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.121) 0:00:02.774 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.120) 0:00:02.895 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 Saturday 21 September 2024 04:26:41 -0400 (0:00:00.119) 0:00:03.014 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.126) 0:00:03.141 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.206) 0:00:03.347 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.068) 0:00:03.416 **** TASK [fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.058) 0:00:03.475 **** TASK [Manage firewall for specified ports] ************************************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.058) 0:00:03.534 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.069) 0:00:03.603 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.131) 0:00:03.735 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.071) 0:00:03.807 **** TASK [fedora.linux_system_roles.logging : Add tls tcp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:16 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.060) 0:00:03.867 **** TASK [fedora.linux_system_roles.logging : Add non tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.064) 0:00:03.932 **** TASK [fedora.linux_system_roles.logging : Add tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:26 Saturday 21 September 2024 04:26:42 -0400 (0:00:00.068) 0:00:04.000 **** TASK [Manage selinux for specified ports] ************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.061) 0:00:04.062 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Generate certificates] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:62 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.065) 0:00:04.127 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed_node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.105) 0:00:04.233 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:68 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.065) 0:00:04.299 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:72 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.055) 0:00:04.355 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:78 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.051) 0:00:04.406 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:83 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.056) 0:00:04.462 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:90 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.073) 0:00:04.536 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:94 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.068) 0:00:04.605 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:105 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.066) 0:00:04.671 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.066) 0:00:04.738 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.034) 0:00:04.773 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Saturday 21 September 2024 04:26:43 -0400 (0:00:00.046) 0:00:04.819 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Saturday 21 September 2024 04:26:44 -0400 (0:00:00.430) 0:00:05.249 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Saturday 21 September 2024 04:26:44 -0400 (0:00:00.048) 0:00:05.297 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Saturday 21 September 2024 04:26:44 -0400 (0:00:00.109) 0:00:05.407 **** skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/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/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Saturday 21 September 2024 04:26:44 -0400 (0:00:00.088) 0:00:05.496 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:15 Saturday 21 September 2024 04:26:44 -0400 (0:00:00.171) 0:00:05.667 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:22 Saturday 21 September 2024 04:26:44 -0400 (0:00:00.037) 0:00:05.705 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Saturday 21 September 2024 04:26:44 -0400 (0:00:00.022) 0:00:05.728 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:40 Saturday 21 September 2024 04:26:45 -0400 (0:00:00.626) 0:00:06.354 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:44 Saturday 21 September 2024 04:26:45 -0400 (0:00:00.032) 0:00:06.386 **** 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" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "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" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "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" } ], "rsyslog-gnutls": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog-gnutls", "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" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:48 Saturday 21 September 2024 04:26:46 -0400 (0:00:01.551) 0:00:07.937 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:55 Saturday 21 September 2024 04:26:46 -0400 (0:00:00.076) 0:00:08.014 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:60 Saturday 21 September 2024 04:26:47 -0400 (0:00:00.062) 0:00:08.077 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:68 Saturday 21 September 2024 04:26:47 -0400 (0:00:00.060) 0:00:08.138 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:76 Saturday 21 September 2024 04:26:47 -0400 (0:00:00.058) 0:00:08.196 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:83 Saturday 21 September 2024 04:26:47 -0400 (0:00:00.453) 0:00:08.650 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:89 Saturday 21 September 2024 04:26:48 -0400 (0:00:00.377) 0:00:09.028 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:97 Saturday 21 September 2024 04:26:48 -0400 (0:00:00.350) 0:00:09.379 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:120 Saturday 21 September 2024 04:26:48 -0400 (0:00:00.284) 0:00:09.663 **** 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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:144 Saturday 21 September 2024 04:26:50 -0400 (0:00:01.553) 0:00:11.216 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:148 Saturday 21 September 2024 04:26:50 -0400 (0:00:00.105) 0:00:11.322 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:166 Saturday 21 September 2024 04:26:50 -0400 (0:00:00.138) 0:00:11.461 **** ok: [managed_node1] => (item={u'type': u'basics', u'name': u'basic_input'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/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" } } ok: [managed_node1] => (item={u'subtype': u'collectd', u'type': u'ovirt', u'name': u'ovirt_collectd_input'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_collectd_input", "subtype": "collectd", "type": "ovirt" } } ok: [managed_node1] => (item={u'subtype': u'engine', u'type': u'ovirt', u'name': u'ovirt_engine_input'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_engine_input", "subtype": "engine", "type": "ovirt" } } ok: [managed_node1] => (item={u'subtype': u'vdsm', u'type': u'ovirt', u'name': u'ovirt_vdsm_input'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_vdsm_input", "subtype": "vdsm", "type": "ovirt" } } ok: [managed_node1] => (item={u'subtype': u'bogus', u'type': u'ovirt', u'name': u'ovirt_bogus_input'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Saturday 21 September 2024 04:26:50 -0400 (0:00:00.217) 0:00:11.678 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update basics input packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Saturday 21 September 2024 04:26:51 -0400 (0:00:00.576) 0:00:12.255 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:26:51 -0400 (0:00:00.316) 0:00:12.571 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:26:51 -0400 (0:00:00.148) 0:00:12.720 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:26:51 -0400 (0:00:00.115) 0:00:12.835 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:26:51 -0400 (0:00:00.128) 0:00:12.964 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create basics input configuration file /etc/rsyslog.d/input-basics-basic_input] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Saturday 21 September 2024 04:26:52 -0400 (0:00:00.093) 0:00:13.057 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:26:52 -0400 (0:00:00.300) 0:00:13.358 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:26:52 -0400 (0:00:00.104) 0:00:13.462 **** 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 default_files\n}\n'}], u'name': u'input-basics-basic_input'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:26:53 -0400 (0:00:01.325) 0:00:14.787 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:26:53 -0400 (0:00:00.189) 0:00:14.977 **** 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 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 default_files\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Saturday 21 September 2024 04:26:54 -0400 (0:00:00.932) 0:00:15.909 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Saturday 21 September 2024 04:26:55 -0400 (0:00:00.250) 0:00:16.160 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:9 Saturday 21 September 2024 04:26:55 -0400 (0:00:00.119) 0:00:16.279 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Saturday 21 September 2024 04:26:55 -0400 (0:00:00.249) 0:00:16.529 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:26:55 -0400 (0:00:00.197) 0:00:16.726 **** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "liblognorm" ] }, "rc": 0, "results": [ "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed", "libfastjson-0.99.4-3.el7.x86_64 providing libfastjson is already installed", "libestr-0.1.9-2.el7.x86_64 providing libestr is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package liblognorm.x86_64 0:2.0.2-3.el7 will be installed\n---> Package rsyslog-mmjsonparse.x86_64 0:8.24.0-57.el7_9.3 will be installed\n---> Package rsyslog-mmnormalize.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n liblognorm x86_64 2.0.2-3.el7 base 76 k\n rsyslog-mmjsonparse x86_64 8.24.0-57.el7_9.3 updates 44 k\n rsyslog-mmnormalize x86_64 8.24.0-57.el7_9.3 updates 44 k\n\nTransaction Summary\n================================================================================\nInstall 3 Packages\n\nTotal download size: 164 k\nInstalled size: 206 k\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 286 kB/s | 164 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : liblognorm-2.0.2-3.el7.x86_64 1/3 \n Installing : rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 2/3 \n Installing : rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 3/3 \n Verifying : liblognorm-2.0.2-3.el7.x86_64 1/3 \n Verifying : rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 2/3 \n Verifying : rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 3/3 \n\nInstalled:\n liblognorm.x86_64 0:2.0.2-3.el7 \n rsyslog-mmjsonparse.x86_64 0:8.24.0-57.el7_9.3 \n rsyslog-mmnormalize.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } lsrpackages: libestr libfastjson liblognorm policycoreutils-python rsyslog-mmjsonparse rsyslog-mmnormalize TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:26:59 -0400 (0:00:04.218) 0:00:20.944 **** changed: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:27:04 -0400 (0:00:04.350) 0:00:25.295 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:27:04 -0400 (0:00:00.303) 0:00:25.599 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file /etc/rsyslog.d/input-ovirt-ovirt_collectd_input] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Saturday 21 September 2024 04:27:04 -0400 (0:00:00.352) 0:00:25.951 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:27:05 -0400 (0:00:00.273) 0:00:26.225 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:27:05 -0400 (0:00:00.111) 0:00:26.336 **** changed: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(name="ovirt_collectd_input" type="imtcp" port="44514")\nif $inputname == "ovirt_collectd_input" then {\n set $!original_raw_message = $msg;\n action(name="collectd_mmjsonparse" type="mmjsonparse" cookie="") # parse entire message as json\n set $!@timestamp = exec_template(\'cnvt_to_viaq_timestamp\');\n unset $!time;\n if $!collectd!plugin == \'virt\' then {\n set $!ovirt!entity = \'vms\';\n } else {\n set $!ovirt!entity = \'hosts\';\n }\n set $.index_prefix = "project.ovirt-metrics" & "-" & "engine" & "." & "" & ".";\n set $.input_type = "ovirt";\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_collectd_input'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:27:06 -0400 (0:00:01.459) 0:00:27.795 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:27:07 -0400 (0:00:00.322) 0:00:28.118 **** skipping: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(name="ovirt_collectd_input" type="imtcp" port="44514")\nif $inputname == "ovirt_collectd_input" then {\n set $!original_raw_message = $msg;\n action(name="collectd_mmjsonparse" type="mmjsonparse" cookie="") # parse entire message as json\n set $!@timestamp = exec_template(\'cnvt_to_viaq_timestamp\');\n unset $!time;\n if $!collectd!plugin == \'virt\' then {\n set $!ovirt!entity = \'vms\';\n } else {\n set $!ovirt!entity = \'hosts\';\n }\n set $.index_prefix = "project.ovirt-metrics" & "-" & "engine" & "." & "" & ".";\n set $.input_type = "ovirt";\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_collectd_input'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [Ensure collectd port is allowed for rsyslogd to listen to] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Saturday 21 September 2024 04:27:07 -0400 (0:00:00.540) 0:00:28.658 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 21 September 2024 04:27:08 -0400 (0:00:00.415) 0:00:29.074 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 21 September 2024 04:27:08 -0400 (0:00:00.255) 0:00:29.329 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 21 September 2024 04:27:08 -0400 (0:00:00.175) 0:00:29.504 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 21 September 2024 04:27:08 -0400 (0:00:00.313) 0:00:29.817 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 21 September 2024 04:27:09 -0400 (0:00:00.763) 0:00:30.581 **** ok: [managed_node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 21 September 2024 04:27:09 -0400 (0:00:00.135) 0:00:30.716 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 21 September 2024 04:27:10 -0400 (0:00:00.439) 0:00:31.156 **** ok: [managed_node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 21 September 2024 04:27:10 -0400 (0:00:00.101) 0:00:31.258 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 21 September 2024 04:27:10 -0400 (0:00:00.603) 0:00:31.861 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 21 September 2024 04:27:10 -0400 (0:00:00.106) 0:00:31.967 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 21 September 2024 04:27:11 -0400 (0:00:00.096) 0:00:32.064 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 21 September 2024 04:27:11 -0400 (0:00:00.175) 0:00:32.240 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 21 September 2024 04:27:11 -0400 (0:00:00.103) 0:00:32.344 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 21 September 2024 04:27:11 -0400 (0:00:00.106) 0:00:32.450 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 21 September 2024 04:27:11 -0400 (0:00:00.097) 0:00:32.548 **** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.566) 0:00:33.115 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.062) 0:00:33.177 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.061) 0:00:33.238 **** ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.081) 0:00:33.320 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.095) 0:00:33.415 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.094) 0:00:33.510 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.077) 0:00:33.587 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.080) 0:00:33.668 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.061) 0:00:33.729 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.063) 0:00:33.793 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.061) 0:00:33.854 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.059) 0:00:33.913 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 21 September 2024 04:27:12 -0400 (0:00:00.069) 0:00:33.983 **** changed: [managed_node1] => (item={u'setype': u'syslogd_port_t', u'proto': u'tcp', u'local': True, u'state': u'present', u'ports': u'44514'}) => { "__selinux_item": { "local": true, "ports": "44514", "proto": "tcp", "setype": "syslogd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": true, "ports": [ "44514" ], "proto": "tcp", "setype": "syslogd_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 21 September 2024 04:27:16 -0400 (0:00:03.425) 0:00:37.408 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 21 September 2024 04:27:16 -0400 (0:00:00.076) 0:00:37.485 **** ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 21 September 2024 04:27:19 -0400 (0:00:03.008) 0:00:40.493 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 21 September 2024 04:27:19 -0400 (0:00:00.139) 0:00:40.632 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 21 September 2024 04:27:19 -0400 (0:00:00.155) 0:00:40.788 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Notify rsyslogd restart] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:42 Saturday 21 September 2024 04:27:19 -0400 (0:00:00.203) 0:00:40.991 **** ok: [managed_node1] => {} MSG: Notify rsyslogd restart TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Saturday 21 September 2024 04:27:20 -0400 (0:00:00.159) 0:00:41.151 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Saturday 21 September 2024 04:27:20 -0400 (0:00:00.294) 0:00:41.445 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:9 Saturday 21 September 2024 04:27:20 -0400 (0:00:00.125) 0:00:41.571 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Saturday 21 September 2024 04:27:21 -0400 (0:00:00.461) 0:00:42.032 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:27:21 -0400 (0:00:00.285) 0:00:42.317 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed", "rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmnormalize is already installed", "rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmjsonparse is already installed", "libfastjson-0.99.4-3.el7.x86_64 providing libfastjson is already installed", "liblognorm-2.0.2-3.el7.x86_64 providing liblognorm is already installed", "libestr-0.1.9-2.el7.x86_64 providing libestr is already installed" ] } lsrpackages: libestr libfastjson liblognorm policycoreutils-python rsyslog-mmjsonparse rsyslog-mmnormalize TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:27:22 -0400 (0:00:01.008) 0:00:43.326 **** ok: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:27:26 -0400 (0:00:04.446) 0:00:47.772 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:27:26 -0400 (0:00:00.223) 0:00:47.995 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file /etc/rsyslog.d/input-ovirt-ovirt_engine_input] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Saturday 21 September 2024 04:27:27 -0400 (0:00:00.415) 0:00:48.411 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:27:27 -0400 (0:00:00.304) 0:00:48.716 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:27:27 -0400 (0:00:00.137) 0:00:48.853 **** changed: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_engine_input" then {\n action(name="ovirt-engine_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_engine.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_engine_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-11-201.us-east-1.aws.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.11.201\';\n set $!ovirt!engine_fqdn = \'\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_engine_input'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:27:29 -0400 (0:00:01.316) 0:00:50.170 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907248.29-26039-75466053638607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:27:29 -0400 (0:00:00.453) 0:00:50.624 **** skipping: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_engine_input" then {\n action(name="ovirt-engine_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_engine.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_engine_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-11-201.us-east-1.aws.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.11.201\';\n set $!ovirt!engine_fqdn = \'\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_engine_input'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [Ensure collectd port is allowed for rsyslogd to listen to] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Saturday 21 September 2024 04:27:30 -0400 (0:00:00.775) 0:00:51.400 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 21 September 2024 04:27:30 -0400 (0:00:00.321) 0:00:51.722 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 21 September 2024 04:27:30 -0400 (0:00:00.300) 0:00:52.023 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 21 September 2024 04:27:31 -0400 (0:00:00.286) 0:00:52.310 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 21 September 2024 04:27:31 -0400 (0:00:00.346) 0:00:52.656 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 21 September 2024 04:27:31 -0400 (0:00:00.152) 0:00:52.809 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 21 September 2024 04:27:31 -0400 (0:00:00.147) 0:00:52.956 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 21 September 2024 04:27:32 -0400 (0:00:00.148) 0:00:53.104 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 21 September 2024 04:27:32 -0400 (0:00:00.140) 0:00:53.245 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 21 September 2024 04:27:33 -0400 (0:00:00.814) 0:00:54.060 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 21 September 2024 04:27:33 -0400 (0:00:00.181) 0:00:54.241 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 21 September 2024 04:27:33 -0400 (0:00:00.149) 0:00:54.391 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 21 September 2024 04:27:33 -0400 (0:00:00.142) 0:00:54.533 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 21 September 2024 04:27:33 -0400 (0:00:00.139) 0:00:54.672 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 21 September 2024 04:27:33 -0400 (0:00:00.227) 0:00:54.899 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 21 September 2024 04:27:33 -0400 (0:00:00.120) 0:00:55.020 **** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 21 September 2024 04:27:34 -0400 (0:00:00.902) 0:00:55.922 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 21 September 2024 04:27:35 -0400 (0:00:00.201) 0:00:56.124 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 21 September 2024 04:27:35 -0400 (0:00:00.143) 0:00:56.267 **** ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 21 September 2024 04:27:35 -0400 (0:00:00.291) 0:00:56.558 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 21 September 2024 04:27:35 -0400 (0:00:00.183) 0:00:56.741 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 21 September 2024 04:27:35 -0400 (0:00:00.147) 0:00:56.889 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 21 September 2024 04:27:36 -0400 (0:00:00.137) 0:00:57.026 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 21 September 2024 04:27:36 -0400 (0:00:00.136) 0:00:57.163 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 21 September 2024 04:27:36 -0400 (0:00:00.135) 0:00:57.298 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 21 September 2024 04:27:36 -0400 (0:00:00.160) 0:00:57.458 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 21 September 2024 04:27:36 -0400 (0:00:00.159) 0:00:57.618 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 21 September 2024 04:27:36 -0400 (0:00:00.330) 0:00:57.949 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 21 September 2024 04:27:37 -0400 (0:00:00.169) 0:00:58.118 **** ok: [managed_node1] => (item={u'setype': u'syslogd_port_t', u'proto': u'tcp', u'local': True, u'state': u'present', u'ports': u'44514'}) => { "__selinux_item": { "local": true, "ports": "44514", "proto": "tcp", "setype": "syslogd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "ports": [ "44514" ], "proto": "tcp", "setype": "syslogd_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 21 September 2024 04:27:37 -0400 (0:00:00.584) 0:00:58.703 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 21 September 2024 04:27:37 -0400 (0:00:00.168) 0:00:58.871 **** ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 21 September 2024 04:27:40 -0400 (0:00:02.718) 0:01:01.589 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 21 September 2024 04:27:40 -0400 (0:00:00.177) 0:01:01.767 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 21 September 2024 04:27:40 -0400 (0:00:00.152) 0:01:01.919 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Notify rsyslogd restart] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:42 Saturday 21 September 2024 04:27:41 -0400 (0:00:00.110) 0:01:02.030 **** ok: [managed_node1] => {} MSG: Notify rsyslogd restart TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Saturday 21 September 2024 04:27:41 -0400 (0:00:00.207) 0:01:02.237 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Saturday 21 September 2024 04:27:41 -0400 (0:00:00.298) 0:01:02.536 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:9 Saturday 21 September 2024 04:27:41 -0400 (0:00:00.196) 0:01:02.732 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Saturday 21 September 2024 04:27:42 -0400 (0:00:00.407) 0:01:03.140 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:27:42 -0400 (0:00:00.260) 0:01:03.400 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed", "rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmnormalize is already installed", "rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmjsonparse is already installed", "libfastjson-0.99.4-3.el7.x86_64 providing libfastjson is already installed", "liblognorm-2.0.2-3.el7.x86_64 providing liblognorm is already installed", "libestr-0.1.9-2.el7.x86_64 providing libestr is already installed" ] } lsrpackages: libestr libfastjson liblognorm policycoreutils-python rsyslog-mmjsonparse rsyslog-mmnormalize TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:27:43 -0400 (0:00:00.857) 0:01:04.257 **** ok: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:27:46 -0400 (0:00:02.873) 0:01:07.130 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907248.29-26039-75466053638607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:27:46 -0400 (0:00:00.292) 0:01:07.423 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file /etc/rsyslog.d/input-ovirt-ovirt_vdsm_input] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Saturday 21 September 2024 04:27:46 -0400 (0:00:00.247) 0:01:07.670 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:27:46 -0400 (0:00:00.285) 0:01:07.956 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:27:47 -0400 (0:00:00.140) 0:01:08.097 **** changed: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_vdsm_input" then {\n action(name="ovirt-vdsm_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_vdsm.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_vdsm_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-11-201.us-east-1.aws.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.11.201\';\n set $!ovirt!engine_fqdn = \'\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_vdsm_input'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "38667be06854e93013d7e91d2cdbf9b9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1296, "src": "/root/.ansible/tmp/ansible-tmp-1726907267.47-26823-202322534717709/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:27:48 -0400 (0:00:01.226) 0:01:09.323 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907248.29-26039-75466053638607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907267.47-26823-202322534717709/source", "unsafe_writes": false, "validate": null } }, "md5sum": "38667be06854e93013d7e91d2cdbf9b9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1296, "src": "/root/.ansible/tmp/ansible-tmp-1726907267.47-26823-202322534717709/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:27:48 -0400 (0:00:00.341) 0:01:09.665 **** skipping: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_vdsm_input" then {\n action(name="ovirt-vdsm_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_vdsm.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_vdsm_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-11-201.us-east-1.aws.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.11.201\';\n set $!ovirt!engine_fqdn = \'\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_vdsm_input'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [Ensure collectd port is allowed for rsyslogd to listen to] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Saturday 21 September 2024 04:27:49 -0400 (0:00:00.633) 0:01:10.299 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 21 September 2024 04:27:49 -0400 (0:00:00.589) 0:01:10.888 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 21 September 2024 04:27:50 -0400 (0:00:00.301) 0:01:11.189 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 21 September 2024 04:27:50 -0400 (0:00:00.260) 0:01:11.450 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 21 September 2024 04:27:50 -0400 (0:00:00.334) 0:01:11.784 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 21 September 2024 04:27:50 -0400 (0:00:00.152) 0:01:11.937 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 21 September 2024 04:27:51 -0400 (0:00:00.160) 0:01:12.098 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 21 September 2024 04:27:51 -0400 (0:00:00.257) 0:01:12.356 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 21 September 2024 04:27:51 -0400 (0:00:00.164) 0:01:12.520 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 21 September 2024 04:27:52 -0400 (0:00:00.677) 0:01:13.197 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 21 September 2024 04:27:52 -0400 (0:00:00.358) 0:01:13.555 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 21 September 2024 04:27:52 -0400 (0:00:00.164) 0:01:13.720 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 21 September 2024 04:27:52 -0400 (0:00:00.177) 0:01:13.898 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 21 September 2024 04:27:53 -0400 (0:00:00.155) 0:01:14.054 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 21 September 2024 04:27:53 -0400 (0:00:00.136) 0:01:14.190 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 21 September 2024 04:27:53 -0400 (0:00:00.167) 0:01:14.357 **** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 21 September 2024 04:27:54 -0400 (0:00:00.701) 0:01:15.059 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 21 September 2024 04:27:54 -0400 (0:00:00.148) 0:01:15.208 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 21 September 2024 04:27:54 -0400 (0:00:00.133) 0:01:15.341 **** ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 21 September 2024 04:27:54 -0400 (0:00:00.170) 0:01:15.512 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 21 September 2024 04:27:54 -0400 (0:00:00.168) 0:01:15.680 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 21 September 2024 04:27:54 -0400 (0:00:00.214) 0:01:15.895 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 21 September 2024 04:27:55 -0400 (0:00:00.144) 0:01:16.039 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 21 September 2024 04:27:55 -0400 (0:00:00.245) 0:01:16.285 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 21 September 2024 04:27:55 -0400 (0:00:00.251) 0:01:16.536 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 21 September 2024 04:27:55 -0400 (0:00:00.251) 0:01:16.788 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 21 September 2024 04:27:56 -0400 (0:00:00.264) 0:01:17.052 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 21 September 2024 04:27:56 -0400 (0:00:00.162) 0:01:17.214 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 21 September 2024 04:27:56 -0400 (0:00:00.149) 0:01:17.363 **** ok: [managed_node1] => (item={u'setype': u'syslogd_port_t', u'proto': u'tcp', u'local': True, u'state': u'present', u'ports': u'44514'}) => { "__selinux_item": { "local": true, "ports": "44514", "proto": "tcp", "setype": "syslogd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "ports": [ "44514" ], "proto": "tcp", "setype": "syslogd_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 21 September 2024 04:27:56 -0400 (0:00:00.558) 0:01:17.922 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 21 September 2024 04:27:57 -0400 (0:00:00.107) 0:01:18.030 **** ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 21 September 2024 04:27:59 -0400 (0:00:02.718) 0:01:20.748 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 21 September 2024 04:27:59 -0400 (0:00:00.137) 0:01:20.886 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 21 September 2024 04:27:59 -0400 (0:00:00.127) 0:01:21.013 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Notify rsyslogd restart] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:42 Saturday 21 September 2024 04:28:00 -0400 (0:00:00.135) 0:01:21.149 **** ok: [managed_node1] => {} MSG: Notify rsyslogd restart TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Saturday 21 September 2024 04:28:00 -0400 (0:00:00.145) 0:01:21.294 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Saturday 21 September 2024 04:28:00 -0400 (0:00:00.244) 0:01:21.539 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:9 Saturday 21 September 2024 04:28:00 -0400 (0:00:00.171) 0:01:21.710 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Saturday 21 September 2024 04:28:01 -0400 (0:00:00.313) 0:01:22.023 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:28:01 -0400 (0:00:00.258) 0:01:22.282 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed", "rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmnormalize is already installed", "rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmjsonparse is already installed", "libfastjson-0.99.4-3.el7.x86_64 providing libfastjson is already installed", "liblognorm-2.0.2-3.el7.x86_64 providing liblognorm is already installed", "libestr-0.1.9-2.el7.x86_64 providing libestr is already installed" ] } lsrpackages: libestr libfastjson liblognorm policycoreutils-python rsyslog-mmjsonparse rsyslog-mmnormalize TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:28:02 -0400 (0:00:00.743) 0:01:23.026 **** ok: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:28:05 -0400 (0:00:03.706) 0:01:26.733 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907248.29-26039-75466053638607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907267.47-26823-202322534717709/source", "unsafe_writes": false, "validate": null } }, "md5sum": "38667be06854e93013d7e91d2cdbf9b9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1296, "src": "/root/.ansible/tmp/ansible-tmp-1726907267.47-26823-202322534717709/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:28:06 -0400 (0:00:00.340) 0:01:27.073 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file /etc/rsyslog.d/input-ovirt-ovirt_bogus_input] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Saturday 21 September 2024 04:28:06 -0400 (0:00:00.171) 0:01:27.245 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure collectd port is allowed for rsyslogd to listen to] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Saturday 21 September 2024 04:28:06 -0400 (0:00:00.096) 0:01:27.342 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 21 September 2024 04:28:06 -0400 (0:00:00.269) 0:01:27.611 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 21 September 2024 04:28:06 -0400 (0:00:00.275) 0:01:27.886 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 21 September 2024 04:28:07 -0400 (0:00:00.179) 0:01:28.066 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 21 September 2024 04:28:07 -0400 (0:00:00.356) 0:01:28.423 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 21 September 2024 04:28:07 -0400 (0:00:00.178) 0:01:28.601 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 21 September 2024 04:28:07 -0400 (0:00:00.178) 0:01:28.779 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 21 September 2024 04:28:07 -0400 (0:00:00.141) 0:01:28.921 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 21 September 2024 04:28:08 -0400 (0:00:00.139) 0:01:29.060 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 21 September 2024 04:28:08 -0400 (0:00:00.805) 0:01:29.866 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 21 September 2024 04:28:08 -0400 (0:00:00.134) 0:01:30.000 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 21 September 2024 04:28:09 -0400 (0:00:00.084) 0:01:30.085 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 21 September 2024 04:28:09 -0400 (0:00:00.151) 0:01:30.237 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 21 September 2024 04:28:09 -0400 (0:00:00.243) 0:01:30.480 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 21 September 2024 04:28:09 -0400 (0:00:00.175) 0:01:30.655 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 21 September 2024 04:28:09 -0400 (0:00:00.192) 0:01:30.847 **** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 21 September 2024 04:28:10 -0400 (0:00:00.680) 0:01:31.528 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 21 September 2024 04:28:10 -0400 (0:00:00.122) 0:01:31.650 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 21 September 2024 04:28:10 -0400 (0:00:00.111) 0:01:31.762 **** ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 21 September 2024 04:28:10 -0400 (0:00:00.102) 0:01:31.865 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 21 September 2024 04:28:11 -0400 (0:00:00.164) 0:01:32.029 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 21 September 2024 04:28:11 -0400 (0:00:00.141) 0:01:32.171 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 21 September 2024 04:28:11 -0400 (0:00:00.142) 0:01:32.314 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 21 September 2024 04:28:11 -0400 (0:00:00.182) 0:01:32.496 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 21 September 2024 04:28:11 -0400 (0:00:00.177) 0:01:32.673 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 21 September 2024 04:28:11 -0400 (0:00:00.134) 0:01:32.808 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 21 September 2024 04:28:12 -0400 (0:00:00.260) 0:01:33.068 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 21 September 2024 04:28:12 -0400 (0:00:00.133) 0:01:33.201 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 21 September 2024 04:28:12 -0400 (0:00:00.178) 0:01:33.380 **** ok: [managed_node1] => (item={u'setype': u'syslogd_port_t', u'proto': u'tcp', u'local': True, u'state': u'present', u'ports': u'44514'}) => { "__selinux_item": { "local": true, "ports": "44514", "proto": "tcp", "setype": "syslogd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "ports": [ "44514" ], "proto": "tcp", "setype": "syslogd_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 21 September 2024 04:28:13 -0400 (0:00:00.706) 0:01:34.086 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 21 September 2024 04:28:13 -0400 (0:00:00.149) 0:01:34.236 **** ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 21 September 2024 04:28:15 -0400 (0:00:02.739) 0:01:36.975 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 21 September 2024 04:28:16 -0400 (0:00:00.082) 0:01:37.058 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 21 September 2024 04:28:16 -0400 (0:00:00.177) 0:01:37.236 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Notify rsyslogd restart] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:42 Saturday 21 September 2024 04:28:16 -0400 (0:00:00.147) 0:01:37.384 **** ok: [managed_node1] => {} MSG: Notify rsyslogd restart TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:192 Saturday 21 September 2024 04:28:16 -0400 (0:00:00.147) 0:01:37.531 **** 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/collections-Pjh/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" } } ok: [managed_node1] => (item={u'private_key': u'/etc/rsyslog.d/es-key.pem', u'index_prefix': u'project.', u'name': u'elasticsearch_output', u'ca_cert': u'/etc/rsyslog.d/es-ca.crt', u'input_type': u'ovirt', u'server_host': u'logging-es', u'cert': u'/etc/rsyslog.d/es-cert.pem', u'server_port': 9200, u'type': u'elasticsearch', u'retryfailures': False, u'uid': u'testuser0'}) => { "ansible_facts": { "__rsyslog_conf_es_elasticsearch": [ { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"{{ __rsyslog_work_dir }}/es-bulk-errors.log\")\n}" } ], "type": "output" } ], "__rsyslog_conf_es_main_modules": [ { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" } ], "__rsyslog_elasticsearch_packages": [ "rsyslog-elasticsearch" ], "__rsyslog_elasticsearch_rules": [ "{{ __rsyslog_conf_es_main_modules }}", "{{ __rsyslog_conf_es_elasticsearch }}" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es", "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" } } ok: [managed_node1] => (item={u'private_key': u'/etc/rsyslog.d/es-key.pem', u'index_prefix': u'.operations.', u'name': u'elasticsearch_output_ops', u'ca_cert': u'/etc/rsyslog.d/es-ca.crt', u'input_type': u'ovirt', u'server_host': u'logging-es-ops', u'cert': u'/etc/rsyslog.d/es-cert.pem', u'server_port': 9200, u'type': u'elasticsearch', u'retryfailures': False}) => { "ansible_facts": { "__rsyslog_conf_es_elasticsearch": [ { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"{{ __rsyslog_work_dir }}/es-bulk-errors.log\")\n}" } ], "type": "output" } ], "__rsyslog_conf_es_main_modules": [ { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" } ], "__rsyslog_elasticsearch_packages": [ "rsyslog-elasticsearch" ], "__rsyslog_elasticsearch_rules": [ "{{ __rsyslog_conf_es_main_modules }}", "{{ __rsyslog_conf_es_elasticsearch }}" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es-ops", "server_port": 9200, "type": "elasticsearch" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:204 Saturday 21 September 2024 04:28:16 -0400 (0:00:00.223) 0:01:37.755 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for managed_node1 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Saturday 21 September 2024 04:28:17 -0400 (0:00:00.315) 0:01:38.071 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:28:17 -0400 (0:00:00.174) 0:01:38.245 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:28:17 -0400 (0:00:00.154) 0:01:38.400 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:28:18 -0400 (0:00:00.799) 0:01:39.199 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907248.29-26039-75466053638607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907267.47-26823-202322534717709/source", "unsafe_writes": false, "validate": null } }, "md5sum": "38667be06854e93013d7e91d2cdbf9b9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1296, "src": "/root/.ansible/tmp/ansible-tmp-1726907267.47-26823-202322534717709/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:28:18 -0400 (0:00:00.354) 0:01:39.554 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:11 Saturday 21 September 2024 04:28:18 -0400 (0:00:00.211) 0:01:39.766 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:28:18 -0400 (0:00:00.250) 0:01:40.017 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:28:19 -0400 (0:00:00.110) 0:01:40.127 **** ok: [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, "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" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1148, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:28:20 -0400 (0:00:00.945) 0:01:41.073 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907248.29-26039-75466053638607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907267.47-26823-202322534717709/source", "unsafe_writes": false, "validate": null } }, "md5sum": "38667be06854e93013d7e91d2cdbf9b9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1296, "src": "/root/.ansible/tmp/ansible-tmp-1726907267.47-26823-202322534717709/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5d0e449c124f3969caed011361d8076be6b778ed", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "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": { "_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/30-output-files-default_files.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/30-output-files-default_files.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/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1148, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:28:20 -0400 (0:00:00.305) 0:01:41.379 **** 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 : Set and check certs and key for elasticsearch] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Saturday 21 September 2024 04:28:20 -0400 (0:00:00.417) 0:01:41.796 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:10 Saturday 21 September 2024 04:28:20 -0400 (0:00:00.208) 0:01:42.005 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:17 Saturday 21 September 2024 04:28:21 -0400 (0:00:00.161) 0:01:42.166 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:24 Saturday 21 September 2024 04:28:21 -0400 (0:00:00.178) 0:01:42.344 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:31 Saturday 21 September 2024 04:28:21 -0400 (0:00:00.413) 0:01:42.758 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:36 Saturday 21 September 2024 04:28:21 -0400 (0:00:00.156) 0:01:42.914 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Saturday 21 September 2024 04:28:22 -0400 (0:00:00.141) 0:01:43.055 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:28:22 -0400 (0:00:00.311) 0:01:43.366 **** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "rsyslog-elasticsearch" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog-elasticsearch.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n rsyslog-elasticsearch x86_64 8.24.0-57.el7_9.3 updates 54 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 54 k\nInstalled size: 44 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64 1/1 \n Verifying : rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64 1/1 \n\nInstalled:\n rsyslog-elasticsearch.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } lsrpackages: rsyslog-elasticsearch TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:28:25 -0400 (0:00:03.354) 0:01:46.721 **** changed: [managed_node1] => (item={u'sections': [{u'options': u'# Send to Elasticsearch\nmodule(load="omelasticsearch")'}], u'type': u'modules', u'name': u'output-elasticsearch-module'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "md5sum": "3c1b70ae145a75a8736af9f7676f36a5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "src": "/root/.ansible/tmp/ansible-tmp-1726907305.8-28411-192040401672594/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'sections': [{u'options': u'# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}], u'type': u'output', u'name': u'output-elasticsearch'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "md5sum": "7da07b533c1ef11e26c9ddeec6967df3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "src": "/root/.ansible/tmp/ansible-tmp-1726907306.4-28411-271259202725808/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:28:26 -0400 (0:00:01.299) 0:01:48.021 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907248.29-26039-75466053638607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907267.47-26823-202322534717709/source", "unsafe_writes": false, "validate": null } }, "md5sum": "38667be06854e93013d7e91d2cdbf9b9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1296, "src": "/root/.ansible/tmp/ansible-tmp-1726907267.47-26823-202322534717709/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5d0e449c124f3969caed011361d8076be6b778ed", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "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": { "_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/30-output-files-default_files.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/30-output-files-default_files.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/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1148, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.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-1726907305.8-28411-192040401672594/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3c1b70ae145a75a8736af9f7676f36a5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "src": "/root/.ansible/tmp/ansible-tmp-1726907305.8-28411-192040401672594/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.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-1726907306.4-28411-271259202725808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "7da07b533c1ef11e26c9ddeec6967df3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "src": "/root/.ansible/tmp/ansible-tmp-1726907306.4-28411-271259202725808/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:28:27 -0400 (0:00:00.389) 0:01:48.410 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Send to Elasticsearch\nmodule(load="omelasticsearch")'}], u'type': u'modules', u'name': u'output-elasticsearch-module'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}], u'type': u'output', u'name': u'output-elasticsearch'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file /etc/rsyslog.d/output-elasticsearch-elasticsearch_output] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Saturday 21 September 2024 04:28:27 -0400 (0:00:00.119) 0:01:48.530 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file no-log /etc/rsyslog.d/output-elasticsearch-elasticsearch_output] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Saturday 21 September 2024 04:28:27 -0400 (0:00:00.115) 0:01:48.645 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:8 Saturday 21 September 2024 04:28:27 -0400 (0:00:00.203) 0:01:48.849 **** 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 with no_log] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:18 Saturday 21 September 2024 04:28:27 -0400 (0:00:00.116) 0:01:48.965 **** changed: [managed_node1] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:37 Saturday 21 September 2024 04:28:28 -0400 (0:00:00.943) 0:01:49.909 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907248.29-26039-75466053638607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907267.47-26823-202322534717709/source", "unsafe_writes": false, "validate": null } }, "md5sum": "38667be06854e93013d7e91d2cdbf9b9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1296, "src": "/root/.ansible/tmp/ansible-tmp-1726907267.47-26823-202322534717709/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5d0e449c124f3969caed011361d8076be6b778ed", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "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": { "_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/30-output-files-default_files.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/30-output-files-default_files.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/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1148, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.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-1726907305.8-28411-192040401672594/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3c1b70ae145a75a8736af9f7676f36a5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "src": "/root/.ansible/tmp/ansible-tmp-1726907305.8-28411-192040401672594/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.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-1726907306.4-28411-271259202725808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "7da07b533c1ef11e26c9ddeec6967df3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "src": "/root/.ansible/tmp/ansible-tmp-1726907306.4-28411-271259202725808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ccabc669c834ab58f5b7c05527fa99853ed974b0", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=\"logging-es\"\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"off\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n uid=\"testuser0\"\n pwd=\"password0\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ccabc669c834ab58f5b7c05527fa99853ed974b0", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1726907308.28-28510-278218259003892/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fc06abc282bd86492f3b462d1c8e8cf1", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2076, "src": "/root/.ansible/tmp/ansible-tmp-1726907308.28-28510-278218259003892/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d with no_log] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:41 Saturday 21 September 2024 04:28:29 -0400 (0:00:00.264) 0:01:50.173 **** skipping: [managed_node1] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Saturday 21 September 2024 04:28:29 -0400 (0:00:00.470) 0:01:50.644 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:10 Saturday 21 September 2024 04:28:29 -0400 (0:00:00.270) 0:01:50.914 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:17 Saturday 21 September 2024 04:28:30 -0400 (0:00:00.147) 0:01:51.062 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:24 Saturday 21 September 2024 04:28:30 -0400 (0:00:00.192) 0:01:51.254 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:31 Saturday 21 September 2024 04:28:30 -0400 (0:00:00.171) 0:01:51.425 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:36 Saturday 21 September 2024 04:28:30 -0400 (0:00:00.195) 0:01:51.621 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Saturday 21 September 2024 04:28:30 -0400 (0:00:00.162) 0:01:51.783 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:28:31 -0400 (0:00:00.269) 0:01:52.052 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64 providing rsyslog-elasticsearch is already installed" ] } lsrpackages: rsyslog-elasticsearch TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:28:31 -0400 (0:00:00.646) 0:01:52.699 **** ok: [managed_node1] => (item={u'sections': [{u'options': u'# Send to Elasticsearch\nmodule(load="omelasticsearch")'}], u'type': u'modules', u'name': u'output-elasticsearch-module'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'sections': [{u'options': u'# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}], u'type': u'output', u'name': u'output-elasticsearch'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:28:32 -0400 (0:00:01.266) 0:01:53.965 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907248.29-26039-75466053638607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907267.47-26823-202322534717709/source", "unsafe_writes": false, "validate": null } }, "md5sum": "38667be06854e93013d7e91d2cdbf9b9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1296, "src": "/root/.ansible/tmp/ansible-tmp-1726907267.47-26823-202322534717709/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5d0e449c124f3969caed011361d8076be6b778ed", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "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": { "_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/30-output-files-default_files.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/30-output-files-default_files.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/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1148, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.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-1726907305.8-28411-192040401672594/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3c1b70ae145a75a8736af9f7676f36a5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "src": "/root/.ansible/tmp/ansible-tmp-1726907305.8-28411-192040401672594/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.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-1726907306.4-28411-271259202725808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "7da07b533c1ef11e26c9ddeec6967df3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "src": "/root/.ansible/tmp/ansible-tmp-1726907306.4-28411-271259202725808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ccabc669c834ab58f5b7c05527fa99853ed974b0", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=\"logging-es\"\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"off\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n uid=\"testuser0\"\n pwd=\"password0\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ccabc669c834ab58f5b7c05527fa99853ed974b0", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1726907308.28-28510-278218259003892/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fc06abc282bd86492f3b462d1c8e8cf1", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2076, "src": "/root/.ansible/tmp/ansible-tmp-1726907308.28-28510-278218259003892/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "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-elasticsearch-module.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-elasticsearch-module.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-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "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/30-output-elasticsearch.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/30-output-elasticsearch.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/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:28:33 -0400 (0:00:00.354) 0:01:54.319 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Send to Elasticsearch\nmodule(load="omelasticsearch")'}], u'type': u'modules', u'name': u'output-elasticsearch-module'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}], u'type': u'output', u'name': u'output-elasticsearch'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file /etc/rsyslog.d/output-elasticsearch-elasticsearch_output_ops] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Saturday 21 September 2024 04:28:33 -0400 (0:00:00.179) 0:01:54.499 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file no-log /etc/rsyslog.d/output-elasticsearch-elasticsearch_output_ops] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Saturday 21 September 2024 04:28:33 -0400 (0:00:00.139) 0:01:54.638 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:8 Saturday 21 September 2024 04:28:33 -0400 (0:00:00.282) 0:01:54.920 **** 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 with no_log] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:18 Saturday 21 September 2024 04:28:34 -0400 (0:00:00.134) 0:01:55.055 **** changed: [managed_node1] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:37 Saturday 21 September 2024 04:28:35 -0400 (0:00:01.431) 0:01:56.486 **** 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-1726907208.71-24500-53171161654782/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-1726907208.71-24500-53171161654782/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-1726907209.63-24500-243412057054090/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-1726907209.63-24500-243412057054090/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907213.0-24644-47531717173806/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907213.0-24644-47531717173806/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907220.02-24929-167730719861880/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.02-24929-167730719861880/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907220.67-24929-127081298829651/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907220.67-24929-127081298829651/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907221.33-24929-265623837467430/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907221.33-24929-265623837467430/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907222.21-24929-76839847762382/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907222.21-24929-76839847762382/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907223.21-24929-78983162734722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907223.21-24929-78983162734722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907225.74-25188-200502032117263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2388f2f73b05d3d15a41efbfdbb39722", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 803, "src": "/root/.ansible/tmp/ansible-tmp-1726907225.74-25188-200502032117263/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907248.29-26039-75466053638607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95018960a3c1f59d80a255c47060d133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1320, "src": "/root/.ansible/tmp/ansible-tmp-1726907248.29-26039-75466053638607/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907267.47-26823-202322534717709/source", "unsafe_writes": false, "validate": null } }, "md5sum": "38667be06854e93013d7e91d2cdbf9b9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1296, "src": "/root/.ansible/tmp/ansible-tmp-1726907267.47-26823-202322534717709/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5d0e449c124f3969caed011361d8076be6b778ed", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "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": { "_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/30-output-files-default_files.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/30-output-files-default_files.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/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1148, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.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-1726907305.8-28411-192040401672594/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3c1b70ae145a75a8736af9f7676f36a5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "src": "/root/.ansible/tmp/ansible-tmp-1726907305.8-28411-192040401672594/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.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-1726907306.4-28411-271259202725808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "7da07b533c1ef11e26c9ddeec6967df3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "src": "/root/.ansible/tmp/ansible-tmp-1726907306.4-28411-271259202725808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ccabc669c834ab58f5b7c05527fa99853ed974b0", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=\"logging-es\"\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"off\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n uid=\"testuser0\"\n pwd=\"password0\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ccabc669c834ab58f5b7c05527fa99853ed974b0", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1726907308.28-28510-278218259003892/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fc06abc282bd86492f3b462d1c8e8cf1", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2076, "src": "/root/.ansible/tmp/ansible-tmp-1726907308.28-28510-278218259003892/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "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-elasticsearch-module.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-elasticsearch-module.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-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "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/30-output-elasticsearch.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/30-output-elasticsearch.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/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "88be3ed49d5a25a41749dc696769f33f5a625c5a", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output_ops", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output_ops\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \".operations.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output_ops\"\n server=\"logging-es-ops\"\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"off\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "88be3ed49d5a25a41749dc696769f33f5a625c5a", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1726907314.55-28739-84339946800647/source", "unsafe_writes": false, "validate": null } }, "md5sum": "dd9b58933ae88858d04fb0dcf0515efd", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2036, "src": "/root/.ansible/tmp/ansible-tmp-1726907314.55-28739-84339946800647/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d with no_log] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:41 Saturday 21 September 2024 04:28:35 -0400 (0:00:00.410) 0:01:56.897 **** skipping: [managed_node1] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:217 Saturday 21 September 2024 04:28:36 -0400 (0:00:00.678) 0:01:57.575 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:234 Saturday 21 September 2024 04:28:36 -0400 (0:00:00.225) 0:01:57.801 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:254 Saturday 21 September 2024 04:28:36 -0400 (0:00:00.186) 0:01:57.987 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:275 Saturday 21 September 2024 04:28:37 -0400 (0:00:00.173) 0:01:58.161 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:283 Saturday 21 September 2024 04:28:37 -0400 (0:00:00.195) 0:01:58.356 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:295 Saturday 21 September 2024 04:28:37 -0400 (0:00:00.160) 0:01:58.516 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:307 Saturday 21 September 2024 04:28:37 -0400 (0:00:00.205) 0:01:58.722 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:319 Saturday 21 September 2024 04:28:37 -0400 (0:00:00.141) 0:01:58.863 **** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "rsyslog", "status": { "ActiveEnterTimestamp": "Sat 2024-09-21 04:26:36 EDT", "ActiveEnterTimestampMonotonic": "521576408", "ActiveExitTimestamp": "Sat 2024-09-21 04:26:36 EDT", "ActiveExitTimestampMonotonic": "521568285", "ActiveState": "active", "After": "basic.target system.slice network.target network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-21 04:26:36 EDT", "AssertTimestampMonotonic": "521571435", "Before": "shutdown.target multi-user.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-09-21 04:26:36 EDT", "ConditionTimestampMonotonic": "521571433", "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": "22198", "ExecMainStartTimestamp": "Sat 2024-09-21 04:26:36 EDT", "ExecMainStartTimestampMonotonic": "521572029", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Sat 2024-09-21 04:26:36 EDT] ; stop_time=[n/a] ; pid=22198 ; 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", "InactiveEnterTimestamp": "Sat 2024-09-21 04:26:36 EDT", "InactiveEnterTimestampMonotonic": "521571036", "InactiveExitTimestamp": "Sat 2024-09-21 04:26:36 EDT", "InactiveExitTimestampMonotonic": "521572071", "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": "22198", "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": "system.slice basic.target", "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-09-21 04:26:36 EDT", "WatchdogTimestampMonotonic": "521576371", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:327 Saturday 21 September 2024 04:28:38 -0400 (0:00:01.098) 0:01:59.962 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:336 Saturday 21 September 2024 04:28:39 -0400 (0:00:00.263) 0:02:00.226 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : See if there are any config files] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:348 Saturday 21 September 2024 04:28:39 -0400 (0:00:00.184) 0:02:00.410 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:355 Saturday 21 September 2024 04:28:39 -0400 (0:00:00.233) 0:02:00.644 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726907140.9088244, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1726907124.7687495, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 136787, "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": "1139452132", "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:361 Saturday 21 September 2024 04:28:40 -0400 (0:00:00.753) 0:02:01.397 **** 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-1726907320.44-28963-69359676370485/source", "state": "file", "uid": 0 } RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : Restart rsyslogd] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Saturday 21 September 2024 04:28:41 -0400 (0:00:00.952) 0:02:02.349 **** changed: [managed_node1] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-09-21 04:26:36 EDT", "ActiveEnterTimestampMonotonic": "521576408", "ActiveExitTimestamp": "Sat 2024-09-21 04:26:36 EDT", "ActiveExitTimestampMonotonic": "521568285", "ActiveState": "active", "After": "basic.target system.slice network.target network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-21 04:26:36 EDT", "AssertTimestampMonotonic": "521571435", "Before": "shutdown.target multi-user.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-09-21 04:26:36 EDT", "ConditionTimestampMonotonic": "521571433", "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": "22198", "ExecMainStartTimestamp": "Sat 2024-09-21 04:26:36 EDT", "ExecMainStartTimestampMonotonic": "521572029", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Sat 2024-09-21 04:26:36 EDT] ; stop_time=[n/a] ; pid=22198 ; 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", "InactiveEnterTimestamp": "Sat 2024-09-21 04:26:36 EDT", "InactiveEnterTimestampMonotonic": "521571036", "InactiveExitTimestamp": "Sat 2024-09-21 04:26:36 EDT", "InactiveExitTimestampMonotonic": "521572071", "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": "22198", "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": "system.slice basic.target", "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-09-21 04:26:36 EDT", "WatchdogTimestampMonotonic": "521576371", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:88 Saturday 21 September 2024 04:28:42 -0400 (0:00:00.735) 0:02:03.085 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:2 Saturday 21 September 2024 04:28:42 -0400 (0:00:00.265) 0:02:03.351 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726907321.871645, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5fe705203b62f654be0460d9893da023dbffb94d", "ctime": 1726907321.269642, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 264351, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907320.8736403, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "version": "1139454824", "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:7 Saturday 21 September 2024 04:28:42 -0400 (0:00:00.415) 0:02:03.766 **** ok: [managed_node1] => { "changed": false, "examined": 18, "files": [ { "atime": 1726907173.7179737, "ctime": 1726907142.535832, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262432, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726906948.7587276, "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": 1726907244.622295, "ctime": 1726907222.0791929, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907221.7181911, "nlink": 1, "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 315, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907312.0136003, "ctime": 1726907306.3055744, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 264327, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907306.0945735, "nlink": 1, "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 101, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907312.5176024, "ctime": 1726907306.8345768, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 264328, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907306.651576, "nlink": 1, "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907245.3472981, "ctime": 1726907223.0911975, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262672, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907222.7121956, "nlink": 1, "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 243, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907321.871645, "ctime": 1726907315.2256148, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 264350, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726907314.9816136, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2036, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907242.7262864, "ctime": 1726907220.558186, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262623, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907220.2921848, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 45, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907321.871645, "ctime": 1726907248.8683143, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262675, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907248.587313, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1320, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907321.871645, "ctime": 1726907213.5861545, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262622, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907213.3151531, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 564, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907321.871645, "ctime": 1726907308.7505856, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 264349, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726907308.5395846, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2076, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907321.871645, "ctime": 1726907209.4841359, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262420, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907208.9701335, "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": 1726907321.871645, "ctime": 1726907268.011401, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262676, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907267.8004, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1296, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907243.53829, "ctime": 1726907221.1711888, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262625, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907220.9601877, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 379, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907321.871645, "ctime": 1726907210.1071386, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907209.9171379, "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": 1726907246.1223018, "ctime": 1726907224.0262017, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262673, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907223.5481994, "nlink": 1, "path": "/etc/rsyslog.d/parse_json.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 26, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907321.871645, "ctime": 1726907226.499213, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262674, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907226.092211, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 803, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907171.8749654, "ctime": 1726907142.535832, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262431, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726906945.9736972, "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 } ], "matched": 17 } TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:13 Saturday 21 September 2024 04:28:43 -0400 (0:00:00.627) 0:02:04.394 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:18 Saturday 21 September 2024 04:28:43 -0400 (0:00:00.091) 0:02:04.485 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:23 Saturday 21 September 2024 04:28:43 -0400 (0:00:00.120) 0:02:04.606 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:27 Saturday 21 September 2024 04:28:43 -0400 (0:00:00.140) 0:02:04.746 **** ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "stat": { "atime": 1726907321.871645, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "ctime": 1726907226.499213, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262674, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907226.092211, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 803, "uid": 0, "version": "1139452746", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "stat": { "atime": 1726907321.871645, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "ctime": 1726907248.8683143, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262675, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907248.587313, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1320, "uid": 0, "version": "1139454508", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "stat": { "atime": 1726907321.871645, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "ctime": 1726907268.011401, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262676, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907267.8004, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1296, "uid": 0, "version": "1139454589", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:35 Saturday 21 September 2024 04:28:44 -0400 (0:00:00.983) 0:02:05.730 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check ovirt config files] ************************************************ task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:99 Saturday 21 September 2024 04:28:44 -0400 (0:00:00.094) 0:02:05.824 **** ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "stat": { "atime": 1726907321.871645, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5bab23e66744e64106436c00af5f99056f92c008", "ctime": 1726907226.499213, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262674, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907226.092211, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 803, "uid": 0, "version": "1139452746", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "stat": { "atime": 1726907321.871645, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0f8119966653987513435478a7d6dba0d3549bc6", "ctime": 1726907248.8683143, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262675, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907248.587313, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1320, "uid": 0, "version": "1139454508", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "stat": { "atime": 1726907321.871645, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8f0bc53ce9d62dfad1e1b862540ebba134a38842", "ctime": 1726907268.011401, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262676, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907267.8004, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1296, "uid": 0, "version": "1139454589", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check bogus conf does not exist - /etc/rsyslog.d/90-input-ovirt-ovirt_bogus_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:109 Saturday 21 September 2024 04:28:45 -0400 (0:00:01.032) 0:02:06.857 **** ok: [managed_node1] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is 44514] ************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:115 Saturday 21 September 2024 04:28:46 -0400 (0:00:00.723) 0:02:07.581 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf" ], "delta": "0:00:00.002469", "end": "2024-09-21 04:28:47.093724", "rc": 0, "start": "2024-09-21 04:28:47.091255" } STDOUT: input(name="ovirt_collectd_input" type="imtcp" port="44514") TASK [Check index_prefix is in /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:121 Saturday 21 September 2024 04:28:47 -0400 (0:00:00.718) 0:02:08.299 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-metrics\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf" ], "delta": "0:00:00.002796", "end": "2024-09-21 04:28:47.663152", "rc": 0, "start": "2024-09-21 04:28:47.660356" } STDOUT: set $.index_prefix = "project.ovirt-metrics" & "-" & "engine" & "." & "" & "."; TASK [Check input file is configured in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:127 Saturday 21 September 2024 04:28:47 -0400 (0:00:00.690) 0:02:08.990 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf" ], "delta": "0:00:00.002911", "end": "2024-09-21 04:28:48.407261", "rc": 0, "start": "2024-09-21 04:28:48.404350" } STDOUT: input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input" TASK [Check index_prefix is configured in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:133 Saturday 21 September 2024 04:28:48 -0400 (0:00:00.636) 0:02:09.626 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-logs\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf" ], "delta": "0:00:00.002765", "end": "2024-09-21 04:28:49.048511", "rc": 0, "start": "2024-09-21 04:28:49.045746" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & "."; TASK [Check input file is configured in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:139 Saturday 21 September 2024 04:28:49 -0400 (0:00:00.614) 0:02:10.241 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf" ], "delta": "0:00:00.002754", "end": "2024-09-21 04:28:49.538586", "rc": 0, "start": "2024-09-21 04:28:49.535832" } STDOUT: input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input" TASK [Check index_prefix is configured in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:145 Saturday 21 September 2024 04:28:49 -0400 (0:00:00.560) 0:02:10.801 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-logs\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf" ], "delta": "0:00:00.002685", "end": "2024-09-21 04:28:50.239835", "rc": 0, "start": "2024-09-21 04:28:50.237150" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & "."; TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:151 Saturday 21 September 2024 04:28:50 -0400 (0:00:00.650) 0:02:11.452 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002461", "end": "2024-09-21 04:28:50.705206", "rc": 0, "start": "2024-09-21 04:28:50.702745" } STDOUT: server="logging-es" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:155 Saturday 21 September 2024 04:28:50 -0400 (0:00:00.489) 0:02:11.942 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es-ops\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.002478", "end": "2024-09-21 04:28:51.178138", "rc": 0, "start": "2024-09-21 04:28:51.175660" } STDOUT: server="logging-es-ops" TASK [Check password is in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:159 Saturday 21 September 2024 04:28:51 -0400 (0:00:00.397) 0:02:12.339 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "pwd=\"password0\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002410", "end": "2024-09-21 04:28:51.562610", "rc": 0, "start": "2024-09-21 04:28:51.560200" } STDOUT: pwd="password0" TASK [Check pwd= is not in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:163 Saturday 21 September 2024 04:28:51 -0400 (0:00:00.423) 0:02:12.763 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "pwd=", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.002387", "end": "2024-09-21 04:28:52.160711", "failed_when_result": false, "rc": 1, "start": "2024-09-21 04:28:52.158324" } MSG: non-zero return code TASK [END TEST CASE 0; Ensure basic ovirt configuration works] ***************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:169 Saturday 21 September 2024 04:28:52 -0400 (0:00:00.727) 0:02:13.490 **** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:7 Saturday 21 September 2024 04:28:52 -0400 (0:00:00.529) 0:02:14.020 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:14 Saturday 21 September 2024 04:28:53 -0400 (0:00:00.240) 0:02:14.260 **** ok: [managed_node1] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:18 Saturday 21 September 2024 04:28:53 -0400 (0:00:00.173) 0:02:14.434 **** ok: [managed_node1] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:22 Saturday 21 September 2024 04:28:53 -0400 (0:00:00.184) 0:02:14.619 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.logging : Use of type custom is deprecated] **** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Saturday 21 September 2024 04:28:53 -0400 (0:00:00.330) 0:02:14.950 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:42 Saturday 21 September 2024 04:28:54 -0400 (0:00:00.247) 0:02:15.197 **** TASK [fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 Saturday 21 September 2024 04:28:54 -0400 (0:00:00.140) 0:02:15.338 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Saturday 21 September 2024 04:28:54 -0400 (0:00:00.300) 0:02:15.638 **** ok: [managed_node1] => { "ansible_facts": { "logging_tls_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tcp_ports] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:7 Saturday 21 September 2024 04:28:54 -0400 (0:00:00.167) 0:02:15.806 **** ok: [managed_node1] => { "ansible_facts": { "logging_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tls_udp_ports] **** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 Saturday 21 September 2024 04:28:54 -0400 (0:00:00.152) 0:02:15.959 **** ok: [managed_node1] => { "ansible_facts": { "logging_tls_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_udp_ports] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Saturday 21 September 2024 04:28:55 -0400 (0:00:00.118) 0:02:16.077 **** ok: [managed_node1] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24 Saturday 21 September 2024 04:28:55 -0400 (0:00:00.104) 0:02:16.181 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 Saturday 21 September 2024 04:28:55 -0400 (0:00:00.109) 0:02:16.291 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92 Saturday 21 September 2024 04:28:55 -0400 (0:00:00.085) 0:02:16.377 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 Saturday 21 September 2024 04:28:55 -0400 (0:00:00.121) 0:02:16.499 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 Saturday 21 September 2024 04:28:55 -0400 (0:00:00.131) 0:02:16.631 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 Saturday 21 September 2024 04:28:55 -0400 (0:00:00.252) 0:02:16.883 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108 Saturday 21 September 2024 04:28:55 -0400 (0:00:00.135) 0:02:17.018 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 Saturday 21 September 2024 04:28:56 -0400 (0:00:00.135) 0:02:17.154 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 Saturday 21 September 2024 04:28:56 -0400 (0:00:00.137) 0:02:17.291 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 Saturday 21 September 2024 04:28:56 -0400 (0:00:00.131) 0:02:17.423 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 Saturday 21 September 2024 04:28:56 -0400 (0:00:00.135) 0:02:17.559 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Saturday 21 September 2024 04:28:56 -0400 (0:00:00.134) 0:02:17.693 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Saturday 21 September 2024 04:28:56 -0400 (0:00:00.272) 0:02:17.966 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Saturday 21 September 2024 04:28:57 -0400 (0:00:00.109) 0:02:18.076 **** TASK [fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Saturday 21 September 2024 04:28:57 -0400 (0:00:00.097) 0:02:18.173 **** TASK [Manage firewall for specified ports] ************************************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Saturday 21 September 2024 04:28:57 -0400 (0:00:00.077) 0:02:18.251 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Saturday 21 September 2024 04:28:57 -0400 (0:00:00.104) 0:02:18.356 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Saturday 21 September 2024 04:28:57 -0400 (0:00:00.434) 0:02:18.790 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11 Saturday 21 September 2024 04:28:57 -0400 (0:00:00.152) 0:02:18.942 **** TASK [fedora.linux_system_roles.logging : Add tls tcp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:16 Saturday 21 September 2024 04:28:58 -0400 (0:00:00.174) 0:02:19.117 **** TASK [fedora.linux_system_roles.logging : Add non tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 Saturday 21 September 2024 04:28:58 -0400 (0:00:00.125) 0:02:19.243 **** TASK [fedora.linux_system_roles.logging : Add tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:26 Saturday 21 September 2024 04:28:58 -0400 (0:00:00.117) 0:02:19.360 **** TASK [Manage selinux for specified ports] ************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 Saturday 21 September 2024 04:28:58 -0400 (0:00:00.122) 0:02:19.482 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Generate certificates] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:62 Saturday 21 September 2024 04:28:58 -0400 (0:00:00.137) 0:02:19.619 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed_node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 Saturday 21 September 2024 04:28:58 -0400 (0:00:00.268) 0:02:19.888 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:68 Saturday 21 September 2024 04:28:58 -0400 (0:00:00.126) 0:02:20.014 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:72 Saturday 21 September 2024 04:28:59 -0400 (0:00:00.095) 0:02:20.110 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:78 Saturday 21 September 2024 04:28:59 -0400 (0:00:00.194) 0:02:20.304 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:83 Saturday 21 September 2024 04:28:59 -0400 (0:00:00.101) 0:02:20.406 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:90 Saturday 21 September 2024 04:28:59 -0400 (0:00:00.138) 0:02:20.545 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:94 Saturday 21 September 2024 04:28:59 -0400 (0:00:00.143) 0:02:20.688 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:105 Saturday 21 September 2024 04:28:59 -0400 (0:00:00.148) 0:02:20.837 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Saturday 21 September 2024 04:29:00 -0400 (0:00:00.230) 0:02:21.067 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Saturday 21 September 2024 04:29:00 -0400 (0:00:00.282) 0:02:21.350 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Saturday 21 September 2024 04:29:00 -0400 (0:00:00.324) 0:02:21.675 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Saturday 21 September 2024 04:29:00 -0400 (0:00:00.195) 0:02:21.870 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Saturday 21 September 2024 04:29:00 -0400 (0:00:00.146) 0:02:22.017 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Saturday 21 September 2024 04:29:01 -0400 (0:00:00.332) 0:02:22.349 **** skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/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/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Saturday 21 September 2024 04:29:01 -0400 (0:00:00.405) 0:02:22.755 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:15 Saturday 21 September 2024 04:29:02 -0400 (0:00:00.368) 0:02:23.124 **** ok: [managed_node1] => (item=iproute) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "iproute" ], "delta": "0:00:00.075781", "end": "2024-09-21 04:29:02.671732", "failed_when_result": false, "item": "iproute", "rc": 0, "start": "2024-09-21 04:29:02.595951", "warnings": [ "Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message." ] } ok: [managed_node1] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.071729", "end": "2024-09-21 04:29:03.412223", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2024-09-21 04:29:03.340494", "warnings": [ "Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message." ] } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:22 Saturday 21 September 2024 04:29:03 -0400 (0:00:01.450) 0:02:24.574 **** changed: [managed_node1] => { "changed": true, "changes": { "removed": [ "iproute", "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package iproute.x86_64 0:4.11.0-30.el7 will be erased\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be erased\n--> Processing Dependency: rsyslog = 8.24.0-57.el7_9.3 for package: rsyslog-gnutls-8.24.0-57.el7_9.3.x86_64\n--> Processing Dependency: rsyslog = 8.24.0-57.el7_9.3 for package: rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64\n--> Processing Dependency: rsyslog = 8.24.0-57.el7_9.3 for package: rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64\n--> Processing Dependency: rsyslog = 8.24.0-57.el7_9.3 for package: rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64\n--> Running transaction check\n---> Package rsyslog-elasticsearch.x86_64 0:8.24.0-57.el7_9.3 will be erased\n---> Package rsyslog-gnutls.x86_64 0:8.24.0-57.el7_9.3 will be erased\n---> Package rsyslog-mmjsonparse.x86_64 0:8.24.0-57.el7_9.3 will be erased\n---> Package rsyslog-mmnormalize.x86_64 0:8.24.0-57.el7_9.3 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n iproute x86_64 4.11.0-30.el7 @base 1.8 M\n rsyslog x86_64 8.24.0-57.el7_9.3 @updates 1.9 M\nRemoving for dependencies:\n rsyslog-elasticsearch x86_64 8.24.0-57.el7_9.3 @updates 44 k\n rsyslog-gnutls x86_64 8.24.0-57.el7_9.3 @updates 37 k\n rsyslog-mmjsonparse x86_64 8.24.0-57.el7_9.3 @updates 15 k\n rsyslog-mmnormalize x86_64 8.24.0-57.el7_9.3 @updates 15 k\n\nTransaction Summary\n================================================================================\nRemove 2 Packages (+4 Dependent packages)\n\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 1/6 \n Erasing : rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 2/6 \n Erasing : rsyslog-gnutls-8.24.0-57.el7_9.3.x86_64 3/6 \n Erasing : rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64 4/6 \n Erasing : rsyslog-8.24.0-57.el7_9.3.x86_64 5/6 \nwarning: /etc/rsyslog.conf saved as /etc/rsyslog.conf.rpmsave\n Erasing : iproute-4.11.0-30.el7.x86_64 6/6 \n Verifying : rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64 1/6 \n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 2/6 \n Verifying : rsyslog-gnutls-8.24.0-57.el7_9.3.x86_64 3/6 \n Verifying : rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 4/6 \n Verifying : iproute-4.11.0-30.el7.x86_64 5/6 \n Verifying : rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 6/6 \n\nRemoved:\n iproute.x86_64 0:4.11.0-30.el7 rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nDependency Removed:\n rsyslog-elasticsearch.x86_64 0:8.24.0-57.el7_9.3 \n rsyslog-gnutls.x86_64 0:8.24.0-57.el7_9.3 \n rsyslog-mmjsonparse.x86_64 0:8.24.0-57.el7_9.3 \n rsyslog-mmnormalize.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Saturday 21 September 2024 04:29:05 -0400 (0:00:01.653) 0:02:26.228 **** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "iproute", "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package iproute.x86_64 0:4.11.0-30.el7 will be installed\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n iproute x86_64 4.11.0-30.el7 base 805 k\n rsyslog x86_64 8.24.0-57.el7_9.3 updates 622 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages\n\nTotal download size: 1.4 M\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.5 MB/s | 1.4 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : iproute-4.11.0-30.el7.x86_64 1/2 \n Installing : rsyslog-8.24.0-57.el7_9.3.x86_64 2/2 \n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/2 \n Verifying : iproute-4.11.0-30.el7.x86_64 2/2 \n\nInstalled:\n iproute.x86_64 0:4.11.0-30.el7 rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } lsrpackages: iproute rsyslog TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:40 Saturday 21 September 2024 04:29:08 -0400 (0:00:03.728) 0:02:29.956 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:44 Saturday 21 September 2024 04:29:09 -0400 (0:00:00.146) 0:02:30.102 **** 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" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "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" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "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" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "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" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:48 Saturday 21 September 2024 04:29:10 -0400 (0:00:01.703) 0:02:31.806 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:55 Saturday 21 September 2024 04:29:10 -0400 (0:00:00.206) 0:02:32.013 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:60 Saturday 21 September 2024 04:29:11 -0400 (0:00:00.130) 0:02:32.143 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:68 Saturday 21 September 2024 04:29:11 -0400 (0:00:00.206) 0:02:32.350 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:76 Saturday 21 September 2024 04:29:11 -0400 (0:00:00.232) 0:02:32.582 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:83 Saturday 21 September 2024 04:29:12 -0400 (0:00:00.789) 0:02:33.372 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:89 Saturday 21 September 2024 04:29:12 -0400 (0:00:00.482) 0:02:33.854 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:97 Saturday 21 September 2024 04:29:13 -0400 (0:00:00.624) 0:02:34.479 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:120 Saturday 21 September 2024 04:29:13 -0400 (0:00:00.428) 0:02:34.907 **** 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 : Initialize list of template results] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:144 Saturday 21 September 2024 04:29:14 -0400 (0:00:00.140) 0:02:35.047 **** ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "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", "skipped": true }, { "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": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False", "skipped": true } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:148 Saturday 21 September 2024 04:29:14 -0400 (0:00:00.121) 0:02:35.169 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:166 Saturday 21 September 2024 04:29:14 -0400 (0:00:00.149) 0:02:35.319 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Saturday 21 September 2024 04:29:14 -0400 (0:00:00.128) 0:02:35.447 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:192 Saturday 21 September 2024 04:29:14 -0400 (0:00:00.142) 0:02:35.590 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:204 Saturday 21 September 2024 04:29:14 -0400 (0:00:00.132) 0:02:35.722 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:217 Saturday 21 September 2024 04:29:14 -0400 (0:00:00.134) 0:02:35.856 **** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nfor conf in $( ls \"/etc/rsyslog.d\" ); do\n rstr=$( rpm -qf \"/etc/rsyslog.d/$conf\" 2>&1 || : )\n if [[ \"$rstr\" == *\"not owned by any package\"* ]]; then\n echo \"/etc/rsyslog.d/$conf\"\n fi\ndone\n", "delta": "0:00:00.472494", "end": "2024-09-21 04:29:15.617959", "failed_when_result": false, "rc": 0, "start": "2024-09-21 04:29:15.145465" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-ovirt-local_modules.conf /etc/rsyslog.d/10-input-ovirt-main-modules.conf /etc/rsyslog.d/10-output-elasticsearch-module.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/30-output-elasticsearch.conf /etc/rsyslog.d/30-output-files-default_files.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf /etc/rsyslog.d/90-input-basics-basic_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf /etc/rsyslog.d/ovirt_engine.rulebase /etc/rsyslog.d/ovirt_vdsm.rulebase /etc/rsyslog.d/parse_json.rulebase TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:234 Saturday 21 September 2024 04:29:15 -0400 (0:00:01.005) 0:02:36.862 **** changed: [managed_node1] => (item=/etc/rsyslog.d/00-global.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/00-global.conf", "path": "/etc/rsyslog.d/00-global.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/05-common-defaults.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/05-common-defaults.conf", "path": "/etc/rsyslog.d/05-common-defaults.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/10-input-ovirt-local_modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/10-input-ovirt-main-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/10-output-elasticsearch-module.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/10-output-files-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-files-modules.conf", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/30-output-elasticsearch.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-elasticsearch.conf", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/30-output-files-default_files.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-default_files.conf", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/90-input-basics-basic_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/ovirt_engine.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/ovirt_engine.rulebase", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/ovirt_vdsm.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/parse_json.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/parse_json.rulebase", "path": "/etc/rsyslog.d/parse_json.rulebase", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : Restart rsyslogd for managed_node1 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:254 Saturday 21 September 2024 04:29:22 -0400 (0:00:07.116) 0:02:43.979 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:275 Saturday 21 September 2024 04:29:23 -0400 (0:00:00.269) 0:02:44.248 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:283 Saturday 21 September 2024 04:29:23 -0400 (0:00:00.329) 0:02:44.577 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:295 Saturday 21 September 2024 04:29:23 -0400 (0:00:00.312) 0:02:44.890 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:307 Saturday 21 September 2024 04:29:24 -0400 (0:00:00.238) 0:02:45.128 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:319 Saturday 21 September 2024 04:29:24 -0400 (0:00:00.297) 0:02:45.426 **** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "rsyslog", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "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": "0", "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": "dead", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:327 Saturday 21 September 2024 04:29:25 -0400 (0:00:00.942) 0:02:46.369 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:336 Saturday 21 September 2024 04:29:25 -0400 (0:00:00.240) 0:02:46.609 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : See if there are any config files] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:348 Saturday 21 September 2024 04:29:25 -0400 (0:00:00.172) 0:02:46.781 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:355 Saturday 21 September 2024 04:29:25 -0400 (0:00:00.164) 0:02:46.946 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate main rsyslog configuration] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:361 Saturday 21 September 2024 04:29:26 -0400 (0:00:00.156) 0:02:47.103 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : Restart rsyslogd] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Saturday 21 September 2024 04:29:26 -0400 (0:00:00.028) 0:02:47.132 **** changed: [managed_node1] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "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": "0", "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": "dead", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers TASK [TEST CASE 1; Ensure advanced ovirt configuration works] ****************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:183 Saturday 21 September 2024 04:29:26 -0400 (0:00:00.857) 0:02:47.989 **** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:7 Saturday 21 September 2024 04:29:27 -0400 (0:00:00.332) 0:02:48.322 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:14 Saturday 21 September 2024 04:29:27 -0400 (0:00:00.130) 0:02:48.453 **** ok: [managed_node1] => { "ansible_facts": { "rsyslog_outputs": [ { "name": "default_files", "type": "files" }, { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "server_host": [ "logging-es0", "logging-es1" ], "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" }, { "allowUnsignedCerts": true, "bulkmode": false, "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "dynSearchIndex": false, "dynbulkid": false, "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": [ "logging-es-ops0", "logging-es-ops1" ], "server_port": 9200, "type": "elasticsearch", "usehttps": false } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:18 Saturday 21 September 2024 04:29:27 -0400 (0:00:00.136) 0:02:48.590 **** ok: [managed_node1] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "type": "basics" }, { "name": "ovirt_collectd_input", "ovirt_collectd_port": 44514, "ovirt_elasticsearch_index_prefix": "project.ovirt-metrics", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "111-222-333", "subtype": "collectd", "type": "ovirt" }, { "name": "ovirt_engine_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "444-555-666", "ovirt_input_file": "/var/log/ovirt-engine/engine.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "engine", "type": "ovirt" }, { "name": "ovirt_vdsm_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "777-888-999", "ovirt_input_file": "/var/log/vdsm/vdsm.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "vdsm", "type": "ovirt" }, { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:22 Saturday 21 September 2024 04:29:27 -0400 (0:00:00.143) 0:02:48.733 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.logging : Use of type custom is deprecated] **** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Saturday 21 September 2024 04:29:27 -0400 (0:00:00.212) 0:02:48.946 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:42 Saturday 21 September 2024 04:29:28 -0400 (0:00:00.148) 0:02:49.095 **** skipping: [managed_node1] => (item={u'inputs': [u'ovirt_collectd_input', u'ovirt_engine_input', u'ovirt_vdsm_input'], u'name': u'flow_0', u'outputs': [u'elasticsearch_output', u'elasticsearch_output_ops']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "ovirt_collectd_input", "ovirt_engine_input", "ovirt_vdsm_input" ], "name": "flow_0", "outputs": [ "elasticsearch_output", "elasticsearch_output_ops" ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'inputs': [u'basic_input'], u'name': u'flow_1', u'outputs': [u'default_files']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_1", "outputs": [ "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 Saturday 21 September 2024 04:29:28 -0400 (0:00:00.205) 0:02:49.300 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Saturday 21 September 2024 04:29:28 -0400 (0:00:00.264) 0:02:49.564 **** ok: [managed_node1] => { "ansible_facts": { "logging_tls_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tcp_ports] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:7 Saturday 21 September 2024 04:29:28 -0400 (0:00:00.139) 0:02:49.704 **** ok: [managed_node1] => { "ansible_facts": { "logging_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tls_udp_ports] **** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 Saturday 21 September 2024 04:29:28 -0400 (0:00:00.137) 0:02:49.841 **** ok: [managed_node1] => { "ansible_facts": { "logging_tls_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_udp_ports] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Saturday 21 September 2024 04:29:28 -0400 (0:00:00.135) 0:02:49.976 **** ok: [managed_node1] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24 Saturday 21 September 2024 04:29:29 -0400 (0:00:00.161) 0:02:50.138 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 Saturday 21 September 2024 04:29:29 -0400 (0:00:00.144) 0:02:50.282 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92 Saturday 21 September 2024 04:29:29 -0400 (0:00:00.158) 0:02:50.441 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 Saturday 21 September 2024 04:29:29 -0400 (0:00:00.140) 0:02:50.582 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 Saturday 21 September 2024 04:29:29 -0400 (0:00:00.137) 0:02:50.719 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 Saturday 21 September 2024 04:29:29 -0400 (0:00:00.181) 0:02:50.900 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108 Saturday 21 September 2024 04:29:29 -0400 (0:00:00.109) 0:02:51.010 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 Saturday 21 September 2024 04:29:30 -0400 (0:00:00.099) 0:02:51.109 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 Saturday 21 September 2024 04:29:30 -0400 (0:00:00.131) 0:02:51.241 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 Saturday 21 September 2024 04:29:30 -0400 (0:00:00.138) 0:02:51.379 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 Saturday 21 September 2024 04:29:30 -0400 (0:00:00.138) 0:02:51.518 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Saturday 21 September 2024 04:29:30 -0400 (0:00:00.140) 0:02:51.658 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Saturday 21 September 2024 04:29:30 -0400 (0:00:00.358) 0:02:52.017 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Saturday 21 September 2024 04:29:31 -0400 (0:00:00.236) 0:02:52.253 **** TASK [fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Saturday 21 September 2024 04:29:31 -0400 (0:00:00.151) 0:02:52.404 **** TASK [Manage firewall for specified ports] ************************************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Saturday 21 September 2024 04:29:31 -0400 (0:00:00.138) 0:02:52.543 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Saturday 21 September 2024 04:29:31 -0400 (0:00:00.118) 0:02:52.662 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Saturday 21 September 2024 04:29:32 -0400 (0:00:00.373) 0:02:53.035 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11 Saturday 21 September 2024 04:29:32 -0400 (0:00:00.115) 0:02:53.151 **** TASK [fedora.linux_system_roles.logging : Add tls tcp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:16 Saturday 21 September 2024 04:29:32 -0400 (0:00:00.127) 0:02:53.279 **** TASK [fedora.linux_system_roles.logging : Add non tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 Saturday 21 September 2024 04:29:32 -0400 (0:00:00.161) 0:02:53.440 **** TASK [fedora.linux_system_roles.logging : Add tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:26 Saturday 21 September 2024 04:29:32 -0400 (0:00:00.137) 0:02:53.577 **** TASK [Manage selinux for specified ports] ************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 Saturday 21 September 2024 04:29:32 -0400 (0:00:00.136) 0:02:53.714 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Generate certificates] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:62 Saturday 21 September 2024 04:29:32 -0400 (0:00:00.142) 0:02:53.856 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed_node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 Saturday 21 September 2024 04:29:33 -0400 (0:00:00.345) 0:02:54.201 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:68 Saturday 21 September 2024 04:29:33 -0400 (0:00:00.222) 0:02:54.424 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:72 Saturday 21 September 2024 04:29:33 -0400 (0:00:00.145) 0:02:54.569 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:78 Saturday 21 September 2024 04:29:33 -0400 (0:00:00.154) 0:02:54.724 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:83 Saturday 21 September 2024 04:29:33 -0400 (0:00:00.237) 0:02:54.961 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:90 Saturday 21 September 2024 04:29:34 -0400 (0:00:00.242) 0:02:55.204 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:94 Saturday 21 September 2024 04:29:34 -0400 (0:00:00.152) 0:02:55.356 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:105 Saturday 21 September 2024 04:29:34 -0400 (0:00:00.182) 0:02:55.539 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Saturday 21 September 2024 04:29:34 -0400 (0:00:00.242) 0:02:55.781 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Saturday 21 September 2024 04:29:35 -0400 (0:00:00.248) 0:02:56.029 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Saturday 21 September 2024 04:29:35 -0400 (0:00:00.176) 0:02:56.205 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Saturday 21 September 2024 04:29:35 -0400 (0:00:00.105) 0:02:56.311 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Saturday 21 September 2024 04:29:35 -0400 (0:00:00.100) 0:02:56.411 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Saturday 21 September 2024 04:29:35 -0400 (0:00:00.231) 0:02:56.642 **** skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/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/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Saturday 21 September 2024 04:29:35 -0400 (0:00:00.315) 0:02:56.957 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:15 Saturday 21 September 2024 04:29:36 -0400 (0:00:00.527) 0:02:57.485 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:22 Saturday 21 September 2024 04:29:36 -0400 (0:00:00.156) 0:02:57.641 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Saturday 21 September 2024 04:29:36 -0400 (0:00:00.150) 0:02:57.791 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:40 Saturday 21 September 2024 04:29:37 -0400 (0:00:00.844) 0:02:58.636 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:44 Saturday 21 September 2024 04:29:37 -0400 (0:00:00.250) 0:02:58.886 **** 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" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "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" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "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" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "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" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:48 Saturday 21 September 2024 04:29:39 -0400 (0:00:01.680) 0:03:00.567 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:55 Saturday 21 September 2024 04:29:39 -0400 (0:00:00.181) 0:03:00.748 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:60 Saturday 21 September 2024 04:29:39 -0400 (0:00:00.222) 0:03:00.971 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:68 Saturday 21 September 2024 04:29:40 -0400 (0:00:00.134) 0:03:01.105 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:76 Saturday 21 September 2024 04:29:40 -0400 (0:00:00.129) 0:03:01.235 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:83 Saturday 21 September 2024 04:29:40 -0400 (0:00:00.425) 0:03:01.661 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:89 Saturday 21 September 2024 04:29:41 -0400 (0:00:00.395) 0:03:02.057 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:97 Saturday 21 September 2024 04:29:41 -0400 (0:00:00.469) 0:03:02.526 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:120 Saturday 21 September 2024 04:29:41 -0400 (0:00:00.424) 0:03:02.951 **** 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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:144 Saturday 21 September 2024 04:29:43 -0400 (0:00:01.382) 0:03:04.334 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:148 Saturday 21 September 2024 04:29:43 -0400 (0:00:00.150) 0:03:04.484 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:166 Saturday 21 September 2024 04:29:43 -0400 (0:00:00.254) 0:03:04.738 **** ok: [managed_node1] => (item={u'type': u'basics', u'name': u'basic_input'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/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" } } ok: [managed_node1] => (item={u'subtype': u'collectd', u'ovirt_elasticsearch_index_prefix': u'project.ovirt-metrics', u'ovirt_collectd_port': 44514, u'name': u'ovirt_collectd_input', u'ovirt_env_uuid': u'111-222-333', u'type': u'ovirt', u'ovirt_env_name': u'test-engine'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_collectd_input", "ovirt_collectd_port": 44514, "ovirt_elasticsearch_index_prefix": "project.ovirt-metrics", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "111-222-333", "subtype": "collectd", "type": "ovirt" } } ok: [managed_node1] => (item={u'name': u'ovirt_engine_input', u'ovirt_engine_fqdn': u'engine.ovirt.example.com', u'ovirt_elasticsearch_index_prefix': u'project.ovirt-logs', u'subtype': u'engine', u'ovirt_vds_cluster_name': u'test_vds_cluster', u'ovirt_input_file': u'/var/log/ovirt-engine/engine.log', u'ovirt_env_name': u'test-engine', u'ovirt_env_uuid': u'444-555-666', u'type': u'ovirt'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_engine_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "444-555-666", "ovirt_input_file": "/var/log/ovirt-engine/engine.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "engine", "type": "ovirt" } } ok: [managed_node1] => (item={u'name': u'ovirt_vdsm_input', u'ovirt_engine_fqdn': u'engine.ovirt.example.com', u'ovirt_elasticsearch_index_prefix': u'project.ovirt-logs', u'subtype': u'vdsm', u'ovirt_vds_cluster_name': u'test_vds_cluster', u'ovirt_input_file': u'/var/log/vdsm/vdsm.log', u'ovirt_env_name': u'test-engine', u'ovirt_env_uuid': u'777-888-999', u'type': u'ovirt'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_vdsm_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "777-888-999", "ovirt_input_file": "/var/log/vdsm/vdsm.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "vdsm", "type": "ovirt" } } ok: [managed_node1] => (item={u'subtype': u'bogus', u'type': u'ovirt', u'name': u'ovirt_bogus_input'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Saturday 21 September 2024 04:29:43 -0400 (0:00:00.223) 0:03:04.961 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update basics input packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Saturday 21 September 2024 04:29:44 -0400 (0:00:00.301) 0:03:05.263 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:29:44 -0400 (0:00:00.216) 0:03:05.479 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:29:44 -0400 (0:00:00.133) 0:03:05.612 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:29:44 -0400 (0:00:00.125) 0:03:05.737 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:29:44 -0400 (0:00:00.157) 0:03:05.895 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create basics input configuration file /etc/rsyslog.d/input-basics-basic_input] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Saturday 21 September 2024 04:29:45 -0400 (0:00:00.130) 0:03:06.025 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:29:45 -0400 (0:00:00.270) 0:03:06.296 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:29:45 -0400 (0:00:00.332) 0:03:06.628 **** 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 default_files\n}\n'}], u'name': u'input-basics-basic_input'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:29:46 -0400 (0:00:01.327) 0:03:07.956 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:29:47 -0400 (0:00:00.198) 0:03:08.154 **** 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 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 default_files\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Saturday 21 September 2024 04:29:47 -0400 (0:00:00.797) 0:03:08.952 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Saturday 21 September 2024 04:29:48 -0400 (0:00:00.232) 0:03:09.184 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:9 Saturday 21 September 2024 04:29:48 -0400 (0:00:00.187) 0:03:09.372 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Saturday 21 September 2024 04:29:48 -0400 (0:00:00.310) 0:03:09.682 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:29:48 -0400 (0:00:00.253) 0:03:09.936 **** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse" ] }, "rc": 0, "results": [ "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed", "libfastjson-0.99.4-3.el7.x86_64 providing libfastjson is already installed", "liblognorm-2.0.2-3.el7.x86_64 providing liblognorm is already installed", "libestr-0.1.9-2.el7.x86_64 providing libestr is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog-mmjsonparse.x86_64 0:8.24.0-57.el7_9.3 will be installed\n---> Package rsyslog-mmnormalize.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n rsyslog-mmjsonparse x86_64 8.24.0-57.el7_9.3 updates 44 k\n rsyslog-mmnormalize x86_64 8.24.0-57.el7_9.3 updates 44 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages\n\nTotal download size: 88 k\nInstalled size: 31 k\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 329 kB/s | 88 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 1/2 \n Installing : rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 2/2 \n Verifying : rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 1/2 \n Verifying : rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 2/2 \n\nInstalled:\n rsyslog-mmjsonparse.x86_64 0:8.24.0-57.el7_9.3 \n rsyslog-mmnormalize.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } lsrpackages: libestr libfastjson liblognorm policycoreutils-python rsyslog-mmjsonparse rsyslog-mmnormalize TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:29:52 -0400 (0:00:03.787) 0:03:13.723 **** changed: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:29:56 -0400 (0:00:03.742) 0:03:17.466 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:29:56 -0400 (0:00:00.179) 0:03:17.645 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file /etc/rsyslog.d/input-ovirt-ovirt_collectd_input] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Saturday 21 September 2024 04:29:56 -0400 (0:00:00.155) 0:03:17.801 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:29:57 -0400 (0:00:00.369) 0:03:18.171 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:29:57 -0400 (0:00:00.226) 0:03:18.398 **** changed: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(name="ovirt_collectd_input" type="imtcp" port="44514")\nif $inputname == "ovirt_collectd_input" then {\n set $!original_raw_message = $msg;\n action(name="collectd_mmjsonparse" type="mmjsonparse" cookie="") # parse entire message as json\n set $!@timestamp = exec_template(\'cnvt_to_viaq_timestamp\');\n unset $!time;\n if $!collectd!plugin == \'virt\' then {\n set $!ovirt!entity = \'vms\';\n } else {\n set $!ovirt!entity = \'hosts\';\n }\n set $.index_prefix = "project.ovirt-metrics" & "-" & "test-engine" & "." & "111-222-333" & ".";\n set $.input_type = "ovirt";\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_collectd_input'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:29:58 -0400 (0:00:01.180) 0:03:19.578 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:29:58 -0400 (0:00:00.215) 0:03:19.794 **** skipping: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(name="ovirt_collectd_input" type="imtcp" port="44514")\nif $inputname == "ovirt_collectd_input" then {\n set $!original_raw_message = $msg;\n action(name="collectd_mmjsonparse" type="mmjsonparse" cookie="") # parse entire message as json\n set $!@timestamp = exec_template(\'cnvt_to_viaq_timestamp\');\n unset $!time;\n if $!collectd!plugin == \'virt\' then {\n set $!ovirt!entity = \'vms\';\n } else {\n set $!ovirt!entity = \'hosts\';\n }\n set $.index_prefix = "project.ovirt-metrics" & "-" & "test-engine" & "." & "111-222-333" & ".";\n set $.input_type = "ovirt";\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_collectd_input'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [Ensure collectd port is allowed for rsyslogd to listen to] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Saturday 21 September 2024 04:29:59 -0400 (0:00:00.492) 0:03:20.287 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 21 September 2024 04:29:59 -0400 (0:00:00.363) 0:03:20.650 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 21 September 2024 04:29:59 -0400 (0:00:00.370) 0:03:21.021 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 21 September 2024 04:30:00 -0400 (0:00:00.224) 0:03:21.246 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 21 September 2024 04:30:00 -0400 (0:00:00.568) 0:03:21.814 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 21 September 2024 04:30:01 -0400 (0:00:00.223) 0:03:22.037 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 21 September 2024 04:30:01 -0400 (0:00:00.284) 0:03:22.322 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 21 September 2024 04:30:01 -0400 (0:00:00.230) 0:03:22.552 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 21 September 2024 04:30:01 -0400 (0:00:00.279) 0:03:22.832 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 21 September 2024 04:30:02 -0400 (0:00:00.932) 0:03:23.764 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 21 September 2024 04:30:02 -0400 (0:00:00.138) 0:03:23.902 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 21 September 2024 04:30:03 -0400 (0:00:00.136) 0:03:24.038 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 21 September 2024 04:30:03 -0400 (0:00:00.218) 0:03:24.257 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 21 September 2024 04:30:03 -0400 (0:00:00.235) 0:03:24.493 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 21 September 2024 04:30:03 -0400 (0:00:00.233) 0:03:24.726 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 21 September 2024 04:30:03 -0400 (0:00:00.276) 0:03:25.003 **** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 21 September 2024 04:30:04 -0400 (0:00:00.899) 0:03:25.903 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 21 September 2024 04:30:05 -0400 (0:00:00.291) 0:03:26.195 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 21 September 2024 04:30:05 -0400 (0:00:00.151) 0:03:26.346 **** ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 21 September 2024 04:30:05 -0400 (0:00:00.157) 0:03:26.503 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 21 September 2024 04:30:05 -0400 (0:00:00.143) 0:03:26.647 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 21 September 2024 04:30:05 -0400 (0:00:00.144) 0:03:26.792 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 21 September 2024 04:30:05 -0400 (0:00:00.138) 0:03:26.931 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 21 September 2024 04:30:06 -0400 (0:00:00.135) 0:03:27.066 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 21 September 2024 04:30:06 -0400 (0:00:00.142) 0:03:27.209 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 21 September 2024 04:30:06 -0400 (0:00:00.143) 0:03:27.353 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 21 September 2024 04:30:06 -0400 (0:00:00.141) 0:03:27.495 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 21 September 2024 04:30:06 -0400 (0:00:00.150) 0:03:27.645 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 21 September 2024 04:30:06 -0400 (0:00:00.140) 0:03:27.786 **** ok: [managed_node1] => (item={u'setype': u'syslogd_port_t', u'proto': u'tcp', u'local': True, u'state': u'present', u'ports': u'44514'}) => { "__selinux_item": { "local": true, "ports": "44514", "proto": "tcp", "setype": "syslogd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "ports": [ "44514" ], "proto": "tcp", "setype": "syslogd_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 21 September 2024 04:30:07 -0400 (0:00:00.835) 0:03:28.621 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 21 September 2024 04:30:07 -0400 (0:00:00.236) 0:03:28.858 **** ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 21 September 2024 04:30:10 -0400 (0:00:02.814) 0:03:31.672 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 21 September 2024 04:30:10 -0400 (0:00:00.187) 0:03:31.860 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 21 September 2024 04:30:10 -0400 (0:00:00.132) 0:03:31.992 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Notify rsyslogd restart] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:42 Saturday 21 September 2024 04:30:11 -0400 (0:00:00.145) 0:03:32.138 **** ok: [managed_node1] => {} MSG: Notify rsyslogd restart TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Saturday 21 September 2024 04:30:11 -0400 (0:00:00.265) 0:03:32.403 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Saturday 21 September 2024 04:30:11 -0400 (0:00:00.427) 0:03:32.830 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:9 Saturday 21 September 2024 04:30:12 -0400 (0:00:00.215) 0:03:33.046 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Saturday 21 September 2024 04:30:12 -0400 (0:00:00.419) 0:03:33.466 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:30:12 -0400 (0:00:00.293) 0:03:33.759 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed", "rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmnormalize is already installed", "rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmjsonparse is already installed", "libfastjson-0.99.4-3.el7.x86_64 providing libfastjson is already installed", "liblognorm-2.0.2-3.el7.x86_64 providing liblognorm is already installed", "libestr-0.1.9-2.el7.x86_64 providing libestr is already installed" ] } lsrpackages: libestr libfastjson liblognorm policycoreutils-python rsyslog-mmjsonparse rsyslog-mmnormalize TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:30:13 -0400 (0:00:00.806) 0:03:34.566 **** ok: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:30:17 -0400 (0:00:03.856) 0:03:38.422 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:30:17 -0400 (0:00:00.435) 0:03:38.858 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file /etc/rsyslog.d/input-ovirt-ovirt_engine_input] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Saturday 21 September 2024 04:30:18 -0400 (0:00:00.308) 0:03:39.166 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:30:18 -0400 (0:00:00.347) 0:03:39.513 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:30:18 -0400 (0:00:00.142) 0:03:39.656 **** changed: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_engine_input" then {\n action(name="ovirt-engine_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_engine.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_engine_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "444-555-666" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-11-201.us-east-1.aws.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.11.201\';\n set $!ovirt!engine_fqdn = \'engine.ovirt.example.com\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_engine_input'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:30:19 -0400 (0:00:01.072) 0:03:40.729 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907419.05-471-198259856828494/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:30:19 -0400 (0:00:00.267) 0:03:40.996 **** skipping: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_engine_input" then {\n action(name="ovirt-engine_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_engine.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_engine_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "444-555-666" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-11-201.us-east-1.aws.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.11.201\';\n set $!ovirt!engine_fqdn = \'engine.ovirt.example.com\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_engine_input'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [Ensure collectd port is allowed for rsyslogd to listen to] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Saturday 21 September 2024 04:30:20 -0400 (0:00:00.499) 0:03:41.496 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 21 September 2024 04:30:20 -0400 (0:00:00.311) 0:03:41.808 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 21 September 2024 04:30:21 -0400 (0:00:00.350) 0:03:42.158 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 21 September 2024 04:30:21 -0400 (0:00:00.175) 0:03:42.333 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 21 September 2024 04:30:21 -0400 (0:00:00.289) 0:03:42.622 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 21 September 2024 04:30:21 -0400 (0:00:00.152) 0:03:42.775 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 21 September 2024 04:30:21 -0400 (0:00:00.133) 0:03:42.909 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 21 September 2024 04:30:22 -0400 (0:00:00.131) 0:03:43.041 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 21 September 2024 04:30:22 -0400 (0:00:00.136) 0:03:43.177 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 21 September 2024 04:30:22 -0400 (0:00:00.685) 0:03:43.863 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 21 September 2024 04:30:22 -0400 (0:00:00.090) 0:03:43.953 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 21 September 2024 04:30:23 -0400 (0:00:00.102) 0:03:44.056 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 21 September 2024 04:30:23 -0400 (0:00:00.133) 0:03:44.190 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 21 September 2024 04:30:23 -0400 (0:00:00.226) 0:03:44.416 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 21 September 2024 04:30:23 -0400 (0:00:00.133) 0:03:44.550 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 21 September 2024 04:30:23 -0400 (0:00:00.140) 0:03:44.690 **** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 21 September 2024 04:30:24 -0400 (0:00:00.668) 0:03:45.359 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 21 September 2024 04:30:24 -0400 (0:00:00.134) 0:03:45.493 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 21 September 2024 04:30:24 -0400 (0:00:00.135) 0:03:45.629 **** ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 21 September 2024 04:30:24 -0400 (0:00:00.149) 0:03:45.778 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 21 September 2024 04:30:24 -0400 (0:00:00.133) 0:03:45.912 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 21 September 2024 04:30:25 -0400 (0:00:00.131) 0:03:46.043 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 21 September 2024 04:30:25 -0400 (0:00:00.134) 0:03:46.178 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 21 September 2024 04:30:25 -0400 (0:00:00.129) 0:03:46.308 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 21 September 2024 04:30:25 -0400 (0:00:00.135) 0:03:46.444 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 21 September 2024 04:30:25 -0400 (0:00:00.275) 0:03:46.719 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 21 September 2024 04:30:25 -0400 (0:00:00.256) 0:03:46.976 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 21 September 2024 04:30:26 -0400 (0:00:00.174) 0:03:47.150 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 21 September 2024 04:30:26 -0400 (0:00:00.177) 0:03:47.328 **** ok: [managed_node1] => (item={u'setype': u'syslogd_port_t', u'proto': u'tcp', u'local': True, u'state': u'present', u'ports': u'44514'}) => { "__selinux_item": { "local": true, "ports": "44514", "proto": "tcp", "setype": "syslogd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "ports": [ "44514" ], "proto": "tcp", "setype": "syslogd_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 21 September 2024 04:30:26 -0400 (0:00:00.560) 0:03:47.889 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 21 September 2024 04:30:27 -0400 (0:00:00.144) 0:03:48.033 **** ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 21 September 2024 04:30:29 -0400 (0:00:02.711) 0:03:50.744 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 21 September 2024 04:30:29 -0400 (0:00:00.150) 0:03:50.895 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 21 September 2024 04:30:30 -0400 (0:00:00.140) 0:03:51.036 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Notify rsyslogd restart] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:42 Saturday 21 September 2024 04:30:30 -0400 (0:00:00.239) 0:03:51.275 **** ok: [managed_node1] => {} MSG: Notify rsyslogd restart TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Saturday 21 September 2024 04:30:30 -0400 (0:00:00.157) 0:03:51.433 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Saturday 21 September 2024 04:30:30 -0400 (0:00:00.431) 0:03:51.864 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:9 Saturday 21 September 2024 04:30:31 -0400 (0:00:00.204) 0:03:52.069 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Saturday 21 September 2024 04:30:31 -0400 (0:00:00.329) 0:03:52.399 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:30:31 -0400 (0:00:00.324) 0:03:52.723 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed", "rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmnormalize is already installed", "rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmjsonparse is already installed", "libfastjson-0.99.4-3.el7.x86_64 providing libfastjson is already installed", "liblognorm-2.0.2-3.el7.x86_64 providing liblognorm is already installed", "libestr-0.1.9-2.el7.x86_64 providing libestr is already installed" ] } lsrpackages: libestr libfastjson liblognorm policycoreutils-python rsyslog-mmjsonparse rsyslog-mmnormalize TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:30:32 -0400 (0:00:00.735) 0:03:53.458 **** ok: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:30:36 -0400 (0:00:03.985) 0:03:57.444 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907419.05-471-198259856828494/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:30:36 -0400 (0:00:00.304) 0:03:57.748 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file /etc/rsyslog.d/input-ovirt-ovirt_vdsm_input] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Saturday 21 September 2024 04:30:37 -0400 (0:00:00.277) 0:03:58.025 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:30:37 -0400 (0:00:00.282) 0:03:58.308 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:30:37 -0400 (0:00:00.132) 0:03:58.440 **** changed: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_vdsm_input" then {\n action(name="ovirt-vdsm_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_vdsm.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_vdsm_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "777-888-999" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-11-201.us-east-1.aws.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.11.201\';\n set $!ovirt!engine_fqdn = \'engine.ovirt.example.com\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_vdsm_input'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "a88b246028680c755f58e12a72545b65", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1352, "src": "/root/.ansible/tmp/ansible-tmp-1726907437.79-1239-278598479302503/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:30:38 -0400 (0:00:01.038) 0:03:59.478 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907419.05-471-198259856828494/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907437.79-1239-278598479302503/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a88b246028680c755f58e12a72545b65", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1352, "src": "/root/.ansible/tmp/ansible-tmp-1726907437.79-1239-278598479302503/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:30:38 -0400 (0:00:00.242) 0:03:59.721 **** skipping: [managed_node1] => (item={u'type': u'input', u'state': u'present', u'sections': [{u'options': u'input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_vdsm_input" then {\n action(name="ovirt-vdsm_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_vdsm.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_vdsm_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "777-888-999" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-11-201.us-east-1.aws.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.11.201\';\n set $!ovirt!engine_fqdn = \'engine.ovirt.example.com\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output_ops\n}\n'}], u'name': u'input-ovirt-ovirt_vdsm_input'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [Ensure collectd port is allowed for rsyslogd to listen to] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Saturday 21 September 2024 04:30:39 -0400 (0:00:00.611) 0:04:00.332 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 21 September 2024 04:30:39 -0400 (0:00:00.417) 0:04:00.750 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 21 September 2024 04:30:40 -0400 (0:00:00.276) 0:04:01.027 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 21 September 2024 04:30:40 -0400 (0:00:00.163) 0:04:01.190 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 21 September 2024 04:30:40 -0400 (0:00:00.192) 0:04:01.383 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 21 September 2024 04:30:40 -0400 (0:00:00.115) 0:04:01.499 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 21 September 2024 04:30:40 -0400 (0:00:00.143) 0:04:01.643 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 21 September 2024 04:30:40 -0400 (0:00:00.140) 0:04:01.783 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 21 September 2024 04:30:40 -0400 (0:00:00.168) 0:04:01.951 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 21 September 2024 04:30:41 -0400 (0:00:00.945) 0:04:02.897 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 21 September 2024 04:30:42 -0400 (0:00:00.243) 0:04:03.141 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 21 September 2024 04:30:42 -0400 (0:00:00.202) 0:04:03.343 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 21 September 2024 04:30:42 -0400 (0:00:00.121) 0:04:03.465 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 21 September 2024 04:30:42 -0400 (0:00:00.089) 0:04:03.555 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 21 September 2024 04:30:42 -0400 (0:00:00.167) 0:04:03.723 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 21 September 2024 04:30:42 -0400 (0:00:00.143) 0:04:03.867 **** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 21 September 2024 04:30:43 -0400 (0:00:00.655) 0:04:04.522 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 21 September 2024 04:30:43 -0400 (0:00:00.179) 0:04:04.701 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 21 September 2024 04:30:43 -0400 (0:00:00.160) 0:04:04.862 **** ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 21 September 2024 04:30:44 -0400 (0:00:00.179) 0:04:05.041 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 21 September 2024 04:30:44 -0400 (0:00:00.180) 0:04:05.222 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 21 September 2024 04:30:44 -0400 (0:00:00.208) 0:04:05.430 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 21 September 2024 04:30:44 -0400 (0:00:00.147) 0:04:05.578 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 21 September 2024 04:30:44 -0400 (0:00:00.262) 0:04:05.840 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 21 September 2024 04:30:44 -0400 (0:00:00.145) 0:04:05.986 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 21 September 2024 04:30:45 -0400 (0:00:00.253) 0:04:06.239 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 21 September 2024 04:30:45 -0400 (0:00:00.184) 0:04:06.424 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 21 September 2024 04:30:45 -0400 (0:00:00.127) 0:04:06.552 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 21 September 2024 04:30:45 -0400 (0:00:00.142) 0:04:06.695 **** ok: [managed_node1] => (item={u'setype': u'syslogd_port_t', u'proto': u'tcp', u'local': True, u'state': u'present', u'ports': u'44514'}) => { "__selinux_item": { "local": true, "ports": "44514", "proto": "tcp", "setype": "syslogd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "ports": [ "44514" ], "proto": "tcp", "setype": "syslogd_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 21 September 2024 04:30:46 -0400 (0:00:00.605) 0:04:07.300 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 21 September 2024 04:30:46 -0400 (0:00:00.144) 0:04:07.445 **** ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 21 September 2024 04:30:49 -0400 (0:00:02.824) 0:04:10.269 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 21 September 2024 04:30:49 -0400 (0:00:00.162) 0:04:10.432 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 21 September 2024 04:30:49 -0400 (0:00:00.185) 0:04:10.618 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Notify rsyslogd restart] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:42 Saturday 21 September 2024 04:30:49 -0400 (0:00:00.143) 0:04:10.761 **** ok: [managed_node1] => {} MSG: Notify rsyslogd restart TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Saturday 21 September 2024 04:30:49 -0400 (0:00:00.145) 0:04:10.907 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Saturday 21 September 2024 04:30:50 -0400 (0:00:00.252) 0:04:11.160 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:9 Saturday 21 September 2024 04:30:50 -0400 (0:00:00.221) 0:04:11.381 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Saturday 21 September 2024 04:30:50 -0400 (0:00:00.325) 0:04:11.707 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:30:51 -0400 (0:00:00.354) 0:04:12.062 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed", "rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmnormalize is already installed", "rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 providing rsyslog-mmjsonparse is already installed", "libfastjson-0.99.4-3.el7.x86_64 providing libfastjson is already installed", "liblognorm-2.0.2-3.el7.x86_64 providing liblognorm is already installed", "libestr-0.1.9-2.el7.x86_64 providing libestr is already installed" ] } lsrpackages: libestr libfastjson liblognorm policycoreutils-python rsyslog-mmjsonparse rsyslog-mmnormalize TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:30:51 -0400 (0:00:00.717) 0:04:12.779 **** ok: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:30:55 -0400 (0:00:04.004) 0:04:16.783 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907419.05-471-198259856828494/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907437.79-1239-278598479302503/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a88b246028680c755f58e12a72545b65", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1352, "src": "/root/.ansible/tmp/ansible-tmp-1726907437.79-1239-278598479302503/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:30:56 -0400 (0:00:00.508) 0:04:17.291 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u''}], u'type': u'modules', u'name': u'input-ovirt-local_modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {u'options': u'# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {u'options': u'# Normalize logs\nmodule(load="mmnormalize")'}, {u'options': u'# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {u'options': u'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}], u'type': u'modules', u'name': u'input-ovirt-main-modules'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_engine', u'filename': u'ovirt_engine.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}], u'name': u'ovirt_vdsm', u'filename': u'ovirt_vdsm.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'nocomment': True, u'sections': [{u'options': u'version=2\nrule=:%.:json%'}], u'name': u'parse_json', u'filename': u'parse_json.rulebase'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file /etc/rsyslog.d/input-ovirt-ovirt_bogus_input] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Saturday 21 September 2024 04:30:56 -0400 (0:00:00.222) 0:04:17.514 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure collectd port is allowed for rsyslogd to listen to] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Saturday 21 September 2024 04:30:56 -0400 (0:00:00.149) 0:04:17.663 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 21 September 2024 04:30:56 -0400 (0:00:00.354) 0:04:18.017 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 21 September 2024 04:30:57 -0400 (0:00:00.286) 0:04:18.304 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 21 September 2024 04:30:57 -0400 (0:00:00.229) 0:04:18.534 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 21 September 2024 04:30:58 -0400 (0:00:00.706) 0:04:19.240 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 21 September 2024 04:30:58 -0400 (0:00:00.146) 0:04:19.387 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 21 September 2024 04:30:58 -0400 (0:00:00.149) 0:04:19.537 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 21 September 2024 04:30:58 -0400 (0:00:00.149) 0:04:19.686 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 21 September 2024 04:30:58 -0400 (0:00:00.140) 0:04:19.827 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 21 September 2024 04:30:59 -0400 (0:00:00.682) 0:04:20.509 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 21 September 2024 04:30:59 -0400 (0:00:00.160) 0:04:20.670 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 21 September 2024 04:30:59 -0400 (0:00:00.219) 0:04:20.889 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 21 September 2024 04:31:00 -0400 (0:00:00.253) 0:04:21.143 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 21 September 2024 04:31:00 -0400 (0:00:00.183) 0:04:21.326 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 21 September 2024 04:31:00 -0400 (0:00:00.138) 0:04:21.465 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 21 September 2024 04:31:00 -0400 (0:00:00.264) 0:04:21.730 **** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 21 September 2024 04:31:01 -0400 (0:00:00.755) 0:04:22.486 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 21 September 2024 04:31:01 -0400 (0:00:00.098) 0:04:22.584 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 21 September 2024 04:31:01 -0400 (0:00:00.161) 0:04:22.745 **** ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 21 September 2024 04:31:01 -0400 (0:00:00.135) 0:04:22.881 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 21 September 2024 04:31:01 -0400 (0:00:00.097) 0:04:22.978 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 21 September 2024 04:31:02 -0400 (0:00:00.118) 0:04:23.097 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 21 September 2024 04:31:02 -0400 (0:00:00.137) 0:04:23.234 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 21 September 2024 04:31:02 -0400 (0:00:00.170) 0:04:23.405 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 21 September 2024 04:31:02 -0400 (0:00:00.133) 0:04:23.539 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 21 September 2024 04:31:02 -0400 (0:00:00.149) 0:04:23.688 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 21 September 2024 04:31:02 -0400 (0:00:00.180) 0:04:23.868 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 21 September 2024 04:31:03 -0400 (0:00:00.245) 0:04:24.114 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 21 September 2024 04:31:03 -0400 (0:00:00.128) 0:04:24.242 **** ok: [managed_node1] => (item={u'setype': u'syslogd_port_t', u'proto': u'tcp', u'local': True, u'state': u'present', u'ports': u'44514'}) => { "__selinux_item": { "local": true, "ports": "44514", "proto": "tcp", "setype": "syslogd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "ports": [ "44514" ], "proto": "tcp", "setype": "syslogd_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 21 September 2024 04:31:03 -0400 (0:00:00.759) 0:04:25.002 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 21 September 2024 04:31:04 -0400 (0:00:00.124) 0:04:25.126 **** ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 21 September 2024 04:31:06 -0400 (0:00:02.716) 0:04:27.843 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 21 September 2024 04:31:06 -0400 (0:00:00.153) 0:04:27.996 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 21 September 2024 04:31:07 -0400 (0:00:00.259) 0:04:28.256 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Notify rsyslogd restart] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:42 Saturday 21 September 2024 04:31:07 -0400 (0:00:00.198) 0:04:28.454 **** ok: [managed_node1] => {} MSG: Notify rsyslogd restart TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:192 Saturday 21 September 2024 04:31:07 -0400 (0:00:00.288) 0:04:28.743 **** 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/collections-Pjh/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" } } ok: [managed_node1] => (item={u'private_key': u'/etc/rsyslog.d/es-key.pem', u'index_prefix': u'project.', u'name': u'elasticsearch_output', u'ca_cert': u'/etc/rsyslog.d/es-ca.crt', u'input_type': u'ovirt', u'server_host': [u'logging-es0', u'logging-es1'], u'cert': u'/etc/rsyslog.d/es-cert.pem', u'server_port': 9200, u'type': u'elasticsearch', u'uid': u'testuser0'}) => { "ansible_facts": { "__rsyslog_conf_es_elasticsearch": [ { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"{{ __rsyslog_work_dir }}/es-bulk-errors.log\")\n}" } ], "type": "output" } ], "__rsyslog_conf_es_main_modules": [ { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" } ], "__rsyslog_elasticsearch_packages": [ "rsyslog-elasticsearch" ], "__rsyslog_elasticsearch_rules": [ "{{ __rsyslog_conf_es_main_modules }}", "{{ __rsyslog_conf_es_elasticsearch }}" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "server_host": [ "logging-es0", "logging-es1" ], "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" } } ok: [managed_node1] => (item={u'private_key': u'/etc/rsyslog.d/es-key.pem', u'index_prefix': u'.operations.', u'name': u'elasticsearch_output_ops', u'ca_cert': u'/etc/rsyslog.d/es-ca.crt', u'usehttps': False, u'input_type': u'ovirt', u'server_host': [u'logging-es-ops0', u'logging-es-ops1'], u'cert': u'/etc/rsyslog.d/es-cert.pem', u'dynbulkid': False, u'dynSearchIndex': False, u'server_port': 9200, u'type': u'elasticsearch', u'bulkmode': False, u'retryfailures': False, u'allowUnsignedCerts': True}) => { "ansible_facts": { "__rsyslog_conf_es_elasticsearch": [ { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"{{ __rsyslog_work_dir }}/es-bulk-errors.log\")\n}" } ], "type": "output" } ], "__rsyslog_conf_es_main_modules": [ { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" } ], "__rsyslog_elasticsearch_packages": [ "rsyslog-elasticsearch" ], "__rsyslog_elasticsearch_rules": [ "{{ __rsyslog_conf_es_main_modules }}", "{{ __rsyslog_conf_es_elasticsearch }}" ] }, "ansible_included_var_files": [ "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "allowUnsignedCerts": true, "bulkmode": false, "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "dynSearchIndex": false, "dynbulkid": false, "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": [ "logging-es-ops0", "logging-es-ops1" ], "server_port": 9200, "type": "elasticsearch", "usehttps": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:204 Saturday 21 September 2024 04:31:08 -0400 (0:00:00.557) 0:04:29.300 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for managed_node1 included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for managed_node1 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Saturday 21 September 2024 04:31:08 -0400 (0:00:00.465) 0:04:29.766 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:31:09 -0400 (0:00:00.328) 0:04:30.095 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:31:09 -0400 (0:00:00.157) 0:04:30.252 **** 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:omfile")\n'}], u'type': u'modules', u'name': u'output-files-modules'}) => { "ansible_loop_var": "inner_item", "changed": true, "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" }, "md5sum": "00018829068d32b3c654252fff4f6884", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 151, "src": "/root/.ansible/tmp/ansible-tmp-1726907469.34-2989-220854002825952/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:31:10 -0400 (0:00:00.992) 0:04:31.245 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907419.05-471-198259856828494/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907437.79-1239-278598479302503/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a88b246028680c755f58e12a72545b65", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1352, "src": "/root/.ansible/tmp/ansible-tmp-1726907437.79-1239-278598479302503/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "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": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-files-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-1726907469.34-2989-220854002825952/source", "unsafe_writes": false, "validate": null } }, "md5sum": "00018829068d32b3c654252fff4f6884", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 151, "src": "/root/.ansible/tmp/ansible-tmp-1726907469.34-2989-220854002825952/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:31:10 -0400 (0:00:00.472) 0:04:31.718 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:11 Saturday 21 September 2024 04:31:10 -0400 (0:00:00.186) 0:04:31.904 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:31:11 -0400 (0:00:00.262) 0:04:32.167 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:31:11 -0400 (0:00:00.234) 0:04:32.402 **** 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-1726907471.87-3102-6640808378841/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:31:12 -0400 (0:00:01.312) 0:04:33.714 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907419.05-471-198259856828494/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907437.79-1239-278598479302503/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a88b246028680c755f58e12a72545b65", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1352, "src": "/root/.ansible/tmp/ansible-tmp-1726907437.79-1239-278598479302503/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "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": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-files-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-1726907469.34-2989-220854002825952/source", "unsafe_writes": false, "validate": null } }, "md5sum": "00018829068d32b3c654252fff4f6884", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 151, "src": "/root/.ansible/tmp/ansible-tmp-1726907469.34-2989-220854002825952/source", "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-1726907471.87-3102-6640808378841/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-1726907471.87-3102-6640808378841/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:31:13 -0400 (0:00:00.419) 0:04:34.133 **** 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 : Set and check certs and key for elasticsearch] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Saturday 21 September 2024 04:31:13 -0400 (0:00:00.557) 0:04:34.691 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:10 Saturday 21 September 2024 04:31:13 -0400 (0:00:00.312) 0:04:35.003 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:17 Saturday 21 September 2024 04:31:14 -0400 (0:00:00.179) 0:04:35.183 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:24 Saturday 21 September 2024 04:31:14 -0400 (0:00:00.171) 0:04:35.354 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:31 Saturday 21 September 2024 04:31:14 -0400 (0:00:00.174) 0:04:35.528 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:36 Saturday 21 September 2024 04:31:14 -0400 (0:00:00.156) 0:04:35.685 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Saturday 21 September 2024 04:31:14 -0400 (0:00:00.142) 0:04:35.828 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:31:15 -0400 (0:00:00.440) 0:04:36.268 **** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "rsyslog-elasticsearch" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog-elasticsearch.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n rsyslog-elasticsearch x86_64 8.24.0-57.el7_9.3 updates 54 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 54 k\nInstalled size: 44 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64 1/1 \n Verifying : rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64 1/1 \n\nInstalled:\n rsyslog-elasticsearch.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } lsrpackages: rsyslog-elasticsearch TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:31:18 -0400 (0:00:03.374) 0:04:39.643 **** changed: [managed_node1] => (item={u'sections': [{u'options': u'# Send to Elasticsearch\nmodule(load="omelasticsearch")'}], u'type': u'modules', u'name': u'output-elasticsearch-module'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "md5sum": "3c1b70ae145a75a8736af9f7676f36a5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "src": "/root/.ansible/tmp/ansible-tmp-1726907478.76-3539-72810052948142/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'sections': [{u'options': u'# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}], u'type': u'output', u'name': u'output-elasticsearch'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "md5sum": "7da07b533c1ef11e26c9ddeec6967df3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "src": "/root/.ansible/tmp/ansible-tmp-1726907479.85-3539-9281707215139/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:31:20 -0400 (0:00:02.006) 0:04:41.649 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907419.05-471-198259856828494/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907437.79-1239-278598479302503/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a88b246028680c755f58e12a72545b65", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1352, "src": "/root/.ansible/tmp/ansible-tmp-1726907437.79-1239-278598479302503/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "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": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-files-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-1726907469.34-2989-220854002825952/source", "unsafe_writes": false, "validate": null } }, "md5sum": "00018829068d32b3c654252fff4f6884", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 151, "src": "/root/.ansible/tmp/ansible-tmp-1726907469.34-2989-220854002825952/source", "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-1726907471.87-3102-6640808378841/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-1726907471.87-3102-6640808378841/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.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-1726907478.76-3539-72810052948142/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3c1b70ae145a75a8736af9f7676f36a5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "src": "/root/.ansible/tmp/ansible-tmp-1726907478.76-3539-72810052948142/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.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-1726907479.85-3539-9281707215139/source", "unsafe_writes": false, "validate": null } }, "md5sum": "7da07b533c1ef11e26c9ddeec6967df3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "src": "/root/.ansible/tmp/ansible-tmp-1726907479.85-3539-9281707215139/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:31:21 -0400 (0:00:00.385) 0:04:42.035 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Send to Elasticsearch\nmodule(load="omelasticsearch")'}], u'type': u'modules', u'name': u'output-elasticsearch-module'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}], u'type': u'output', u'name': u'output-elasticsearch'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file /etc/rsyslog.d/output-elasticsearch-elasticsearch_output] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Saturday 21 September 2024 04:31:21 -0400 (0:00:00.176) 0:04:42.212 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:31:21 -0400 (0:00:00.356) 0:04:42.568 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:31:21 -0400 (0:00:00.153) 0:04:42.722 **** changed: [managed_node1] => (item={u'group': u'root', u'name': u'output-elasticsearch-elasticsearch_output', u'weight': u'31', u'sections': [{u'options': u'ruleset(name="elasticsearch_output") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == "create")) then {\n stop # successful\n }\n if ($.omes!writeoperation == "unknown") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template("prefix_index_template");\n }\n if ($.input_type == "ovirt") and ($.index_prefix startswith "project.") then {\n action(\n type="omelasticsearch"\n name="elasticsearch_output"\n server=["logging-es0", "logging-es1"]\n serverport="9200"\n template="es_template"\n searchIndex="index_template"\n dynSearchIndex="on"\n searchType="com.redhat.viaq.common"\n bulkmode="on"\n writeoperation="create"\n bulkid="id_template"\n dynbulkid="on"\n allowUnsignedCerts="off"\n retryfailures="on"\n retryruleset="elasticsearch_output"\n usehttps="on"\n tls.cacert="/etc/rsyslog.d/es-ca.crt"\n tls.mycert="/etc/rsyslog.d/es-cert.pem"\n tls.myprivkey="/etc/rsyslog.d/es-key.pem"\n )\n }\n}\n'}], u'state': u'present', u'mode': u'0600', u'owner': u'root', u'type': u'output'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d412e991faa911f300f23104d19599a927db4ef2", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=[\"logging-es0\", \"logging-es1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"on\"\n retryruleset=\"elasticsearch_output\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "md5sum": "c9e2c88853186d649ac67559601ffc82", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2085, "src": "/root/.ansible/tmp/ansible-tmp-1726907482.17-3694-280695835118215/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:31:22 -0400 (0:00:01.084) 0:04:43.806 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907419.05-471-198259856828494/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907437.79-1239-278598479302503/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a88b246028680c755f58e12a72545b65", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1352, "src": "/root/.ansible/tmp/ansible-tmp-1726907437.79-1239-278598479302503/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "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": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-files-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-1726907469.34-2989-220854002825952/source", "unsafe_writes": false, "validate": null } }, "md5sum": "00018829068d32b3c654252fff4f6884", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 151, "src": "/root/.ansible/tmp/ansible-tmp-1726907469.34-2989-220854002825952/source", "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-1726907471.87-3102-6640808378841/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-1726907471.87-3102-6640808378841/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.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-1726907478.76-3539-72810052948142/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3c1b70ae145a75a8736af9f7676f36a5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "src": "/root/.ansible/tmp/ansible-tmp-1726907478.76-3539-72810052948142/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.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-1726907479.85-3539-9281707215139/source", "unsafe_writes": false, "validate": null } }, "md5sum": "7da07b533c1ef11e26c9ddeec6967df3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "src": "/root/.ansible/tmp/ansible-tmp-1726907479.85-3539-9281707215139/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d412e991faa911f300f23104d19599a927db4ef2", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=[\"logging-es0\", \"logging-es1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"on\"\n retryruleset=\"elasticsearch_output\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d412e991faa911f300f23104d19599a927db4ef2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1726907482.17-3694-280695835118215/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c9e2c88853186d649ac67559601ffc82", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2085, "src": "/root/.ansible/tmp/ansible-tmp-1726907482.17-3694-280695835118215/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:31:23 -0400 (0:00:00.271) 0:04:44.077 **** skipping: [managed_node1] => (item={u'group': u'root', u'name': u'output-elasticsearch-elasticsearch_output', u'weight': u'31', u'sections': [{u'options': u'ruleset(name="elasticsearch_output") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == "create")) then {\n stop # successful\n }\n if ($.omes!writeoperation == "unknown") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template("prefix_index_template");\n }\n if ($.input_type == "ovirt") and ($.index_prefix startswith "project.") then {\n action(\n type="omelasticsearch"\n name="elasticsearch_output"\n server=["logging-es0", "logging-es1"]\n serverport="9200"\n template="es_template"\n searchIndex="index_template"\n dynSearchIndex="on"\n searchType="com.redhat.viaq.common"\n bulkmode="on"\n writeoperation="create"\n bulkid="id_template"\n dynbulkid="on"\n allowUnsignedCerts="off"\n retryfailures="on"\n retryruleset="elasticsearch_output"\n usehttps="on"\n tls.cacert="/etc/rsyslog.d/es-ca.crt"\n tls.mycert="/etc/rsyslog.d/es-cert.pem"\n tls.myprivkey="/etc/rsyslog.d/es-key.pem"\n )\n }\n}\n'}], u'state': u'present', u'mode': u'0600', u'owner': u'root', u'type': u'output'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=[\"logging-es0\", \"logging-es1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"on\"\n retryruleset=\"elasticsearch_output\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file no-log /etc/rsyslog.d/output-elasticsearch-elasticsearch_output] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Saturday 21 September 2024 04:31:23 -0400 (0:00:00.805) 0:04:44.883 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Saturday 21 September 2024 04:31:24 -0400 (0:00:00.204) 0:04:45.087 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for managed_node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:10 Saturday 21 September 2024 04:31:24 -0400 (0:00:00.311) 0:04:45.399 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:17 Saturday 21 September 2024 04:31:24 -0400 (0:00:00.185) 0:04:45.584 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:24 Saturday 21 September 2024 04:31:24 -0400 (0:00:00.287) 0:04:45.871 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:31 Saturday 21 September 2024 04:31:25 -0400 (0:00:00.179) 0:04:46.051 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:36 Saturday 21 September 2024 04:31:25 -0400 (0:00:00.176) 0:04:46.228 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Saturday 21 September 2024 04:31:25 -0400 (0:00:00.144) 0:04:46.372 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:31:25 -0400 (0:00:00.261) 0:04:46.634 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64 providing rsyslog-elasticsearch is already installed" ] } lsrpackages: rsyslog-elasticsearch TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:31:26 -0400 (0:00:00.775) 0:04:47.409 **** ok: [managed_node1] => (item={u'sections': [{u'options': u'# Send to Elasticsearch\nmodule(load="omelasticsearch")'}], u'type': u'modules', u'name': u'output-elasticsearch-module'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'sections': [{u'options': u'# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}], u'type': u'output', u'name': u'output-elasticsearch'}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:31:27 -0400 (0:00:01.470) 0:04:48.880 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907419.05-471-198259856828494/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907437.79-1239-278598479302503/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a88b246028680c755f58e12a72545b65", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1352, "src": "/root/.ansible/tmp/ansible-tmp-1726907437.79-1239-278598479302503/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "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": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-files-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-1726907469.34-2989-220854002825952/source", "unsafe_writes": false, "validate": null } }, "md5sum": "00018829068d32b3c654252fff4f6884", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 151, "src": "/root/.ansible/tmp/ansible-tmp-1726907469.34-2989-220854002825952/source", "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-1726907471.87-3102-6640808378841/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-1726907471.87-3102-6640808378841/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.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-1726907478.76-3539-72810052948142/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3c1b70ae145a75a8736af9f7676f36a5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "src": "/root/.ansible/tmp/ansible-tmp-1726907478.76-3539-72810052948142/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.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-1726907479.85-3539-9281707215139/source", "unsafe_writes": false, "validate": null } }, "md5sum": "7da07b533c1ef11e26c9ddeec6967df3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "src": "/root/.ansible/tmp/ansible-tmp-1726907479.85-3539-9281707215139/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d412e991faa911f300f23104d19599a927db4ef2", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=[\"logging-es0\", \"logging-es1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"on\"\n retryruleset=\"elasticsearch_output\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d412e991faa911f300f23104d19599a927db4ef2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1726907482.17-3694-280695835118215/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c9e2c88853186d649ac67559601ffc82", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2085, "src": "/root/.ansible/tmp/ansible-tmp-1726907482.17-3694-280695835118215/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "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-elasticsearch-module.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-elasticsearch-module.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-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "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/30-output-elasticsearch.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/30-output-elasticsearch.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/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:31:28 -0400 (0:00:00.440) 0:04:49.321 **** skipping: [managed_node1] => (item={u'sections': [{u'options': u'# Send to Elasticsearch\nmodule(load="omelasticsearch")'}], u'type': u'modules', u'name': u'output-elasticsearch-module'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'sections': [{u'options': u'# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}], u'type': u'output', u'name': u'output-elasticsearch'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file /etc/rsyslog.d/output-elasticsearch-elasticsearch_output_ops] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Saturday 21 September 2024 04:31:28 -0400 (0:00:00.307) 0:04:49.629 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Saturday 21 September 2024 04:31:29 -0400 (0:00:00.465) 0:04:50.094 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 Saturday 21 September 2024 04:31:29 -0400 (0:00:00.143) 0:04:50.237 **** changed: [managed_node1] => (item={u'group': u'root', u'name': u'output-elasticsearch-elasticsearch_output_ops', u'weight': u'31', u'sections': [{u'options': u'ruleset(name="elasticsearch_output_ops") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == "create")) then {\n stop # successful\n }\n if ($.omes!writeoperation == "unknown") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template("prefix_index_template");\n }\n if ($.input_type == "ovirt") and ($.index_prefix startswith ".operations.") then {\n action(\n type="omelasticsearch"\n name="elasticsearch_output_ops"\n server=["logging-es-ops0", "logging-es-ops1"]\n serverport="9200"\n template="es_template"\n searchIndex="index_template"\n dynSearchIndex="off"\n searchType="com.redhat.viaq.common"\n bulkmode="off"\n writeoperation="create"\n bulkid="id_template"\n dynbulkid="off"\n allowUnsignedCerts="on"\n retryfailures="off"\n usehttps="off"\n tls.cacert="/etc/rsyslog.d/es-ca.crt"\n tls.mycert="/etc/rsyslog.d/es-cert.pem"\n tls.myprivkey="/etc/rsyslog.d/es-key.pem"\n )\n }\n}\n'}], u'state': u'present', u'mode': u'0600', u'owner': u'root', u'type': u'output'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "20faf5823c112eb97d29edee8861f3cf55d3d12a", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output_ops", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output_ops\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \".operations.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output_ops\"\n server=[\"logging-es-ops0\", \"logging-es-ops1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"off\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"off\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"off\"\n allowUnsignedCerts=\"on\"\n retryfailures=\"off\"\n usehttps=\"off\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "md5sum": "8fc822fd8570783999cb311797ac3f35", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2061, "src": "/root/.ansible/tmp/ansible-tmp-1726907489.71-3973-59523618527726/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Add deployed templates to global list] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:32 Saturday 21 September 2024 04:31:30 -0400 (0:00:01.341) 0:04:51.578 **** 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-1726907382.02-31433-187588204033707/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-1726907382.02-31433-187588204033707/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-1726907382.66-31433-235515804417586/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-1726907382.66-31433-235515804417586/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": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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 default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d8b0f57aa20003b4f36890cc94641e242e68f410", "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-1726907386.16-31563-53760889993794/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a29194a73b51aa1df227dd88e2099359", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 564, "src": "/root/.ansible/tmp/ansible-tmp-1726907386.16-31563-53760889993794/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_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-1726907392.8-31887-63159556735231/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fdefc8d4bb3cd2d6964b439ade0cce9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "src": "/root/.ansible/tmp/ansible-tmp-1726907392.8-31887-63159556735231/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-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-1726907393.45-31887-16271904504136/source", "unsafe_writes": false, "validate": null } }, "md5sum": "95f97f58c8d302e7f19c369368a59496", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "src": "/root/.ansible/tmp/ansible-tmp-1726907393.45-31887-16271904504136/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "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-1726907394.1-31887-276510032499300/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.1-31887-276510032499300/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "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-1726907394.78-31887-21907006264419/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1726907394.78-31887-21907006264419/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "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-1726907395.74-31887-178905460881253/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1726907395.74-31887-178905460881253/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_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-1726907397.83-32148-154910754099632/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b7aefd01b728b8ce6622df9c8bbfeab2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 819, "src": "/root/.ansible/tmp/ansible-tmp-1726907397.83-32148-154910754099632/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_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-1726907419.05-471-198259856828494/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f365ccf542c4575022a127b8d8303ed8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1376, "src": "/root/.ansible/tmp/ansible-tmp-1726907419.05-471-198259856828494/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-11-201.us-east-1.aws.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.11.201';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_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-1726907437.79-1239-278598479302503/source", "unsafe_writes": false, "validate": null } }, "md5sum": "a88b246028680c755f58e12a72545b65", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1352, "src": "/root/.ansible/tmp/ansible-tmp-1726907437.79-1239-278598479302503/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8a9f376470c4d77e9258988d25efad31bd25b045", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "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-input-ovirt-local_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-input-ovirt-local_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-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 45, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "b3ec928f1bac17524b90e3adc62f13f3c35e5bb2", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\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-input-ovirt-main-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-input-ovirt-main-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-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 379, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "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/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "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/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "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/parse_json.rulebase", "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/parse_json.rulebase", "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/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "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": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "bcf2fc3de5f51237535db7e7c8faf735f0c5adf8", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-files-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-1726907469.34-2989-220854002825952/source", "unsafe_writes": false, "validate": null } }, "md5sum": "00018829068d32b3c654252fff4f6884", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 151, "src": "/root/.ansible/tmp/ansible-tmp-1726907469.34-2989-220854002825952/source", "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-1726907471.87-3102-6640808378841/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-1726907471.87-3102-6640808378841/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.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-1726907478.76-3539-72810052948142/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3c1b70ae145a75a8736af9f7676f36a5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "src": "/root/.ansible/tmp/ansible-tmp-1726907478.76-3539-72810052948142/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.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-1726907479.85-3539-9281707215139/source", "unsafe_writes": false, "validate": null } }, "md5sum": "7da07b533c1ef11e26c9ddeec6967df3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "src": "/root/.ansible/tmp/ansible-tmp-1726907479.85-3539-9281707215139/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d412e991faa911f300f23104d19599a927db4ef2", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=[\"logging-es0\", \"logging-es1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"on\"\n retryruleset=\"elasticsearch_output\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d412e991faa911f300f23104d19599a927db4ef2", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1726907482.17-3694-280695835118215/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c9e2c88853186d649ac67559601ffc82", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2085, "src": "/root/.ansible/tmp/ansible-tmp-1726907482.17-3694-280695835118215/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "c001a0f0243da8daa75bed193ecf0b797e6bba1b", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "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-elasticsearch-module.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-elasticsearch-module.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-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 101, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "0a7ece4e002e185c8b9dc482c8b9efcd581c9480", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "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/30-output-elasticsearch.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/30-output-elasticsearch.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/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1121, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "20faf5823c112eb97d29edee8861f3cf55d3d12a", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output_ops", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output_ops\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \".operations.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output_ops\"\n server=[\"logging-es-ops0\", \"logging-es-ops1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"off\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"off\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"off\"\n allowUnsignedCerts=\"on\"\n retryfailures=\"off\"\n usehttps=\"off\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "20faf5823c112eb97d29edee8861f3cf55d3d12a", "content": null, "delimiter": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1726907489.71-3973-59523618527726/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8fc822fd8570783999cb311797ac3f35", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2061, "src": "/root/.ansible/tmp/ansible-tmp-1726907489.71-3973-59523618527726/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:36 Saturday 21 September 2024 04:31:30 -0400 (0:00:00.431) 0:04:52.010 **** skipping: [managed_node1] => (item={u'group': u'root', u'name': u'output-elasticsearch-elasticsearch_output_ops', u'weight': u'31', u'sections': [{u'options': u'ruleset(name="elasticsearch_output_ops") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == "create")) then {\n stop # successful\n }\n if ($.omes!writeoperation == "unknown") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template("prefix_index_template");\n }\n if ($.input_type == "ovirt") and ($.index_prefix startswith ".operations.") then {\n action(\n type="omelasticsearch"\n name="elasticsearch_output_ops"\n server=["logging-es-ops0", "logging-es-ops1"]\n serverport="9200"\n template="es_template"\n searchIndex="index_template"\n dynSearchIndex="off"\n searchType="com.redhat.viaq.common"\n bulkmode="off"\n writeoperation="create"\n bulkid="id_template"\n dynbulkid="off"\n allowUnsignedCerts="on"\n retryfailures="off"\n usehttps="off"\n tls.cacert="/etc/rsyslog.d/es-ca.crt"\n tls.mycert="/etc/rsyslog.d/es-cert.pem"\n tls.myprivkey="/etc/rsyslog.d/es-key.pem"\n )\n }\n}\n'}], u'state': u'present', u'mode': u'0600', u'owner': u'root', u'type': u'output'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output_ops", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output_ops\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \".operations.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output_ops\"\n server=[\"logging-es-ops0\", \"logging-es-ops1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"off\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"off\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"off\"\n allowUnsignedCerts=\"on\"\n retryfailures=\"off\"\n usehttps=\"off\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file no-log /etc/rsyslog.d/output-elasticsearch-elasticsearch_output_ops] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Saturday 21 September 2024 04:31:31 -0400 (0:00:00.442) 0:04:52.452 **** skipping: [managed_node1] => { "changed": false, "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:217 Saturday 21 September 2024 04:31:31 -0400 (0:00:00.110) 0:04:52.563 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:234 Saturday 21 September 2024 04:31:31 -0400 (0:00:00.150) 0:04:52.713 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:254 Saturday 21 September 2024 04:31:31 -0400 (0:00:00.207) 0:04:52.921 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:275 Saturday 21 September 2024 04:31:32 -0400 (0:00:00.139) 0:04:53.060 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:283 Saturday 21 September 2024 04:31:32 -0400 (0:00:00.292) 0:04:53.353 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:295 Saturday 21 September 2024 04:31:32 -0400 (0:00:00.153) 0:04:53.506 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:307 Saturday 21 September 2024 04:31:32 -0400 (0:00:00.187) 0:04:53.694 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:319 Saturday 21 September 2024 04:31:32 -0400 (0:00:00.162) 0:04:53.857 **** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "rsyslog", "status": { "ActiveEnterTimestamp": "Sat 2024-09-21 04:29:26 EDT", "ActiveEnterTimestampMonotonic": "692071281", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-21 04:29:26 EDT", "AssertTimestampMonotonic": "692064844", "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-09-21 04:29:26 EDT", "ConditionTimestampMonotonic": "692064842", "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": "29499", "ExecMainStartTimestamp": "Sat 2024-09-21 04:29:26 EDT", "ExecMainStartTimestampMonotonic": "692065575", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Sat 2024-09-21 04:29:26 EDT] ; stop_time=[n/a] ; pid=29499 ; 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-09-21 04:29:26 EDT", "InactiveExitTimestampMonotonic": "692065612", "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": "29499", "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-09-21 04:29:26 EDT", "WatchdogTimestampMonotonic": "692071252", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:327 Saturday 21 September 2024 04:31:33 -0400 (0:00:00.512) 0:04:54.370 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:336 Saturday 21 September 2024 04:31:33 -0400 (0:00:00.107) 0:04:54.477 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : See if there are any config files] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:348 Saturday 21 September 2024 04:31:33 -0400 (0:00:00.087) 0:04:54.565 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:355 Saturday 21 September 2024 04:31:33 -0400 (0:00:00.110) 0:04:54.676 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726907366.717839, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1726907348.3707623, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 136787, "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": "1139455140", "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:361 Saturday 21 September 2024 04:31:34 -0400 (0:00:00.436) 0:04:55.113 **** 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-1726907494.15-4164-214758173744723/source", "state": "file", "uid": 0 } RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : Restart rsyslogd] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Saturday 21 September 2024 04:31:34 -0400 (0:00:00.633) 0:04:55.746 **** changed: [managed_node1] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-09-21 04:29:26 EDT", "ActiveEnterTimestampMonotonic": "692071281", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-21 04:29:26 EDT", "AssertTimestampMonotonic": "692064844", "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-09-21 04:29:26 EDT", "ConditionTimestampMonotonic": "692064842", "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": "29499", "ExecMainStartTimestamp": "Sat 2024-09-21 04:29:26 EDT", "ExecMainStartTimestampMonotonic": "692065575", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Sat 2024-09-21 04:29:26 EDT] ; stop_time=[n/a] ; pid=29499 ; 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-09-21 04:29:26 EDT", "InactiveExitTimestampMonotonic": "692065612", "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": "29499", "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-09-21 04:29:26 EDT", "WatchdogTimestampMonotonic": "692071252", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:264 Saturday 21 September 2024 04:31:35 -0400 (0:00:00.700) 0:04:56.446 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:2 Saturday 21 September 2024 04:31:35 -0400 (0:00:00.316) 0:04:56.763 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726907495.1543193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5fe705203b62f654be0460d9893da023dbffb94d", "ctime": 1726907494.6693177, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 264353, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907494.457317, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "version": "1139455902", "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:7 Saturday 21 September 2024 04:31:36 -0400 (0:00:00.582) 0:04:57.345 **** ok: [managed_node1] => { "changed": false, "examined": 18, "files": [ { "atime": 1726907495.1543193, "ctime": 1726907472.4892545, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262673, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907472.2472537, "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": 1726907415.253038, "ctime": 1726907394.6289554, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262666, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907394.4069545, "nlink": 1, "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 315, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907486.8022952, "ctime": 1726907479.686275, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262674, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907479.319274, "nlink": 1, "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 101, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907487.444297, "ctime": 1726907480.4562771, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262675, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907480.1532762, "nlink": 1, "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907416.1620414, "ctime": 1726907395.5869594, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262667, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907395.1339576, "nlink": 1, "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 243, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907495.1543193, "ctime": 1726907490.3493054, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 264352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726907490.1023047, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2061, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907414.0670335, "ctime": 1726907393.32595, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262432, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907393.107949, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 45, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907495.1543193, "ctime": 1726907419.5690544, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907419.3320534, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1376, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907495.1543193, "ctime": 1726907386.6789222, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262431, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907386.4629214, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 564, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907495.1543193, "ctime": 1726907482.6342833, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 264350, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1726907482.439283, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907495.1543193, "ctime": 1726907382.550905, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262420, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907382.327904, "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": 1726907495.1543193, "ctime": 1726907438.2881258, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907438.085125, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1352, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907414.5710354, "ctime": 1726907393.9919527, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907393.7549517, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 379, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907495.1543193, "ctime": 1726907383.1479075, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907382.9249065, "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": 1726907416.853044, "ctime": 1726907396.2449622, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907396.0149612, "nlink": 1, "path": "/etc/rsyslog.d/parse_json.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 26, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907495.1543193, "ctime": 1726907398.367971, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262669, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907398.11097, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 819, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1726907495.1543193, "ctime": 1726907469.8972464, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 262672, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726907469.6432455, "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 } ], "matched": 17 } TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:13 Saturday 21 September 2024 04:31:36 -0400 (0:00:00.530) 0:04:57.875 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:18 Saturday 21 September 2024 04:31:36 -0400 (0:00:00.118) 0:04:57.994 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:23 Saturday 21 September 2024 04:31:37 -0400 (0:00:00.118) 0:04:58.112 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:27 Saturday 21 September 2024 04:31:37 -0400 (0:00:00.135) 0:04:58.248 **** ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "stat": { "atime": 1726907495.1543193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "ctime": 1726907398.367971, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262669, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907398.11097, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 819, "uid": 0, "version": "1139455501", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "stat": { "atime": 1726907495.1543193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "ctime": 1726907419.5690544, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907419.3320534, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1376, "uid": 0, "version": "1139455583", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "stat": { "atime": 1726907495.1543193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "ctime": 1726907438.2881258, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907438.085125, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1352, "uid": 0, "version": "1139455664", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tasks/check_daemon_config_files.yml:35 Saturday 21 September 2024 04:31:38 -0400 (0:00:01.542) 0:04:59.790 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check ovirt config files] ************************************************ task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:275 Saturday 21 September 2024 04:31:38 -0400 (0:00:00.129) 0:04:59.920 **** ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "stat": { "atime": 1726907495.1543193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9844c0a1aafddfee07bfed841b18cf9c81336ea2", "ctime": 1726907398.367971, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262669, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907398.11097, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 819, "uid": 0, "version": "1139455501", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "stat": { "atime": 1726907495.1543193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "549ce7ac22eb99ec964926c82ef66b19e9439f37", "ctime": 1726907419.5690544, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907419.3320534, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1376, "uid": 0, "version": "1139455583", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "stat": { "atime": 1726907495.1543193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "10f91db11e913e65f13e3da78ea8d80dafd37072", "ctime": 1726907438.2881258, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726907438.085125, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1352, "uid": 0, "version": "1139455664", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check bogus config does not exist - /etc/rsyslog.d/90-input-ovirt-ovirt_bogus_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:285 Saturday 21 September 2024 04:31:40 -0400 (0:00:01.707) 0:05:01.627 **** ok: [managed_node1] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:291 Saturday 21 September 2024 04:31:41 -0400 (0:00:00.502) 0:05:02.129 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf" ], "delta": "0:00:00.002484", "end": "2024-09-21 04:31:41.480519", "rc": 0, "start": "2024-09-21 04:31:41.478035" } STDOUT: input(name="ovirt_collectd_input" type="imtcp" port="44514") TASK [Check index_prefix is configured in /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:297 Saturday 21 September 2024 04:31:41 -0400 (0:00:00.723) 0:05:02.852 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-metrics\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf" ], "delta": "0:00:00.002744", "end": "2024-09-21 04:31:42.242927", "rc": 0, "start": "2024-09-21 04:31:42.240183" } STDOUT: set $.index_prefix = "project.ovirt-metrics" & "-" & "test-engine" & "." & "111-222-333" & "."; TASK [Check input file is configured in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:303 Saturday 21 September 2024 04:31:42 -0400 (0:00:00.540) 0:05:03.393 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf" ], "delta": "0:00:00.002616", "end": "2024-09-21 04:31:42.639623", "rc": 0, "start": "2024-09-21 04:31:42.637007" } STDOUT: input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input" TASK [Check index_prefix is configured in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:309 Saturday 21 September 2024 04:31:42 -0400 (0:00:00.569) 0:05:03.963 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-logs\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf" ], "delta": "0:00:00.002779", "end": "2024-09-21 04:31:43.504801", "rc": 0, "start": "2024-09-21 04:31:43.502022" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "444-555-666" & "."; TASK [Check input file is configured in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:315 Saturday 21 September 2024 04:31:43 -0400 (0:00:00.845) 0:05:04.808 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf" ], "delta": "0:00:00.002609", "end": "2024-09-21 04:31:44.129156", "rc": 0, "start": "2024-09-21 04:31:44.126547" } STDOUT: input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input" TASK [Check index_prefix is configured in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:321 Saturday 21 September 2024 04:31:44 -0400 (0:00:00.513) 0:05:05.322 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-logs\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf" ], "delta": "0:00:00.002752", "end": "2024-09-21 04:31:44.576552", "rc": 0, "start": "2024-09-21 04:31:44.573800" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "777-888-999" & "."; TASK [Check default config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:327 Saturday 21 September 2024 04:31:44 -0400 (0:00:00.546) 0:05:05.869 **** ok: [managed_node1] => (item=dynSearchIndex=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "dynSearchIndex=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002478", "end": "2024-09-21 04:31:45.136208", "item": "dynSearchIndex=.on.", "rc": 0, "start": "2024-09-21 04:31:45.133730" } STDOUT: dynSearchIndex="on" ok: [managed_node1] => (item=bulkmode=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "bulkmode=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002836", "end": "2024-09-21 04:31:45.734512", "item": "bulkmode=.on.", "rc": 0, "start": "2024-09-21 04:31:45.731676" } STDOUT: bulkmode="on" ok: [managed_node1] => (item=dynbulkid=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "dynbulkid=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002524", "end": "2024-09-21 04:31:46.017087", "item": "dynbulkid=.on.", "rc": 0, "start": "2024-09-21 04:31:46.014563" } STDOUT: dynbulkid="on" ok: [managed_node1] => (item=allowUnsignedCerts=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "allowUnsignedCerts=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002501", "end": "2024-09-21 04:31:46.289731", "item": "allowUnsignedCerts=.off.", "rc": 0, "start": "2024-09-21 04:31:46.287230" } STDOUT: allowUnsignedCerts="off" ok: [managed_node1] => (item=usehttps=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "usehttps=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002446", "end": "2024-09-21 04:31:46.640903", "item": "usehttps=.on.", "rc": 0, "start": "2024-09-21 04:31:46.638457" } STDOUT: usehttps="on" ok: [managed_node1] => (item=retryfailures=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "retryfailures=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002406", "end": "2024-09-21 04:31:47.068544", "item": "retryfailures=.on.", "rc": 0, "start": "2024-09-21 04:31:47.066138" } STDOUT: retryfailures="on" TASK [Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:338 Saturday 21 September 2024 04:31:47 -0400 (0:00:02.477) 0:05:08.347 **** ok: [managed_node1] => (item=dynSearchIndex=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "dynSearchIndex=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.002651", "end": "2024-09-21 04:31:47.614155", "item": "dynSearchIndex=.off.", "rc": 0, "start": "2024-09-21 04:31:47.611504" } STDOUT: dynSearchIndex="off" ok: [managed_node1] => (item=bulkmode=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "bulkmode=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.002471", "end": "2024-09-21 04:31:47.925629", "item": "bulkmode=.off.", "rc": 0, "start": "2024-09-21 04:31:47.923158" } STDOUT: bulkmode="off" ok: [managed_node1] => (item=dynbulkid=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "dynbulkid=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.002533", "end": "2024-09-21 04:31:48.464899", "item": "dynbulkid=.off.", "rc": 0, "start": "2024-09-21 04:31:48.462366" } STDOUT: dynbulkid="off" ok: [managed_node1] => (item=allowUnsignedCerts=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "allowUnsignedCerts=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.002532", "end": "2024-09-21 04:31:48.973813", "item": "allowUnsignedCerts=.on.", "rc": 0, "start": "2024-09-21 04:31:48.971281" } STDOUT: allowUnsignedCerts="on" ok: [managed_node1] => (item=usehttps=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "usehttps=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.002621", "end": "2024-09-21 04:31:49.289326", "item": "usehttps=.off.", "rc": 0, "start": "2024-09-21 04:31:49.286705" } STDOUT: usehttps="off" ok: [managed_node1] => (item=retryfailures=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "retryfailures=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.002553", "end": "2024-09-21 04:31:49.584197", "item": "retryfailures=.off.", "rc": 0, "start": "2024-09-21 04:31:49.581644" } STDOUT: retryfailures="off" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:349 Saturday 21 September 2024 04:31:49 -0400 (0:00:02.536) 0:05:10.883 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "server=\\[\"logging-es0\", \"logging-es1\"\\]", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002377", "end": "2024-09-21 04:31:50.261833", "rc": 0, "start": "2024-09-21 04:31:50.259456" } STDOUT: server=["logging-es0", "logging-es1"] TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:355 Saturday 21 September 2024 04:31:50 -0400 (0:00:00.604) 0:05:11.488 **** ok: [managed_node1] => { "changed": false, "cmd": [ "/bin/grep", "server=\\[\"logging-es-ops0\", \"logging-es-ops1\"\\]", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.002368", "end": "2024-09-21 04:31:50.857211", "rc": 0, "start": "2024-09-21 04:31:50.854843" } STDOUT: server=["logging-es-ops0", "logging-es-ops1"] TASK [END TEST CASE 1; Ensure basic ovirt configuration works] ***************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:361 Saturday 21 September 2024 04:31:51 -0400 (0:00:00.564) 0:05:12.052 **** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:7 Saturday 21 September 2024 04:31:51 -0400 (0:00:00.378) 0:05:12.431 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:14 Saturday 21 September 2024 04:31:51 -0400 (0:00:00.133) 0:05:12.565 **** ok: [managed_node1] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:18 Saturday 21 September 2024 04:31:51 -0400 (0:00:00.123) 0:05:12.688 **** ok: [managed_node1] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:22 Saturday 21 September 2024 04:31:51 -0400 (0:00:00.110) 0:05:12.798 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.logging : Use of type custom is deprecated] **** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Saturday 21 September 2024 04:31:52 -0400 (0:00:00.339) 0:05:13.138 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:42 Saturday 21 September 2024 04:31:52 -0400 (0:00:00.153) 0:05:13.291 **** TASK [fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 Saturday 21 September 2024 04:31:52 -0400 (0:00:00.160) 0:05:13.452 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Saturday 21 September 2024 04:31:52 -0400 (0:00:00.225) 0:05:13.677 **** ok: [managed_node1] => { "ansible_facts": { "logging_tls_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tcp_ports] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:7 Saturday 21 September 2024 04:31:52 -0400 (0:00:00.146) 0:05:13.824 **** ok: [managed_node1] => { "ansible_facts": { "logging_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tls_udp_ports] **** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 Saturday 21 September 2024 04:31:52 -0400 (0:00:00.152) 0:05:13.977 **** ok: [managed_node1] => { "ansible_facts": { "logging_tls_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_udp_ports] ******** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Saturday 21 September 2024 04:31:53 -0400 (0:00:00.128) 0:05:14.105 **** ok: [managed_node1] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24 Saturday 21 September 2024 04:31:53 -0400 (0:00:00.158) 0:05:14.263 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 Saturday 21 September 2024 04:31:53 -0400 (0:00:00.138) 0:05:14.401 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92 Saturday 21 September 2024 04:31:53 -0400 (0:00:00.110) 0:05:14.512 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 Saturday 21 September 2024 04:31:53 -0400 (0:00:00.137) 0:05:14.650 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 Saturday 21 September 2024 04:31:53 -0400 (0:00:00.167) 0:05:14.817 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 Saturday 21 September 2024 04:31:54 -0400 (0:00:00.247) 0:05:15.065 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108 Saturday 21 September 2024 04:31:54 -0400 (0:00:00.153) 0:05:15.218 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 Saturday 21 September 2024 04:31:54 -0400 (0:00:00.154) 0:05:15.373 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 Saturday 21 September 2024 04:31:54 -0400 (0:00:00.164) 0:05:15.538 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 Saturday 21 September 2024 04:31:54 -0400 (0:00:00.153) 0:05:15.692 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 Saturday 21 September 2024 04:31:54 -0400 (0:00:00.152) 0:05:15.844 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Saturday 21 September 2024 04:31:54 -0400 (0:00:00.166) 0:05:16.010 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Saturday 21 September 2024 04:31:55 -0400 (0:00:00.379) 0:05:16.390 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Saturday 21 September 2024 04:31:55 -0400 (0:00:00.141) 0:05:16.531 **** TASK [fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Saturday 21 September 2024 04:31:55 -0400 (0:00:00.132) 0:05:16.664 **** TASK [Manage firewall for specified ports] ************************************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Saturday 21 September 2024 04:31:55 -0400 (0:00:00.155) 0:05:16.820 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Saturday 21 September 2024 04:31:55 -0400 (0:00:00.186) 0:05:17.007 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Saturday 21 September 2024 04:31:56 -0400 (0:00:00.469) 0:05:17.476 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11 Saturday 21 September 2024 04:31:56 -0400 (0:00:00.208) 0:05:17.685 **** TASK [fedora.linux_system_roles.logging : Add tls tcp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:16 Saturday 21 September 2024 04:31:56 -0400 (0:00:00.200) 0:05:17.886 **** TASK [fedora.linux_system_roles.logging : Add non tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 Saturday 21 September 2024 04:31:57 -0400 (0:00:00.145) 0:05:18.032 **** TASK [fedora.linux_system_roles.logging : Add tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:26 Saturday 21 September 2024 04:31:57 -0400 (0:00:00.147) 0:05:18.179 **** TASK [Manage selinux for specified ports] ************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 Saturday 21 September 2024 04:31:57 -0400 (0:00:00.138) 0:05:18.318 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Generate certificates] *************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:62 Saturday 21 September 2024 04:31:57 -0400 (0:00:00.147) 0:05:18.466 **** included: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed_node1 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 Saturday 21 September 2024 04:31:57 -0400 (0:00:00.325) 0:05:18.791 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:68 Saturday 21 September 2024 04:31:57 -0400 (0:00:00.195) 0:05:18.986 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:72 Saturday 21 September 2024 04:31:58 -0400 (0:00:00.156) 0:05:19.143 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:78 Saturday 21 September 2024 04:31:58 -0400 (0:00:00.276) 0:05:19.419 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:83 Saturday 21 September 2024 04:31:58 -0400 (0:00:00.225) 0:05:19.645 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:90 Saturday 21 September 2024 04:31:58 -0400 (0:00:00.271) 0:05:19.916 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:94 Saturday 21 September 2024 04:31:59 -0400 (0:00:00.189) 0:05:20.106 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:105 Saturday 21 September 2024 04:31:59 -0400 (0:00:00.181) 0:05:20.287 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Saturday 21 September 2024 04:31:59 -0400 (0:00:00.277) 0:05:20.564 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Saturday 21 September 2024 04:31:59 -0400 (0:00:00.277) 0:05:20.842 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Saturday 21 September 2024 04:32:00 -0400 (0:00:00.183) 0:05:21.026 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Saturday 21 September 2024 04:32:00 -0400 (0:00:00.148) 0:05:21.175 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Saturday 21 September 2024 04:32:00 -0400 (0:00:00.163) 0:05:21.338 **** ok: [managed_node1] => (item=/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Saturday 21 September 2024 04:32:00 -0400 (0:00:00.359) 0:05:21.698 **** skipping: [managed_node1] => (item=/tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pjh/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/collections-Pjh/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/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Saturday 21 September 2024 04:32:01 -0400 (0:00:00.492) 0:05:22.191 **** included: /tmp/collections-Pjh/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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:15 Saturday 21 September 2024 04:32:01 -0400 (0:00:00.369) 0:05:22.560 **** ok: [managed_node1] => (item=iproute) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "iproute" ], "delta": "0:00:00.076500", "end": "2024-09-21 04:32:01.992151", "failed_when_result": false, "item": "iproute", "rc": 0, "start": "2024-09-21 04:32:01.915651", "warnings": [ "Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message." ] } ok: [managed_node1] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.071936", "end": "2024-09-21 04:32:02.495231", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2024-09-21 04:32:02.423295", "warnings": [ "Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message." ] } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:22 Saturday 21 September 2024 04:32:02 -0400 (0:00:01.164) 0:05:23.725 **** changed: [managed_node1] => { "changed": true, "changes": { "removed": [ "iproute", "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package iproute.x86_64 0:4.11.0-30.el7 will be erased\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be erased\n--> Processing Dependency: rsyslog = 8.24.0-57.el7_9.3 for package: rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64\n--> Processing Dependency: rsyslog = 8.24.0-57.el7_9.3 for package: rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64\n--> Processing Dependency: rsyslog = 8.24.0-57.el7_9.3 for package: rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64\n--> Running transaction check\n---> Package rsyslog-elasticsearch.x86_64 0:8.24.0-57.el7_9.3 will be erased\n---> Package rsyslog-mmjsonparse.x86_64 0:8.24.0-57.el7_9.3 will be erased\n---> Package rsyslog-mmnormalize.x86_64 0:8.24.0-57.el7_9.3 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n iproute x86_64 4.11.0-30.el7 @base 1.8 M\n rsyslog x86_64 8.24.0-57.el7_9.3 @updates 1.9 M\nRemoving for dependencies:\n rsyslog-elasticsearch x86_64 8.24.0-57.el7_9.3 @updates 44 k\n rsyslog-mmjsonparse x86_64 8.24.0-57.el7_9.3 @updates 15 k\n rsyslog-mmnormalize x86_64 8.24.0-57.el7_9.3 @updates 15 k\n\nTransaction Summary\n================================================================================\nRemove 2 Packages (+3 Dependent packages)\n\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 1/5 \n Erasing : rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 2/5 \n Erasing : rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64 3/5 \n Erasing : rsyslog-8.24.0-57.el7_9.3.x86_64 4/5 \nwarning: /etc/rsyslog.conf saved as /etc/rsyslog.conf.rpmsave\n Erasing : iproute-4.11.0-30.el7.x86_64 5/5 \n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/5 \n Verifying : rsyslog-elasticsearch-8.24.0-57.el7_9.3.x86_64 2/5 \n Verifying : rsyslog-mmnormalize-8.24.0-57.el7_9.3.x86_64 3/5 \n Verifying : rsyslog-mmjsonparse-8.24.0-57.el7_9.3.x86_64 4/5 \n Verifying : iproute-4.11.0-30.el7.x86_64 5/5 \n\nRemoved:\n iproute.x86_64 0:4.11.0-30.el7 rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nDependency Removed:\n rsyslog-elasticsearch.x86_64 0:8.24.0-57.el7_9.3 \n rsyslog-mmjsonparse.x86_64 0:8.24.0-57.el7_9.3 \n rsyslog-mmnormalize.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Saturday 21 September 2024 04:32:04 -0400 (0:00:01.819) 0:05:25.544 **** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "iproute", "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package iproute.x86_64 0:4.11.0-30.el7 will be installed\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n iproute x86_64 4.11.0-30.el7 base 805 k\n rsyslog x86_64 8.24.0-57.el7_9.3 updates 622 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages\n\nTotal download size: 1.4 M\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 5.1 MB/s | 1.4 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : iproute-4.11.0-30.el7.x86_64 1/2 \n Installing : rsyslog-8.24.0-57.el7_9.3.x86_64 2/2 \n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/2 \n Verifying : iproute-4.11.0-30.el7.x86_64 2/2 \n\nInstalled:\n iproute.x86_64 0:4.11.0-30.el7 rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } lsrpackages: iproute rsyslog TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:40 Saturday 21 September 2024 04:32:07 -0400 (0:00:03.427) 0:05:28.972 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:44 Saturday 21 September 2024 04:32:08 -0400 (0:00:00.223) 0:05:29.196 **** 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" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "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" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "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" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "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" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:48 Saturday 21 September 2024 04:32:09 -0400 (0:00:01.463) 0:05:30.659 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:55 Saturday 21 September 2024 04:32:09 -0400 (0:00:00.189) 0:05:30.848 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:60 Saturday 21 September 2024 04:32:10 -0400 (0:00:00.244) 0:05:31.093 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:68 Saturday 21 September 2024 04:32:10 -0400 (0:00:00.150) 0:05:31.243 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:76 Saturday 21 September 2024 04:32:10 -0400 (0:00:00.153) 0:05:31.396 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:83 Saturday 21 September 2024 04:32:10 -0400 (0:00:00.493) 0:05:31.890 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:89 Saturday 21 September 2024 04:32:11 -0400 (0:00:00.736) 0:05:32.626 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:97 Saturday 21 September 2024 04:32:12 -0400 (0:00:00.783) 0:05:33.410 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:120 Saturday 21 September 2024 04:32:12 -0400 (0:00:00.492) 0:05:33.903 **** 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 : Initialize list of template results] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:144 Saturday 21 September 2024 04:32:13 -0400 (0:00:00.149) 0:05:34.052 **** ok: [managed_node1] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "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", "skipped": true }, { "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": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False", "skipped": true } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:148 Saturday 21 September 2024 04:32:13 -0400 (0:00:00.157) 0:05:34.210 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:166 Saturday 21 September 2024 04:32:13 -0400 (0:00:00.188) 0:05:34.398 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Saturday 21 September 2024 04:32:13 -0400 (0:00:00.135) 0:05:34.534 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:192 Saturday 21 September 2024 04:32:13 -0400 (0:00:00.116) 0:05:34.650 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:204 Saturday 21 September 2024 04:32:13 -0400 (0:00:00.117) 0:05:34.768 **** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:217 Saturday 21 September 2024 04:32:13 -0400 (0:00:00.111) 0:05:34.879 **** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nfor conf in $( ls \"/etc/rsyslog.d\" ); do\n rstr=$( rpm -qf \"/etc/rsyslog.d/$conf\" 2>&1 || : )\n if [[ \"$rstr\" == *\"not owned by any package\"* ]]; then\n echo \"/etc/rsyslog.d/$conf\"\n fi\ndone\n", "delta": "0:00:00.471470", "end": "2024-09-21 04:32:14.571431", "failed_when_result": false, "rc": 0, "start": "2024-09-21 04:32:14.099961" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-ovirt-local_modules.conf /etc/rsyslog.d/10-input-ovirt-main-modules.conf /etc/rsyslog.d/10-output-elasticsearch-module.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/30-output-elasticsearch.conf /etc/rsyslog.d/30-output-files-default_files.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf /etc/rsyslog.d/90-input-basics-basic_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf /etc/rsyslog.d/ovirt_engine.rulebase /etc/rsyslog.d/ovirt_vdsm.rulebase /etc/rsyslog.d/parse_json.rulebase TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:234 Saturday 21 September 2024 04:32:14 -0400 (0:00:00.887) 0:05:35.767 **** changed: [managed_node1] => (item=/etc/rsyslog.d/00-global.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/00-global.conf", "path": "/etc/rsyslog.d/00-global.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/05-common-defaults.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/05-common-defaults.conf", "path": "/etc/rsyslog.d/05-common-defaults.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/10-input-ovirt-local_modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/10-input-ovirt-main-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/10-output-elasticsearch-module.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/10-output-files-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-files-modules.conf", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/30-output-elasticsearch.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-elasticsearch.conf", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/30-output-files-default_files.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-default_files.conf", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/90-input-basics-basic_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/ovirt_engine.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/ovirt_engine.rulebase", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/ovirt_vdsm.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "state": "absent" } changed: [managed_node1] => (item=/etc/rsyslog.d/parse_json.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/parse_json.rulebase", "path": "/etc/rsyslog.d/parse_json.rulebase", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : Restart rsyslogd for managed_node1 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:254 Saturday 21 September 2024 04:32:20 -0400 (0:00:06.182) 0:05:41.949 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:275 Saturday 21 September 2024 04:32:21 -0400 (0:00:00.166) 0:05:42.116 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:283 Saturday 21 September 2024 04:32:21 -0400 (0:00:00.194) 0:05:42.310 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:295 Saturday 21 September 2024 04:32:21 -0400 (0:00:00.185) 0:05:42.496 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:307 Saturday 21 September 2024 04:32:21 -0400 (0:00:00.253) 0:05:42.750 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:319 Saturday 21 September 2024 04:32:21 -0400 (0:00:00.128) 0:05:42.878 **** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "rsyslog", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target system.slice basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "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": "0", "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": "system.slice basic.target", "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": "dead", "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-online.target network.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:327 Saturday 21 September 2024 04:32:22 -0400 (0:00:00.643) 0:05:43.522 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:336 Saturday 21 September 2024 04:32:22 -0400 (0:00:00.237) 0:05:43.759 **** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : See if there are any config files] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:348 Saturday 21 September 2024 04:32:22 -0400 (0:00:00.254) 0:05:44.014 **** 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/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:355 Saturday 21 September 2024 04:32:23 -0400 (0:00:00.157) 0:05:44.171 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate main rsyslog configuration] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:361 Saturday 21 September 2024 04:32:23 -0400 (0:00:00.163) 0:05:44.335 **** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : Restart rsyslogd] *** task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Saturday 21 September 2024 04:32:23 -0400 (0:00:00.032) 0:05:44.367 **** changed: [managed_node1] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target system.slice basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "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": "0", "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": "system.slice basic.target", "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": "dead", "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-online.target network.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers TASK [Remove /var/log/messages] ************************************************ task path: /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:378 Saturday 21 September 2024 04:32:24 -0400 (0:00:00.753) 0:05:45.121 **** changed: [managed_node1] => { "changed": true, "path": "/var/log/messages", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=362 changed=38 unreachable=0 failed=0 skipped=500 rescued=0 ignored=0 Saturday 21 September 2024 04:32:24 -0400 (0:00:00.337) 0:05:45.458 **** =============================================================================== fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state --- 7.12s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:234 fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state --- 6.18s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:234 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 4.45s /tmp/collections-Pjh/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 --- 4.35s /tmp/collections-Pjh/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 --- 4.22s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 4.00s /tmp/collections-Pjh/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 --- 3.99s /tmp/collections-Pjh/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 --- 3.86s /tmp/collections-Pjh/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 --- 3.79s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 3.74s /tmp/collections-Pjh/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 --- 3.73s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 3.71s /tmp/collections-Pjh/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 --- 3.43s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 3.37s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 3.35s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 2.87s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.72s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" --- 2.54s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:338 Check default config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" --- 2.48s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/tests/logging/tests_ovirt_elasticsearch.yml:327 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 2.01s /tmp/collections-Pjh/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:14