# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Ensure that the role runs with parameters from ovirt to two elasticsearch outputs and local files output] *** TASK [Gathering Facts] ********************************************************* Friday 19 August 2022 23:44:27 +0000 (0:00:00.033) 0:00:00.033 ********* ok: [sut] TASK [TEST CASE 0; Ensure basic ovirt default configuration works] ************* Friday 19 August 2022 23:44:28 +0000 (0:00:00.831) 0:00:00.864 ********* TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** Friday 19 August 2022 23:44:28 +0000 (0:00:00.090) 0:00:00.955 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ Friday 19 August 2022 23:44:28 +0000 (0:00:00.066) 0:00:01.021 ********* ok: [sut] => { "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 [linux-system-roles.logging : Set rsyslog_inputs] ************************* Friday 19 August 2022 23:44:28 +0000 (0:00:00.060) 0:00:01.082 ********* ok: [sut] => { "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 [linux-system-roles.logging : Set custom_config_files fact] *************** Friday 19 August 2022 23:44:28 +0000 (0:00:00.061) 0:00:01.144 ********* skipping: [sut] => (item={'name': 'default_files', 'type': 'files'}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "default_files", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'elasticsearch_output', 'type': 'elasticsearch', 'server_host': 'logging-es', 'server_port': 9200, 'index_prefix': 'project.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'uid': 'testuser0'}) => { "ansible_loop_var": "item", "changed": false, "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" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'elasticsearch_output_ops', 'type': 'elasticsearch', 'server_host': 'logging-es-ops', 'server_port': 9200, 'index_prefix': '.operations.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem'}) => { "ansible_loop_var": "item", "changed": false, "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" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** Friday 19 August 2022 23:44:29 +0000 (0:00:00.102) 0:00:01.246 ********* skipping: [sut] => (item={'name': 'flow_0', 'inputs': ['ovirt_collectd_input', 'ovirt_engine_input', 'ovirt_vdsm_input'], 'outputs': ['elasticsearch_output', '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: [sut] => (item={'name': 'flow_1', 'inputs': ['basic_input'], 'outputs': ['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 [linux-system-roles.logging : Re-read facts after adding custom fact] ***** Friday 19 August 2022 23:44:29 +0000 (0:00:00.101) 0:00:01.348 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* Friday 19 August 2022 23:44:29 +0000 (0:00:00.054) 0:00:01.403 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** Friday 19 August 2022 23:44:29 +0000 (0:00:00.055) 0:00:01.458 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** Friday 19 August 2022 23:44:29 +0000 (0:00:00.058) 0:00:01.516 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Use a debug var to avoid an empty dict in with_dict] *** Friday 19 August 2022 23:44:29 +0000 (0:00:00.055) 0:00:01.572 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** Friday 19 August 2022 23:44:29 +0000 (0:00:00.058) 0:00:01.630 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** Friday 19 August 2022 23:44:29 +0000 (0:00:00.058) 0:00:01.688 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:44:29 +0000 (0:00:00.091) 0:00:01.780 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:44:29 +0000 (0:00:00.037) 0:00:01.817 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:44:29 +0000 (0:00:00.404) 0:00:02.221 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml] *** Friday 19 August 2022 23:44:30 +0000 (0:00:00.073) 0:00:02.295 ********* skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** Friday 19 August 2022 23:44:30 +0000 (0:00:00.104) 0:00:02.399 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/main_core.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** Friday 19 August 2022 23:44:30 +0000 (0:00:00.196) 0:00:02.595 ********* skipping: [sut] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** Friday 19 August 2022 23:44:30 +0000 (0:00:00.040) 0:00:02.636 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:44:30 +0000 (0:00:00.032) 0:00:02.668 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** Friday 19 August 2022 23:44:31 +0000 (0:00:01.144) 0:00:03.813 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** Friday 19 August 2022 23:44:31 +0000 (0:00:00.030) 0:00:03.843 ********* ok: [sut] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "3.el9", "source": "rpm", "version": "2.3.1" } ], "adobe-source-code-pro-fonts": [ { "arch": "noarch", "epoch": null, "name": "adobe-source-code-pro-fonts", "release": "12.el9.1", "source": "rpm", "version": "2.030.1.050" } ], "alternatives": [ { "arch": "x86_64", "epoch": null, "name": "alternatives", "release": "2.el9", "source": "rpm", "version": "1.20" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "13.el9", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "4.el9", "source": "rpm", "version": "5.1.8" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "14.el9", "source": "rpm", "version": "1.07.1" } ], "beakerlib": [ { "arch": "noarch", "epoch": null, "name": "beakerlib", "release": "1.el9", "source": "rpm", "version": "1.29.1" } ], "beakerlib-redhat": [ { "arch": "noarch", "epoch": null, "name": "beakerlib-redhat", "release": "33.el9", "source": "rpm", "version": "1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "8.el9", "source": "rpm", "version": "1.0.8" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "5.el9", "source": "rpm", "version": "1.17.1" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "90.2.el9_0", "source": "rpm", "version": "2022.2.54" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el9", "source": "rpm", "version": "3.4" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "2.el9", "source": "rpm", "version": "1.20" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el9", "source": "rpm", "version": "4.2" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "4.el9", "source": "rpm", "version": "22.1" } ], "cloud-utils-growpart": [ { "arch": "x86_64", "epoch": null, "name": "cloud-utils-growpart", "release": "10.el9", "source": "rpm", "version": "0.31" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "32.el9", "source": "rpm", "version": "8.32" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "32.el9", "source": "rpm", "version": "8.32" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "16.el9", "source": "rpm", "version": "2.13" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "27.el9", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "27.el9", "source": "rpm", "version": "2.9.6" } ], "createrepo_c": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c", "release": "4.el9_0", "source": "rpm", "version": "0.17.7" } ], "createrepo_c-libs": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c-libs", "release": "4.el9_0", "source": "rpm", "version": "0.17.7" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "8.el9", "source": "rpm", "version": "1.5.7" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "8.el9", "source": "rpm", "version": "1.5.7" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "27.20190603git.el9_0", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.git0fbe86f.el9", "source": "rpm", "version": "20220815" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.git0fbe86f.el9", "source": "rpm", "version": "20220815" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "5.el9", "source": "rpm", "version": "2.4.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "19.el9", "source": "rpm", "version": "7.76.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "20.el9", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-broker": [ { "arch": "x86_64", "epoch": null, "name": "dbus-broker", "release": "6.el9", "source": "rpm", "version": "28" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dejavu-sans-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-fonts", "release": "18.el9", "source": "rpm", "version": "2.37" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 9, "name": "device-mapper", "release": "3.el9", "source": "rpm", "version": "1.02.185" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 9, "name": "device-mapper-libs", "release": "3.el9", "source": "rpm", "version": "1.02.185" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "17.b1.el9", "source": "rpm", "version": "4.4.2" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "17.b1.el9", "source": "rpm", "version": "4.4.2" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "12.el9", "source": "rpm", "version": "3.7" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "7.el9", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "2.el9_0", "source": "rpm", "version": "6" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "12.el9", "source": "rpm", "version": "16" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "2.el9", "source": "rpm", "version": "38" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "emacs-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "emacs-filesystem", "release": "6.el9", "source": "rpm", "version": "27.2" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el9", "source": "rpm", "version": "5.16" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "1.el9", "source": "rpm", "version": "2.4.7" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "8.el9", "source": "rpm", "version": "5.39" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "8.el9", "source": "rpm", "version": "5.39" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "2.el9", "source": "rpm", "version": "3.16" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "5.el9", "source": "rpm", "version": "4.8.0" } ], "firewalld": [ { "arch": "noarch", "epoch": null, "name": "firewalld", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "firewalld-filesystem": [ { "arch": "noarch", "epoch": null, "name": "firewalld-filesystem", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "fonts-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "fonts-filesystem", "release": "7.el9.1", "source": "rpm", "version": "2.0.5" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el9", "source": "rpm", "version": "2.9.9" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "6.el9", "source": "rpm", "version": "5.1.0" } ], "gawk-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "gawk-all-langpacks", "release": "6.el9", "source": "rpm", "version": "5.1.0" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "4.el9", "source": "rpm", "version": "1.19" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "5.el9", "source": "rpm", "version": "1.0.7" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "6.el9", "source": "rpm", "version": "20191217" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "6.el9", "source": "rpm", "version": "20191217" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "7.el9", "source": "rpm", "version": "0.21" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "7.el9", "source": "rpm", "version": "0.21" } ], "git": [ { "arch": "x86_64", "epoch": null, "name": "git", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "git-core": [ { "arch": "x86_64", "epoch": null, "name": "git-core", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "git-core-doc": [ { "arch": "noarch", "epoch": null, "name": "git-core-doc", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "5.el9", "source": "rpm", "version": "2.68.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-langpack-en": [ { "arch": "x86_64", "epoch": null, "name": "glibc-langpack-en", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el9", "source": "rpm", "version": "6.2.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el9_0", "source": "rpm", "version": "2.3.3" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "5.el9_0", "source": "rpm", "version": "3.7.6" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "10.el9", "source": "rpm", "version": "1.68.0" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "613798eb", "source": "rpm", "version": "3228467c" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "6.el9", "source": "rpm", "version": "1.15.1" } ], "gpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "gpm-libs", "release": "29.el9", "source": "rpm", "version": "1.20.7" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "5.el9", "source": "rpm", "version": "3.6" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "10.el9", "source": "rpm", "version": "1.22.4" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "60.el9", "source": "rpm", "version": "8.40" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "4.el9", "source": "rpm", "version": "0.8.4" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "1.el9", "source": "rpm", "version": "1.12" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el9", "source": "rpm", "version": "3.23" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "9.4.el9", "source": "rpm", "version": "0.348" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "4.el9", "source": "rpm", "version": "1.4" } ], "inih": [ { "arch": "x86_64", "epoch": null, "name": "inih", "release": "6.el9", "source": "rpm", "version": "49" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "initscripts-rename-device": [ { "arch": "x86_64", "epoch": null, "name": "initscripts-rename-device", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "initscripts-service": [ { "arch": "noarch", "epoch": null, "name": "initscripts-service", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "5.el9", "source": "rpm", "version": "1.0.0" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "1.el9", "source": "rpm", "version": "5.18.0" } ], "iproute-tc": [ { "arch": "x86_64", "epoch": null, "name": "iproute-tc", "release": "1.el9", "source": "rpm", "version": "5.18.0" } ], "ipset": [ { "arch": "x86_64", "epoch": null, "name": "ipset", "release": "6.el9", "source": "rpm", "version": "7.11" } ], "ipset-libs": [ { "arch": "x86_64", "epoch": null, "name": "ipset-libs", "release": "6.el9", "source": "rpm", "version": "7.11" } ], "iptables-libs": [ { "arch": "x86_64", "epoch": null, "name": "iptables-libs", "release": "4.el9", "source": "rpm", "version": "1.8.8" } ], "iptables-nft": [ { "arch": "x86_64", "epoch": null, "name": "iptables-nft", "release": "4.el9", "source": "rpm", "version": "1.8.8" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "7.el9", "source": "rpm", "version": "20210202" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "3.el9", "source": "rpm", "version": "1.9.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el9", "source": "rpm", "version": "2.14" } ], "jitterentropy": [ { "arch": "x86_64", "epoch": null, "name": "jitterentropy", "release": "1.el9", "source": "rpm", "version": "3.4.0" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "11.el9", "source": "rpm", "version": "0.14" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el9", "source": "rpm", "version": "1.6.6" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "8.el9", "source": "rpm", "version": "2.4.0" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "8.el9", "source": "rpm", "version": "2.4.0" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "5.el9", "source": "rpm", "version": "2.0.24" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "4.el9", "source": "rpm", "version": "1.6.1" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "4.el9", "source": "rpm", "version": "1.6.1" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "7.el9", "source": "rpm", "version": "28" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "7.el9", "source": "rpm", "version": "28" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "10.el9", "source": "rpm", "version": "0.8.7" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "22.el9", "source": "rpm", "version": "1.19.1" } ], "langpacks-core-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-core-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "langpacks-core-font-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-core-font-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "langpacks-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el9_0", "source": "rpm", "version": "590" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "3.el9", "source": "rpm", "version": "2.3.1" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el9", "source": "rpm", "version": "3.5.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el9", "source": "rpm", "version": "2.5.5" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el9", "source": "rpm", "version": "2.5.1" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "53.el9", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libbpf": [ { "arch": "x86_64", "epoch": 2, "name": "libbpf", "release": "1.el9", "source": "rpm", "version": "0.6.0" } ], "libbrotli": [ { "arch": "x86_64", "epoch": null, "name": "libbrotli", "release": "6.el9", "source": "rpm", "version": "1.0.9" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "8.el9", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "7.el9", "source": "rpm", "version": "0.8.2" } ], "libcap-ng-python3": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng-python3", "release": "7.el9", "source": "rpm", "version": "0.8.2" } ], "libcbor": [ { "arch": "x86_64", "epoch": null, "name": "libcbor", "release": "5.el9", "source": "rpm", "version": "0.7.0" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "53.el9", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el9", "source": "rpm", "version": "0.1.18" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "19.el9", "source": "rpm", "version": "7.76.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "23.el9", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "53.el9", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "53.el9", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "libdnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "libdnf-plugin-subscription-manager", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "libeconf": [ { "arch": "x86_64", "epoch": null, "name": "libeconf", "release": "2.el9", "source": "rpm", "version": "0.4.1" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "37.20210216cvs.el9", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "4.el9", "source": "rpm", "version": "0.1.11" } ], "libev": [ { "arch": "x86_64", "epoch": null, "name": "libev", "release": "5.el9", "source": "rpm", "version": "4.33" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "6.el9", "source": "rpm", "version": "2.1.12" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el9", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "7.el9", "source": "rpm", "version": "3.4.2" } ], "libfido2": [ { "arch": "x86_64", "epoch": null, "name": "libfido2", "release": "7.el9", "source": "rpm", "version": "1.6.0" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "4.el9_0", "source": "rpm", "version": "1.10.0" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "5.el9", "source": "rpm", "version": "1.42" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "3.el9", "source": "rpm", "version": "41.0" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "7.el9", "source": "rpm", "version": "2.3.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "53.el9", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "3.el9", "source": "rpm", "version": "1.3.1" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "3.el9", "source": "rpm", "version": "1.3.1" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "4.el9", "source": "rpm", "version": "1.5.1" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el9", "source": "rpm", "version": "2.5.2" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "3.el9", "source": "rpm", "version": "1.5.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "15.el9", "source": "rpm", "version": "1.0.4" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "2.el9", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "4.el9", "source": "rpm", "version": "1.8" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "4.el9", "source": "rpm", "version": "1.0.8" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "21.el9", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "11.el9", "source": "rpm", "version": "2.5.4" } ], "libnftnl": [ { "arch": "x86_64", "epoch": null, "name": "libnftnl", "release": "1.el9", "source": "rpm", "version": "1.2.2" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "5.el9", "source": "rpm", "version": "1.43.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el9", "source": "rpm", "version": "3.7.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el9", "source": "rpm", "version": "3.7.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "53.el9", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "4.el9", "source": "rpm", "version": "1.10.0" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "4.el9", "source": "rpm", "version": "1.5.3" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "5.el9", "source": "rpm", "version": "0.21.1" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "8.el9", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "53.el9", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "3.el9", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "noarch", "epoch": null, "name": "libreport-filesystem", "release": "6.el9", "source": "rpm", "version": "2.15.2" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "7.el9", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "2.el9", "source": "rpm", "version": "2.5.2" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "2.el9", "source": "rpm", "version": "3.4" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "1.1.el9", "source": "rpm", "version": "3.4" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "4.el9", "source": "rpm", "version": "2.13" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el9", "source": "rpm", "version": "0.7.22" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el9", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el9", "source": "rpm", "version": "0.9.6" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "10.el9", "source": "rpm", "version": "2.1.1" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el9", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "7.el9", "source": "rpm", "version": "4.16.0" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el9", "source": "rpm", "version": "1.4.6" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "14.el9", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el9", "source": "rpm", "version": "0.12.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.el9", "source": "rpm", "version": "1.3.3" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "15.el9", "source": "rpm", "version": "0.9.10" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "11.el9", "source": "rpm", "version": "0.63" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "6.el9", "source": "rpm", "version": "1.2.1" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "3.el9", "source": "rpm", "version": "0.3.2" } ], "libverto-libev": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libev", "release": "3.el9", "source": "rpm", "version": "0.3.2" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "3.el9", "source": "rpm", "version": "4.4.18" } ], "libxcrypt-compat": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt-compat", "release": "3.el9", "source": "rpm", "version": "4.4.18" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "2.el9", "source": "rpm", "version": "2.9.13" } ], "libxslt": [ { "arch": "x86_64", "epoch": null, "name": "libxslt", "release": "9.el9", "source": "rpm", "version": "1.1.34" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "7.el9", "source": "rpm", "version": "0.2.5" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "2.el9", "source": "rpm", "version": "1.5.1" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "127.el9", "source": "rpm", "version": "20220708" } ], "linux-firmware-whence": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware-whence", "release": "127.el9", "source": "rpm", "version": "20220708" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "3.el9", "source": "rpm", "version": "0.9.29" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "7.el9", "source": "rpm", "version": "3.18.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "9.el9", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "6.el9", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "4.el9", "source": "rpm", "version": "5.4.2" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "5.el9", "source": "rpm", "version": "1.9.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "7.el9", "source": "rpm", "version": "2.10" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "7.el9", "source": "rpm", "version": "4.3" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "6.el9", "source": "rpm", "version": "2.9.3" } ], "microcode_ctl": [ { "arch": "noarch", "epoch": 4, "name": "microcode_ctl", "release": "1.el9", "source": "rpm", "version": "20220510" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "7.el9", "source": "rpm", "version": "4.1.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "1.el9_0", "source": "rpm", "version": "3.8" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el9", "source": "rpm", "version": "0.52.21" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "11.el9", "source": "rpm", "version": "2.5.4" } ], "nftables": [ { "arch": "x86_64", "epoch": 1, "name": "nftables", "release": "2.el9", "source": "rpm", "version": "1.0.4" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "8.el9", "source": "rpm", "version": "1.6" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "8.el9", "source": "rpm", "version": "2.0.14" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "5.el9", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "5.el9", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "3.el9", "source": "rpm", "version": "2.6.2" } ], "openldap-compat": [ { "arch": "x86_64", "epoch": null, "name": "openldap-compat", "release": "3.el9", "source": "rpm", "version": "2.6.2" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "41.el9_0", "source": "rpm", "version": "3.0.1" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "41.el9_0", "source": "rpm", "version": "3.0.1" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "7.el9", "source": "rpm", "version": "0.4.11" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el9", "source": "rpm", "version": "1.77" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "2.el9", "source": "rpm", "version": "0.24.1" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "2.el9", "source": "rpm", "version": "0.24.1" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "12.el9", "source": "rpm", "version": "1.5.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "2.el9", "source": "rpm", "version": "3.5" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "12.el9", "source": "rpm", "version": "0.80" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "5.el9", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "3.el9.3", "source": "rpm", "version": "8.44" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el9", "source": "rpm", "version": "10.40" } ], "pcre2-syntax": [ { "arch": "noarch", "epoch": null, "name": "pcre2-syntax", "release": "2.el9", "source": "rpm", "version": "10.40" } ], "perl-AutoLoader": [ { "arch": "noarch", "epoch": 0, "name": "perl-AutoLoader", "release": "479.el9", "source": "rpm", "version": "5.74" } ], "perl-B": [ { "arch": "x86_64", "epoch": 0, "name": "perl-B", "release": "479.el9", "source": "rpm", "version": "1.80" } ], "perl-Carp": [ { "arch": "noarch", "epoch": null, "name": "perl-Carp", "release": "460.el9", "source": "rpm", "version": "1.50" } ], "perl-Class-Struct": [ { "arch": "noarch", "epoch": 0, "name": "perl-Class-Struct", "release": "479.el9", "source": "rpm", "version": "0.66" } ], "perl-Data-Dumper": [ { "arch": "x86_64", "epoch": null, "name": "perl-Data-Dumper", "release": "462.el9", "source": "rpm", "version": "2.174" } ], "perl-Digest": [ { "arch": "noarch", "epoch": null, "name": "perl-Digest", "release": "4.el9", "source": "rpm", "version": "1.19" } ], "perl-Digest-MD5": [ { "arch": "x86_64", "epoch": null, "name": "perl-Digest-MD5", "release": "4.el9", "source": "rpm", "version": "2.58" } ], "perl-DynaLoader": [ { "arch": "x86_64", "epoch": 0, "name": "perl-DynaLoader", "release": "479.el9", "source": "rpm", "version": "1.47" } ], "perl-Encode": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Encode", "release": "462.el9", "source": "rpm", "version": "3.08" } ], "perl-Errno": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Errno", "release": "479.el9", "source": "rpm", "version": "1.30" } ], "perl-Error": [ { "arch": "noarch", "epoch": 1, "name": "perl-Error", "release": "7.el9", "source": "rpm", "version": "0.17029" } ], "perl-Exporter": [ { "arch": "noarch", "epoch": null, "name": "perl-Exporter", "release": "461.el9", "source": "rpm", "version": "5.74" } ], "perl-Fcntl": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Fcntl", "release": "479.el9", "source": "rpm", "version": "1.13" } ], "perl-File-Basename": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-Basename", "release": "479.el9", "source": "rpm", "version": "2.85" } ], "perl-File-Find": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-Find", "release": "479.el9", "source": "rpm", "version": "1.37" } ], "perl-File-Path": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Path", "release": "4.el9", "source": "rpm", "version": "2.18" } ], "perl-File-Temp": [ { "arch": "noarch", "epoch": 1, "name": "perl-File-Temp", "release": "4.el9", "source": "rpm", "version": "0.231.100" } ], "perl-File-stat": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-stat", "release": "479.el9", "source": "rpm", "version": "1.09" } ], "perl-FileHandle": [ { "arch": "noarch", "epoch": 0, "name": "perl-FileHandle", "release": "479.el9", "source": "rpm", "version": "2.03" } ], "perl-Getopt-Long": [ { "arch": "noarch", "epoch": 1, "name": "perl-Getopt-Long", "release": "4.el9", "source": "rpm", "version": "2.52" } ], "perl-Getopt-Std": [ { "arch": "noarch", "epoch": 0, "name": "perl-Getopt-Std", "release": "479.el9", "source": "rpm", "version": "1.12" } ], "perl-Git": [ { "arch": "noarch", "epoch": null, "name": "perl-Git", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "perl-HTTP-Tiny": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Tiny", "release": "460.el9", "source": "rpm", "version": "0.076" } ], "perl-IO": [ { "arch": "x86_64", "epoch": 0, "name": "perl-IO", "release": "479.el9", "source": "rpm", "version": "1.43" } ], "perl-IO-Socket-IP": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-IP", "release": "5.el9", "source": "rpm", "version": "0.41" } ], "perl-IO-Socket-SSL": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-SSL", "release": "1.el9", "source": "rpm", "version": "2.073" } ], "perl-IPC-Open3": [ { "arch": "noarch", "epoch": 0, "name": "perl-IPC-Open3", "release": "479.el9", "source": "rpm", "version": "1.21" } ], "perl-MIME-Base64": [ { "arch": "x86_64", "epoch": null, "name": "perl-MIME-Base64", "release": "4.el9", "source": "rpm", "version": "3.16" } ], "perl-Mozilla-CA": [ { "arch": "noarch", "epoch": null, "name": "perl-Mozilla-CA", "release": "6.el9", "source": "rpm", "version": "20200520" } ], "perl-NDBM_File": [ { "arch": "x86_64", "epoch": 0, "name": "perl-NDBM_File", "release": "479.el9", "source": "rpm", "version": "1.15" } ], "perl-Net-SSLeay": [ { "arch": "x86_64", "epoch": null, "name": "perl-Net-SSLeay", "release": "2.el9", "source": "rpm", "version": "1.92" } ], "perl-POSIX": [ { "arch": "x86_64", "epoch": 0, "name": "perl-POSIX", "release": "479.el9", "source": "rpm", "version": "1.94" } ], "perl-PathTools": [ { "arch": "x86_64", "epoch": null, "name": "perl-PathTools", "release": "461.el9", "source": "rpm", "version": "3.78" } ], "perl-Pod-Escapes": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Escapes", "release": "460.el9", "source": "rpm", "version": "1.07" } ], "perl-Pod-Perldoc": [ { "arch": "noarch", "epoch": null, "name": "perl-Pod-Perldoc", "release": "461.el9", "source": "rpm", "version": "3.28.01" } ], "perl-Pod-Simple": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Simple", "release": "4.el9", "source": "rpm", "version": "3.42" } ], "perl-Pod-Usage": [ { "arch": "noarch", "epoch": 4, "name": "perl-Pod-Usage", "release": "4.el9", "source": "rpm", "version": "2.01" } ], "perl-Scalar-List-Utils": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Scalar-List-Utils", "release": "461.el9", "source": "rpm", "version": "1.56" } ], "perl-SelectSaver": [ { "arch": "noarch", "epoch": 0, "name": "perl-SelectSaver", "release": "479.el9", "source": "rpm", "version": "1.02" } ], "perl-Socket": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Socket", "release": "4.el9", "source": "rpm", "version": "2.031" } ], "perl-Storable": [ { "arch": "x86_64", "epoch": 1, "name": "perl-Storable", "release": "460.el9", "source": "rpm", "version": "3.21" } ], "perl-Symbol": [ { "arch": "noarch", "epoch": 0, "name": "perl-Symbol", "release": "479.el9", "source": "rpm", "version": "1.08" } ], "perl-Term-ANSIColor": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-ANSIColor", "release": "461.el9", "source": "rpm", "version": "5.01" } ], "perl-Term-Cap": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-Cap", "release": "460.el9", "source": "rpm", "version": "1.17" } ], "perl-TermReadKey": [ { "arch": "x86_64", "epoch": null, "name": "perl-TermReadKey", "release": "11.el9", "source": "rpm", "version": "2.38" } ], "perl-Text-ParseWords": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-ParseWords", "release": "460.el9", "source": "rpm", "version": "3.30" } ], "perl-Text-Tabs+Wrap": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-Tabs+Wrap", "release": "460.el9", "source": "rpm", "version": "2013.0523" } ], "perl-Time-Local": [ { "arch": "noarch", "epoch": 2, "name": "perl-Time-Local", "release": "7.el9", "source": "rpm", "version": "1.300" } ], "perl-URI": [ { "arch": "noarch", "epoch": null, "name": "perl-URI", "release": "3.el9", "source": "rpm", "version": "5.09" } ], "perl-base": [ { "arch": "noarch", "epoch": 0, "name": "perl-base", "release": "479.el9", "source": "rpm", "version": "2.27" } ], "perl-constant": [ { "arch": "noarch", "epoch": null, "name": "perl-constant", "release": "461.el9", "source": "rpm", "version": "1.33" } ], "perl-if": [ { "arch": "noarch", "epoch": 0, "name": "perl-if", "release": "479.el9", "source": "rpm", "version": "0.60.800" } ], "perl-interpreter": [ { "arch": "x86_64", "epoch": 4, "name": "perl-interpreter", "release": "479.el9", "source": "rpm", "version": "5.32.1" } ], "perl-lib": [ { "arch": "x86_64", "epoch": 0, "name": "perl-lib", "release": "479.el9", "source": "rpm", "version": "0.65" } ], "perl-libnet": [ { "arch": "noarch", "epoch": null, "name": "perl-libnet", "release": "4.el9", "source": "rpm", "version": "3.13" } ], "perl-libs": [ { "arch": "x86_64", "epoch": 4, "name": "perl-libs", "release": "479.el9", "source": "rpm", "version": "5.32.1" } ], "perl-mro": [ { "arch": "x86_64", "epoch": 0, "name": "perl-mro", "release": "479.el9", "source": "rpm", "version": "1.23" } ], "perl-overload": [ { "arch": "noarch", "epoch": 0, "name": "perl-overload", "release": "479.el9", "source": "rpm", "version": "1.31" } ], "perl-overloading": [ { "arch": "noarch", "epoch": 0, "name": "perl-overloading", "release": "479.el9", "source": "rpm", "version": "0.02" } ], "perl-parent": [ { "arch": "noarch", "epoch": 1, "name": "perl-parent", "release": "460.el9", "source": "rpm", "version": "0.238" } ], "perl-podlators": [ { "arch": "noarch", "epoch": 1, "name": "perl-podlators", "release": "460.el9", "source": "rpm", "version": "4.14" } ], "perl-subs": [ { "arch": "noarch", "epoch": 0, "name": "perl-subs", "release": "479.el9", "source": "rpm", "version": "1.03" } ], "perl-vars": [ { "arch": "noarch", "epoch": 0, "name": "perl-vars", "release": "479.el9", "source": "rpm", "version": "1.05" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el9", "source": "rpm", "version": "2.5" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "8.el9", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "8.el9", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el9", "source": "rpm", "version": "3.3.17" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "3.el9", "source": "rpm", "version": "23.4" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "3.el9", "source": "rpm", "version": "20210518" } ], "python-unversioned-command": [ { "arch": "noarch", "epoch": null, "name": "python-unversioned-command", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3": [ { "arch": "x86_64", "epoch": null, "name": "python3", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "2.el9", "source": "rpm", "version": "2.9.1" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "5.el9", "source": "rpm", "version": "4.0.0" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "25.el9", "source": "rpm", "version": "5.0.6" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el9", "source": "rpm", "version": "2.8.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "2.el9", "source": "rpm", "version": "1.2.18" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "6.el9", "source": "rpm", "version": "4.4.2" } ], "python3-distro": [ { "arch": "noarch", "epoch": null, "name": "python3-distro", "release": "7.el9", "source": "rpm", "version": "1.5.0" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "2.el9", "source": "rpm", "version": "0.15" } ], "python3-firewall": [ { "arch": "noarch", "epoch": null, "name": "python3-firewall", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "6.el9", "source": "rpm", "version": "3.40.1" } ], "python3-gobject-base-noarch": [ { "arch": "noarch", "epoch": null, "name": "python3-gobject-base-noarch", "release": "6.el9", "source": "rpm", "version": "3.40.1" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "6.el9", "source": "rpm", "version": "1.15.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "7.el9", "source": "rpm", "version": "2.10" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "45.el9", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "25.el9", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "4.el9", "source": "rpm", "version": "2.11.3" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "16.el9", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "4.el9", "source": "rpm", "version": "2.0" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el9", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "3.el9", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "2.el9", "source": "rpm", "version": "3.4" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "2.el9", "source": "rpm", "version": "2.9.13" } ], "python3-lxml": [ { "arch": "x86_64", "epoch": null, "name": "python3-lxml", "release": "3.el9", "source": "rpm", "version": "4.6.5" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "12.el9", "source": "rpm", "version": "1.1.1" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "15.el9", "source": "rpm", "version": "0.10.6" } ], "python3-nftables": [ { "arch": "x86_64", "epoch": 1, "name": "python3-nftables", "release": "2.el9", "source": "rpm", "version": "1.0.4" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "2.el9", "source": "rpm", "version": "3.1.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "6.el9", "source": "rpm", "version": "21.2.3" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "27.el9", "source": "rpm", "version": "0.7.2" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "12.el9", "source": "rpm", "version": "3.4" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "12.el9", "source": "rpm", "version": "1.7.1" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "4.el9", "source": "rpm", "version": "2021.1" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "6.el9", "source": "rpm", "version": "5.4.1" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "6.el9", "source": "rpm", "version": "2.25.1" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "5.el9", "source": "rpm", "version": "4.4.0" } ], "python3-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools", "release": "10.el9", "source": "rpm", "version": "53.0.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "10.el9", "source": "rpm", "version": "53.0.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "9.el9", "source": "rpm", "version": "1.15.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "3.el9", "source": "rpm", "version": "1.26.5" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 17, "name": "qemu-guest-agent", "release": "11.el9", "source": "rpm", "version": "7.0.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "6.el9", "source": "rpm", "version": "4.06" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "6.el9", "source": "rpm", "version": "4.06" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "4.el9", "source": "rpm", "version": "8.1" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "1.8.el9", "source": "rpm", "version": "9.1" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "1.8.el9", "source": "rpm", "version": "9.1" } ], "restraint": [ { "arch": "x86_64", "epoch": null, "name": "restraint", "release": "1.el9", "source": "rpm", "version": "0.4.0" } ], "restraint-rhts": [ { "arch": "x86_64", "epoch": null, "name": "restraint-rhts", "release": "1.el9", "source": "rpm", "version": "0.4.0" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "1.el9", "source": "rpm", "version": "6.15" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "31.el9", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "2.el9", "source": "rpm", "version": "1.2.6" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-audit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-audit", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-sign-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-sign-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "16.el9", "source": "rpm", "version": "3.2.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "105.el9", "source": "rpm", "version": "8.2102.0" } ], "rsyslog-logrotate": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog-logrotate", "release": "105.el9", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "9.el9", "source": "rpm", "version": "4.8" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "1.el9", "source": "rpm", "version": "34.1.40" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "1.el9", "source": "rpm", "version": "34.1.40" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "7.el9", "source": "rpm", "version": "2.13.7" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "9.el9", "source": "rpm", "version": "1.47" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "9.el9", "source": "rpm", "version": "1.47" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el9", "source": "rpm", "version": "4.9" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el9", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "8.el9", "source": "rpm", "version": "1.1.8" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "5.el9", "source": "rpm", "version": "3.34.1" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "8.git1.el9", "source": "rpm", "version": "4.4" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "subscription-manager-rhsm-certificates": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "1.el9", "source": "rpm", "version": "20220623" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "7.el9", "source": "rpm", "version": "1.9.5p2" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-rpm-macros": [ { "arch": "noarch", "epoch": null, "name": "systemd-rpm-macros", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "7.el9", "source": "rpm", "version": "250" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el9", "source": "rpm", "version": "1.34" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "14.el9", "source": "rpm", "version": "1.31" } ], "time": [ { "arch": "x86_64", "epoch": null, "name": "time", "release": "18.el9", "source": "rpm", "version": "1.9" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "8.el9", "source": "rpm", "version": "3.0.3" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el9", "source": "rpm", "version": "2022a" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "4.el9", "source": "rpm", "version": "1.114" } ], "userspace-rcu": [ { "arch": "x86_64", "epoch": null, "name": "userspace-rcu", "release": "6.el9", "source": "rpm", "version": "0.12.1" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "util-linux-core": [ { "arch": "x86_64", "epoch": null, "name": "util-linux-core", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "vim-common": [ { "arch": "x86_64", "epoch": 2, "name": "vim-common", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-enhanced": [ { "arch": "x86_64", "epoch": 2, "name": "vim-enhanced", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-filesystem": [ { "arch": "noarch", "epoch": 2, "name": "vim-filesystem", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "2.el9", "source": "rpm", "version": "1.22" } ], "wget": [ { "arch": "x86_64", "epoch": null, "name": "wget", "release": "7.el9", "source": "rpm", "version": "1.21.1" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "28.el9", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "1.el9", "source": "rpm", "version": "5.14.2" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "8.el9_0", "source": "rpm", "version": "5.2.5" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "8.el9_0", "source": "rpm", "version": "5.2.5" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "33.el9", "source": "rpm", "version": "1.2.11" } ], "zstd": [ { "arch": "x86_64", "epoch": null, "name": "zstd", "release": "2.el9", "source": "rpm", "version": "1.5.1" } ] } }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** Friday 19 August 2022 23:44:32 +0000 (0:00:01.041) 0:00:04.884 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** Friday 19 August 2022 23:44:32 +0000 (0:00:00.076) 0:00:04.961 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** Friday 19 August 2022 23:44:32 +0000 (0:00:00.061) 0:00:05.023 ********* ok: [sut] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** Friday 19 August 2022 23:44:32 +0000 (0:00:00.097) 0:00:05.120 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** Friday 19 August 2022 23:44:32 +0000 (0:00:00.063) 0:00:05.184 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 31, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** Friday 19 August 2022 23:44:33 +0000 (0:00:00.373) 0:00:05.557 ********* ok: [sut] => { "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": 29, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** Friday 19 August 2022 23:44:33 +0000 (0:00:00.279) 0:00:05.837 ********* ok: [sut] => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** Friday 19 August 2022 23:44:33 +0000 (0:00:00.278) 0:00:06.115 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1660952274.857, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "48ad50e64dc02c34e34a5782d42c307f94cb30b6", "ctime": 1660761849.2256196, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1652693608.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3194, "uid": 0, "version": "887823271", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** Friday 19 August 2022 23:44:34 +0000 (0:00:00.372) 0:00:06.487 ********* changed: [sut] => { "changed": true, "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "dest": "/etc/rsyslog.conf", "gid": 0, "group": "root", "md5sum": "e08a7b6fa14b8e9ce4b3f79d00d21c08", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 108, "src": "/root/.ansible/tmp/ansible-tmp-1660952674.315068-16203-189290230705716/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** Friday 19 August 2022 23:44:35 +0000 (0:00:00.851) 0:00:07.339 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_common_rules": [ { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** Friday 19 August 2022 23:44:35 +0000 (0:00:00.150) 0:00:07.490 ********* changed: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/source", "state": "file", "uid": 0 } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "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: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** Friday 19 August 2022 23:44:36 +0000 (0:00:01.404) 0:00:08.894 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** Friday 19 August 2022 23:44:36 +0000 (0:00:00.073) 0:00:08.968 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "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: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** Friday 19 August 2022 23:44:36 +0000 (0:00:00.087) 0:00:09.056 ********* ok: [sut] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } ok: [sut] => (item={'name': 'ovirt_collectd_input', 'type': 'ovirt', 'subtype': 'collectd'}) => { "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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_collectd_input", "subtype": "collectd", "type": "ovirt" } } ok: [sut] => (item={'name': 'ovirt_engine_input', 'type': 'ovirt', 'subtype': '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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_engine_input", "subtype": "engine", "type": "ovirt" } } ok: [sut] => (item={'name': 'ovirt_vdsm_input', 'type': 'ovirt', 'subtype': 'vdsm'}) => { "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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_vdsm_input", "subtype": "vdsm", "type": "ovirt" } } ok: [sut] => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) => { "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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** Friday 19 August 2022 23:44:36 +0000 (0:00:00.136) 0:00:09.192 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/basics/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** Friday 19 August 2022 23:44:37 +0000 (0:00:00.286) 0:00:09.478 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:44:37 +0000 (0:00:00.112) 0:00:09.591 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:44:37 +0000 (0:00:00.066) 0:00:09.658 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:44:37 +0000 (0:00:00.059) 0:00:09.717 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:44:37 +0000 (0:00:00.076) 0:00:09.794 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:44:37 +0000 (0:00:00.062) 0:00:09.857 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:44:37 +0000 (0:00:00.119) 0:00:09.976 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:44:37 +0000 (0:00:00.065) 0:00:10.042 ********* changed: [sut] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'module(load="imuxsock" # provides support for local system logging (e.g. via logger command)\n SysSock.Use="off") # Turn off message reception via local log socket.\nmodule(load="imjournal"\n StateFile="/var/lib/rsyslog/imjournal.state"\n RateLimit.Burst="20000"\n RateLimit.Interval="600"\n PersistStateInterval="10")\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call default_files\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:44:38 +0000 (0:00:00.858) 0:00:10.900 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:44:38 +0000 (0:00:00.077) 0:00:10.977 ********* skipping: [sut] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'module(load="imuxsock" # provides support for local system logging (e.g. via logger command)\n SysSock.Use="off") # Turn off message reception via local log socket.\nmodule(load="imjournal"\n StateFile="/var/lib/rsyslog/imjournal.state"\n RateLimit.Burst="20000"\n RateLimit.Interval="600"\n PersistStateInterval="10")\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call default_files\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:44:39 +0000 (0:00:00.296) 0:00:11.274 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:44:39 +0000 (0:00:00.112) 0:00:11.386 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:44:39 +0000 (0:00:00.519) 0:00:11.906 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:44:39 +0000 (0:00:00.150) 0:00:12.056 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:44:39 +0000 (0:00:00.114) 0:00:12.171 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-mmjsonparse-8.2102.0-105.el9.x86_64", "Installed: liblognorm-2.0.6-4.el9.x86_64", "Installed: rsyslog-mmnormalize-8.2102.0-105.el9.x86_64", "Installed: policycoreutils-python-utils-3.4-3.el9.noarch" ] } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:44:41 +0000 (0:00:01.993) 0:00:14.164 ********* changed: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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-1660952683.3071985-16381-212346144332650/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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-1660952683.9332128-16381-129828400904274/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:44:45 +0000 (0:00:03.259) 0:00:17.424 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:44:45 +0000 (0:00:00.088) 0:00:17.512 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "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: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "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: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_collectd_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:44:45 +0000 (0:00:00.167) 0:00:17.679 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:44:45 +0000 (0:00:00.131) 0:00:17.811 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:44:45 +0000 (0:00:00.066) 0:00:17.878 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_collectd_input', 'type': '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'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:44:46 +0000 (0:00:00.816) 0:00:18.694 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:44:46 +0000 (0:00:00.089) 0:00:18.783 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_collectd_input', 'type': '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'}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:44:46 +0000 (0:00:00.180) 0:00:18.964 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:08.624424", "end": "2022-08-19 23:44:55.711866", "rc": 0, "start": "2022-08-19 23:44:47.087442" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:44:55 +0000 (0:00:09.045) 0:00:28.010 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:44:55 +0000 (0:00:00.112) 0:00:28.122 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:44:56 +0000 (0:00:00.578) 0:00:28.701 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:44:56 +0000 (0:00:00.150) 0:00:28.851 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:44:56 +0000 (0:00:00.114) 0:00:28.966 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:44:57 +0000 (0:00:01.009) 0:00:29.975 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:00 +0000 (0:00:02.977) 0:00:32.953 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:45:00 +0000 (0:00:00.103) 0:00:33.056 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "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: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "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: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_engine_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:00 +0000 (0:00:00.132) 0:00:33.188 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:01 +0000 (0:00:00.167) 0:00:33.355 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:45:01 +0000 (0:00:00.066) 0:00:33.422 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_engine_input', 'type': '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-13-80.ec2.internal\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.13.80\';\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'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:02 +0000 (0:00:00.842) 0:00:34.265 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-1660952701.3810234-16542-159415617187223/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:45:02 +0000 (0:00:00.105) 0:00:34.370 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_engine_input', 'type': '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-13-80.ec2.internal\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.13.80\';\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'}) => { "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:45:02 +0000 (0:00:00.186) 0:00:34.557 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.401669", "end": "2022-08-19 23:45:02.941033", "rc": 0, "start": "2022-08-19 23:45:02.539364" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:45:02 +0000 (0:00:00.681) 0:00:35.239 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:45:03 +0000 (0:00:00.111) 0:00:35.350 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:45:03 +0000 (0:00:00.487) 0:00:35.837 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:03 +0000 (0:00:00.149) 0:00:35.987 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:03 +0000 (0:00:00.115) 0:00:36.103 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:45:04 +0000 (0:00:01.018) 0:00:37.121 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:07 +0000 (0:00:03.008) 0:00:40.130 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-1660952701.3810234-16542-159415617187223/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:45:08 +0000 (0:00:00.114) 0:00:40.244 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "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: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "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: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_vdsm_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:08 +0000 (0:00:00.134) 0:00:40.379 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:08 +0000 (0:00:00.129) 0:00:40.508 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:45:08 +0000 (0:00:00.066) 0:00:40.574 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_vdsm_input', 'type': '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-13-80.ec2.internal\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.13.80\';\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'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "489870bc15792b1adf482737b71d3936", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952708.5371401-16637-44477277638033/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:09 +0000 (0:00:00.821) 0:00:41.396 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-1660952701.3810234-16542-159415617187223/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-1660952708.5371401-16637-44477277638033/source", "unsafe_writes": false, "validate": null } }, "md5sum": "489870bc15792b1adf482737b71d3936", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952708.5371401-16637-44477277638033/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:45:09 +0000 (0:00:00.119) 0:00:41.515 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_vdsm_input', 'type': '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-13-80.ec2.internal\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.13.80\';\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'}) => { "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:45:09 +0000 (0:00:00.280) 0:00:41.795 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.395061", "end": "2022-08-19 23:45:10.169692", "rc": 0, "start": "2022-08-19 23:45:09.774631" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:45:10 +0000 (0:00:00.671) 0:00:42.467 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:45:10 +0000 (0:00:00.111) 0:00:42.579 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:45:10 +0000 (0:00:00.481) 0:00:43.060 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:10 +0000 (0:00:00.148) 0:00:43.209 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:11 +0000 (0:00:00.115) 0:00:43.324 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:45:12 +0000 (0:00:01.011) 0:00:44.336 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:15 +0000 (0:00:02.954) 0:00:47.291 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-1660952701.3810234-16542-159415617187223/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-1660952708.5371401-16637-44477277638033/source", "unsafe_writes": false, "validate": null } }, "md5sum": "489870bc15792b1adf482737b71d3936", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952708.5371401-16637-44477277638033/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:45:15 +0000 (0:00:00.132) 0:00:47.423 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "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: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "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: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_bogus_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:15 +0000 (0:00:00.138) 0:00:47.561 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:45:15 +0000 (0:00:00.072) 0:00:47.634 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.392212", "end": "2022-08-19 23:45:16.003710", "rc": 0, "start": "2022-08-19 23:45:15.611498" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** Friday 19 August 2022 23:45:16 +0000 (0:00:00.666) 0:00:48.301 ********* ok: [sut] => (item={'name': 'default_files', 'type': '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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } ok: [sut] => (item={'name': 'elasticsearch_output', 'type': 'elasticsearch', 'server_host': 'logging-es', 'server_port': 9200, 'index_prefix': 'project.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'uid': '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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/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: [sut] => (item={'name': 'elasticsearch_output_ops', 'type': 'elasticsearch', 'server_host': 'logging-es-ops', 'server_port': 9200, 'index_prefix': '.operations.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem'}) => { "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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** Friday 19 August 2022 23:45:16 +0000 (0:00:00.113) 0:00:48.415 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/outputs/files/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:16 +0000 (0:00:00.192) 0:00:48.608 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:16 +0000 (0:00:00.112) 0:00:48.720 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:45:16 +0000 (0:00:00.069) 0:00:48.790 ********* changed: [sut] => (item={'name': 'output-files-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfile")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952716.6426713-16710-57401806272526/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:17 +0000 (0:00:00.716) 0:00:49.506 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-1660952701.3810234-16542-159415617187223/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-1660952708.5371401-16637-44477277638033/source", "unsafe_writes": false, "validate": null } }, "md5sum": "489870bc15792b1adf482737b71d3936", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952708.5371401-16637-44477277638033/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952716.6426713-16710-57401806272526/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952716.6426713-16710-57401806272526/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:45:17 +0000 (0:00:00.131) 0:00:49.638 ********* skipping: [sut] => (item={'name': 'output-files-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfile")\n'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-default_files in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:17 +0000 (0:00:00.129) 0:00:49.768 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:17 +0000 (0:00:00.118) 0:00:49.886 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:45:17 +0000 (0:00:00.067) 0:00:49.954 ********* changed: [sut] => (item={'name': 'output-files-default_files', 'type': 'output', 'state': 'present', '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'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952717.9058297-16728-128584815431862/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:18 +0000 (0:00:00.815) 0:00:50.770 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-1660952701.3810234-16542-159415617187223/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-1660952708.5371401-16637-44477277638033/source", "unsafe_writes": false, "validate": null } }, "md5sum": "489870bc15792b1adf482737b71d3936", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952708.5371401-16637-44477277638033/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952716.6426713-16710-57401806272526/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952716.6426713-16710-57401806272526/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "ec4f5c91855d526e10963c7678121d42168d319b", "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-1660952717.9058297-16728-128584815431862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952717.9058297-16728-128584815431862/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:45:18 +0000 (0:00:00.137) 0:00:50.907 ********* skipping: [sut] => (item={'name': 'output-files-default_files', 'type': 'output', 'state': 'present', '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'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** Friday 19 August 2022 23:45:18 +0000 (0:00:00.179) 0:00:51.087 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/set_certs.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:45:18 +0000 (0:00:00.117) 0:00:51.205 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:45:19 +0000 (0:00:00.083) 0:00:51.288 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** Friday 19 August 2022 23:45:19 +0000 (0:00:00.085) 0:00:51.374 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** Friday 19 August 2022 23:45:19 +0000 (0:00:00.086) 0:00:51.460 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** Friday 19 August 2022 23:45:19 +0000 (0:00:00.097) 0:00:51.558 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:19 +0000 (0:00:00.077) 0:00:51.636 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:19 +0000 (0:00:00.122) 0:00:51.759 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-105.el9.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:45:20 +0000 (0:00:01.452) 0:00:53.212 ********* changed: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952721.064821-16759-153854691950458/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952721.721747-16759-9026128163530/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:22 +0000 (0:00:01.373) 0:00:54.586 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-1660952701.3810234-16542-159415617187223/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-1660952708.5371401-16637-44477277638033/source", "unsafe_writes": false, "validate": null } }, "md5sum": "489870bc15792b1adf482737b71d3936", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952708.5371401-16637-44477277638033/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952716.6426713-16710-57401806272526/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952716.6426713-16710-57401806272526/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "ec4f5c91855d526e10963c7678121d42168d319b", "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-1660952717.9058297-16728-128584815431862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952717.9058297-16728-128584815431862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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-1660952721.064821-16759-153854691950458/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952721.064821-16759-153854691950458/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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-1660952721.721747-16759-9026128163530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952721.721747-16759-9026128163530/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:45:22 +0000 (0:00:00.142) 0:00:54.729 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "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: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', '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}'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:22 +0000 (0:00:00.098) 0:00:54.827 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d (no_log)] *** Friday 19 August 2022 23:45:22 +0000 (0:00:00.075) 0:00:54.903 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy_nolog.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:22 +0000 (0:00:00.135) 0:00:55.039 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d with no_log] *** Friday 19 August 2022 23:45:22 +0000 (0:00:00.066) 0:00:55.105 ********* changed: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:23 +0000 (0:00:00.867) 0:00:55.972 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-1660952701.3810234-16542-159415617187223/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-1660952708.5371401-16637-44477277638033/source", "unsafe_writes": false, "validate": null } }, "md5sum": "489870bc15792b1adf482737b71d3936", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952708.5371401-16637-44477277638033/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952716.6426713-16710-57401806272526/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952716.6426713-16710-57401806272526/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "ec4f5c91855d526e10963c7678121d42168d319b", "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-1660952717.9058297-16728-128584815431862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952717.9058297-16728-128584815431862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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-1660952721.064821-16759-153854691950458/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952721.064821-16759-153854691950458/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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-1660952721.721747-16759-9026128163530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952721.721747-16759-9026128163530/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "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": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "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-1660952723.073806-16787-219188430546529/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2a6a79608f970aaed1264d6f2d253cc1", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2053, "src": "/root/.ansible/tmp/ansible-tmp-1660952723.073806-16787-219188430546529/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d with no_log] *** Friday 19 August 2022 23:45:23 +0000 (0:00:00.145) 0:00:56.117 ********* skipping: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** Friday 19 August 2022 23:45:24 +0000 (0:00:00.258) 0:00:56.376 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/set_certs.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:45:24 +0000 (0:00:00.169) 0:00:56.545 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:45:24 +0000 (0:00:00.084) 0:00:56.629 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** Friday 19 August 2022 23:45:24 +0000 (0:00:00.083) 0:00:56.713 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** Friday 19 August 2022 23:45:24 +0000 (0:00:00.083) 0:00:56.796 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** Friday 19 August 2022 23:45:24 +0000 (0:00:00.086) 0:00:56.883 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:24 +0000 (0:00:00.077) 0:00:56.960 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:24 +0000 (0:00:00.118) 0:00:57.078 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:45:25 +0000 (0:00:01.019) 0:00:58.098 ********* ok: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": 78, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": 1098, "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:27 +0000 (0:00:01.229) 0:00:59.328 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-1660952701.3810234-16542-159415617187223/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-1660952708.5371401-16637-44477277638033/source", "unsafe_writes": false, "validate": null } }, "md5sum": "489870bc15792b1adf482737b71d3936", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952708.5371401-16637-44477277638033/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952716.6426713-16710-57401806272526/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952716.6426713-16710-57401806272526/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "ec4f5c91855d526e10963c7678121d42168d319b", "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-1660952717.9058297-16728-128584815431862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952717.9058297-16728-128584815431862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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-1660952721.064821-16759-153854691950458/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952721.064821-16759-153854691950458/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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-1660952721.721747-16759-9026128163530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952721.721747-16759-9026128163530/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "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": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "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-1660952723.073806-16787-219188430546529/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2a6a79608f970aaed1264d6f2d253cc1", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2053, "src": "/root/.ansible/tmp/ansible-tmp-1660952723.073806-16787-219188430546529/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": 78, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": 1098, "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:45:27 +0000 (0:00:00.143) 0:00:59.472 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "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: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', '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}'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d] *** Friday 19 August 2022 23:45:27 +0000 (0:00:00.094) 0:00:59.566 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d (no_log)] *** Friday 19 August 2022 23:45:27 +0000 (0:00:00.121) 0:00:59.688 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy_nolog.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:27 +0000 (0:00:00.138) 0:00:59.826 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d with no_log] *** Friday 19 August 2022 23:45:27 +0000 (0:00:00.066) 0:00:59.893 ********* changed: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:45:28 +0000 (0:00:00.822) 0:01:00.716 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952675.337138-16224-231604379247694/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952675.337138-16224-231604379247694/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952676.0235207-16224-160717617341605/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952676.0235207-16224-160717617341605/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952678.0406303-16326-172462715094808/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952678.0406303-16326-172462715094808/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952682.0325568-16381-20896233765094/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.0325568-16381-20896233765094/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952682.6718163-16381-199574679908355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952682.6718163-16381-199574679908355/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-1660952683.3071985-16381-212346144332650/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-1660952683.3071985-16381-212346144332650/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-1660952683.9332128-16381-129828400904274/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-1660952683.9332128-16381-129828400904274/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-1660952684.5678077-16381-165035107898927/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-1660952684.5678077-16381-165035107898927/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "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": "e52f852d9bf8a92740c5523da51b5212568146ac", "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-1660952685.8341675-16431-142387985141232/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952685.8341675-16431-142387985141232/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "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-1660952701.3810234-16542-159415617187223/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6af260f28bc3cfe7b3707558d4628848", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952701.3810234-16542-159415617187223/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.13.80';\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": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "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-1660952708.5371401-16637-44477277638033/source", "unsafe_writes": false, "validate": null } }, "md5sum": "489870bc15792b1adf482737b71d3936", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952708.5371401-16637-44477277638033/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952716.6426713-16710-57401806272526/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952716.6426713-16710-57401806272526/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "ec4f5c91855d526e10963c7678121d42168d319b", "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-1660952717.9058297-16728-128584815431862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952717.9058297-16728-128584815431862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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-1660952721.064821-16759-153854691950458/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952721.064821-16759-153854691950458/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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-1660952721.721747-16759-9026128163530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952721.721747-16759-9026128163530/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "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": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "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-1660952723.073806-16787-219188430546529/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2a6a79608f970aaed1264d6f2d253cc1", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2053, "src": "/root/.ansible/tmp/ansible-tmp-1660952723.073806-16787-219188430546529/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": 78, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": 1098, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "a92a6402df8bd1e0e06ca25e5f348c4d7ae9e163", "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": "a92a6402df8bd1e0e06ca25e5f348c4d7ae9e163", "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-1660952727.86181-16845-92486023879625/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e66af8f8d5aa44607016c90fd4bf138b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2013, "src": "/root/.ansible/tmp/ansible-tmp-1660952727.86181-16845-92486023879625/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d with no_log] *** Friday 19 August 2022 23:45:28 +0000 (0:00:00.151) 0:01:00.867 ********* skipping: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** Friday 19 August 2022 23:45:28 +0000 (0:00:00.199) 0:01:01.067 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** Friday 19 August 2022 23:45:28 +0000 (0:00:00.064) 0:01:01.132 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** Friday 19 August 2022 23:45:28 +0000 (0:00:00.079) 0:01:01.212 ********* TASK [Manage firewall for specified ports] ************************************* Friday 19 August 2022 23:45:29 +0000 (0:00:00.057) 0:01:01.269 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Prepare _logging_selinux_ports to drop ports defined in the selinux policy] *** Friday 19 August 2022 23:45:29 +0000 (0:00:00.065) 0:01:01.335 ********* ok: [sut] => { "ansible_facts": { "_logging_selinux_ports": [] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Drop ports defined in the selinux policy] *** Friday 19 August 2022 23:45:29 +0000 (0:00:00.065) 0:01:01.400 ********* TASK [Manage selinux for specified ports] ************************************** Friday 19 August 2022 23:45:29 +0000 (0:00:00.057) 0:01:01.458 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** Friday 19 August 2022 23:45:29 +0000 (0:00:00.063) 0:01:01.521 ********* skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** Friday 19 August 2022 23:45:29 +0000 (0:00:00.100) 0:01:01.622 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** Friday 19 August 2022 23:45:29 +0000 (0:00:00.076) 0:01:01.699 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** Friday 19 August 2022 23:45:29 +0000 (0:00:00.078) 0:01:01.777 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** Friday 19 August 2022 23:45:29 +0000 (0:00:00.074) 0:01:01.851 ********* ok: [sut] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:37:54 UTC", "ActiveEnterTimestampMonotonic": "7607429", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:37:54 UTC", "AssertTimestampMonotonic": "7501563", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "165212000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:37:54 UTC", "ConditionTimestampMonotonic": "7501559", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "\"man:rsyslogd(8)\" https://www.rsyslog.com/doc/", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "572", "ExecMainStartTimestamp": "Fri 2022-08-19 23:37:54 UTC", "ExecMainStartTimestampMonotonic": "7503618", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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 }", "ExecStartEx": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-08-19 23:37:54 UTC", "InactiveExitTimestampMonotonic": "7503688", "InvocationID": "c2d26a53a6e446b4bce43e66111f4586", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "13959", "LimitNPROCSoft": "13959", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13959", "LimitSIGPENDINGSoft": "13959", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "572", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3112960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:37:54 UTC", "StateChangeTimestampMonotonic": "7607429", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22334", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** Friday 19 August 2022 23:45:30 +0000 (0:00:00.745) 0:01:02.597 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** Friday 19 August 2022 23:45:30 +0000 (0:00:00.064) 0:01:02.662 ********* skipping: [sut] => {} RUNNING HANDLER [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** Friday 19 August 2022 23:45:30 +0000 (0:00:00.022) 0:01:02.684 ********* changed: [sut] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:37:54 UTC", "ActiveEnterTimestampMonotonic": "7607429", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:37:54 UTC", "AssertTimestampMonotonic": "7501563", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "165454000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:37:54 UTC", "ConditionTimestampMonotonic": "7501559", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "\"man:rsyslogd(8)\" https://www.rsyslog.com/doc/", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "572", "ExecMainStartTimestamp": "Fri 2022-08-19 23:37:54 UTC", "ExecMainStartTimestampMonotonic": "7503618", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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 }", "ExecStartEx": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-08-19 23:37:54 UTC", "InactiveExitTimestampMonotonic": "7503688", "InvocationID": "c2d26a53a6e446b4bce43e66111f4586", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "13959", "LimitNPROCSoft": "13959", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13959", "LimitSIGPENDINGSoft": "13959", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "572", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3112960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:37:54 UTC", "StateChangeTimestampMonotonic": "7607429", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22334", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Ensure config file size and counts] ************************************** Friday 19 August 2022 23:45:31 +0000 (0:00:00.802) 0:01:03.487 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/tasks/check_daemon_config_files.yml for sut TASK [Get info of /etc/rsyslog.conf] ******************************************* Friday 19 August 2022 23:45:31 +0000 (0:00:00.107) 0:01:03.594 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1660952731.1569753, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1660952675.0034814, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 310378881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952674.6284847, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "1126159178", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get file counts in /etc/rsyslog.d] *************************************** Friday 19 August 2022 23:45:31 +0000 (0:00:00.273) 0:01:03.868 ********* ok: [sut] => { "changed": false, "examined": 18, "files": [ { "atime": 1660952274.857, "ctime": 1660761849.2116194, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16810791, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1656010652.0, "nlink": 1, "path": "/etc/rsyslog.d/21-cloudinit.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 255, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952731.1579752, "ctime": 1660952675.8804734, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 335544705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952675.6484754, "nlink": 1, "path": "/etc/rsyslog.d/00-global.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952731.1579752, "ctime": 1660952676.559467, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 360710274, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952676.3294692, "nlink": 1, "path": "/etc/rsyslog.d/05-common-defaults.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 73, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952731.1569753, "ctime": 1660952678.561449, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 385876353, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952678.332451, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952698.0752733, "ctime": 1660952682.554413, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 444596801, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952682.3284152, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 23, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952698.6442683, "ctime": 1660952683.1964073, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 469762561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952682.9654095, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 356, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952699.224263, "ctime": 1660952683.8194017, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 494928002, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952683.5964038, "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": 1660952699.8082578, "ctime": 1660952684.453396, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 520094209, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952684.225398, "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": 1660952700.3872526, "ctime": 1660952685.0813904, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 545260033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952684.8533924, "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": 1660952731.1569753, "ctime": 1660952686.356379, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 570425475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952686.128381, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 780, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952731.1569753, "ctime": 1660952701.9242387, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 771752147, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952701.6842408, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952731.1569753, "ctime": 1660952709.0571744, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 41943633, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952708.8311765, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1259, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952731.1579752, "ctime": 1660952717.1661015, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 226492954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952716.9371035, "nlink": 1, "path": "/etc/rsyslog.d/10-output-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 128, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952731.1579752, "ctime": 1660952718.43209, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 251658773, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952718.198092, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952726.19402, "ctime": 1660952721.6040614, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 285213201, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952721.3730636, "nlink": 1, "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 78, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952726.771015, "ctime": 1660952722.2460556, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 310378898, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952722.0140576, "nlink": 1, "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1098, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952731.1579752, "ctime": 1660952723.6010435, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 335544722, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1660952723.3710454, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2053, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952731.1569753, "ctime": 1660952728.3790004, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 419431057, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1660952728.1520023, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2013, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 18 } TASK [Check rsyslog.conf size (less)] ****************************************** Friday 19 August 2022 23:45:32 +0000 (0:00:00.449) 0:01:04.317 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** Friday 19 August 2022 23:45:32 +0000 (0:00:00.069) 0:01:04.387 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** Friday 19 August 2022 23:45:32 +0000 (0:00:00.061) 0:01:04.449 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** Friday 19 August 2022 23:45:32 +0000 (0:00:00.071) 0:01:04.520 ********* ok: [sut] => (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": 1660952731.1569753, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1660952686.356379, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 570425475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952686.128381, "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": 780, "uid": 0, "version": "3165063261", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1660952731.1569753, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "ctime": 1660952701.9242387, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 771752147, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952701.6842408, "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": 1283, "uid": 0, "version": "1491870705", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1660952731.1569753, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "ctime": 1660952709.0571744, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 41943633, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952708.8311765, "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": 1259, "uid": 0, "version": "1165091692", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** Friday 19 August 2022 23:45:33 +0000 (0:00:00.749) 0:01:05.269 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check /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] *** Friday 19 August 2022 23:45:33 +0000 (0:00:00.064) 0:01:05.334 ********* ok: [sut] => (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": 1660952731.1569753, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1660952686.356379, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 570425475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952686.128381, "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": 780, "uid": 0, "version": "3165063261", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1660952731.1569753, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "17ce0fb0b230388a96873b21143f7c465cbbbd93", "ctime": 1660952701.9242387, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 771752147, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952701.6842408, "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": 1283, "uid": 0, "version": "1491870705", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1660952731.1569753, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4023f9bc02401b0e9ea1d2d7d7da59f3aad0444d", "ctime": 1660952709.0571744, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 41943633, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952708.8311765, "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": 1259, "uid": 0, "version": "1165091692", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check "/etc/rsyslog.d/90-input-ovirt-ovirt_bogus_input.conf does not exist"] *** Friday 19 August 2022 23:45:33 +0000 (0:00:00.741) 0:01:06.075 ********* ok: [sut] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ Friday 19 August 2022 23:45:34 +0000 (0:00:00.271) 0:01:06.346 ********* ok: [sut] => { "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.003538", "end": "2022-08-19 23:45:34.318619", "rc": 0, "start": "2022-08-19 23:45:34.315081" } STDOUT: input(name="ovirt_collectd_input" type="imtcp" port="44514") TASK [Check index_prefix is project.ovirt-metrics in /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf] *** Friday 19 August 2022 23:45:34 +0000 (0:00:00.272) 0:01:06.619 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-metrics\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf" ], "delta": "0:00:01.005044", "end": "2022-08-19 23:45:35.595040", "rc": 0, "start": "2022-08-19 23:45:34.589996" } STDOUT: set $.index_prefix = "project.ovirt-metrics" & "-" & "engine" & "." & "" & "."; TASK [Check input file is /var/log/ovirt-engine/engine.log in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** Friday 19 August 2022 23:45:35 +0000 (0:00:01.280) 0:01:07.900 ********* ok: [sut] => { "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.003612", "end": "2022-08-19 23:45:35.871843", "rc": 0, "start": "2022-08-19 23:45:35.868231" } STDOUT: input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input" TASK [Check index_prefix is project.ovirt-logs in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** Friday 19 August 2022 23:45:35 +0000 (0:00:00.271) 0:01:08.171 ********* ok: [sut] => { "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.003960", "end": "2022-08-19 23:45:36.143035", "rc": 0, "start": "2022-08-19 23:45:36.139075" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & "."; TASK [Check input file is /var/log/vdsm/vdsm.log in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** Friday 19 August 2022 23:45:36 +0000 (0:00:00.271) 0:01:08.442 ********* ok: [sut] => { "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.003583", "end": "2022-08-19 23:45:36.411873", "rc": 0, "start": "2022-08-19 23:45:36.408290" } STDOUT: input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input" TASK [Check index_prefix is project.ovirt-logs in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** Friday 19 August 2022 23:45:36 +0000 (0:00:00.269) 0:01:08.712 ********* ok: [sut] => { "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.003843", "end": "2022-08-19 23:45:36.684256", "rc": 0, "start": "2022-08-19 23:45:36.680413" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & "."; TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** Friday 19 August 2022 23:45:36 +0000 (0:00:00.274) 0:01:08.986 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003472", "end": "2022-08-19 23:45:36.955968", "rc": 0, "start": "2022-08-19 23:45:36.952496" } STDOUT: server="logging-es" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** Friday 19 August 2022 23:45:37 +0000 (0:00:00.269) 0:01:09.256 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es-ops\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003508", "end": "2022-08-19 23:45:37.225226", "rc": 0, "start": "2022-08-19 23:45:37.221718" } STDOUT: server="logging-es-ops" TASK [Check password is in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** Friday 19 August 2022 23:45:37 +0000 (0:00:00.268) 0:01:09.524 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "pwd=\"password0\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003490", "end": "2022-08-19 23:45:37.492365", "rc": 0, "start": "2022-08-19 23:45:37.488875" } STDOUT: pwd="password0" TASK [Check pwd= is not in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** Friday 19 August 2022 23:45:37 +0000 (0:00:00.267) 0:01:09.792 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "pwd=", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003541", "end": "2022-08-19 23:45:37.764176", "failed_when_result": false, "rc": 1, "start": "2022-08-19 23:45:37.760635" } MSG: non-zero return code TASK [END TEST CASE 0; Ensure basic ovirt configuration works] ***************** Friday 19 August 2022 23:45:37 +0000 (0:00:00.318) 0:01:10.110 ********* TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** Friday 19 August 2022 23:45:38 +0000 (0:00:00.139) 0:01:10.250 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ Friday 19 August 2022 23:45:38 +0000 (0:00:00.074) 0:01:10.325 ********* ok: [sut] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* Friday 19 August 2022 23:45:38 +0000 (0:00:00.073) 0:01:10.398 ********* ok: [sut] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** Friday 19 August 2022 23:45:38 +0000 (0:00:00.075) 0:01:10.474 ********* TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** Friday 19 August 2022 23:45:38 +0000 (0:00:00.060) 0:01:10.535 ********* TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** Friday 19 August 2022 23:45:38 +0000 (0:00:00.061) 0:01:10.596 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* Friday 19 August 2022 23:45:38 +0000 (0:00:00.068) 0:01:10.664 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** Friday 19 August 2022 23:45:38 +0000 (0:00:00.068) 0:01:10.733 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** Friday 19 August 2022 23:45:38 +0000 (0:00:00.069) 0:01:10.802 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Use a debug var to avoid an empty dict in with_dict] *** Friday 19 August 2022 23:45:38 +0000 (0:00:00.079) 0:01:10.881 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** Friday 19 August 2022 23:45:38 +0000 (0:00:00.067) 0:01:10.949 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** Friday 19 August 2022 23:45:38 +0000 (0:00:00.072) 0:01:11.022 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:45:38 +0000 (0:00:00.108) 0:01:11.130 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:45:38 +0000 (0:00:00.097) 0:01:11.228 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:45:39 +0000 (0:00:00.440) 0:01:11.669 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml] *** Friday 19 August 2022 23:45:39 +0000 (0:00:00.183) 0:01:11.852 ********* skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** Friday 19 August 2022 23:45:39 +0000 (0:00:00.141) 0:01:11.993 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/main_core.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** Friday 19 August 2022 23:45:39 +0000 (0:00:00.133) 0:01:12.127 ********* ok: [sut] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.204996", "end": "2022-08-19 23:45:40.323564", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-08-19 23:45:40.118568" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** Friday 19 August 2022 23:45:40 +0000 (0:00:00.498) 0:01:12.626 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-8.2102.0-105.el9.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-105.el9.x86_64", "Removed: rsyslog-logrotate-8.2102.0-105.el9.x86_64", "Removed: rsyslog-mmjsonparse-8.2102.0-105.el9.x86_64", "Removed: rsyslog-mmnormalize-8.2102.0-105.el9.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:42 +0000 (0:00:02.314) 0:01:14.940 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-logrotate-8.2102.0-105.el9.x86_64", "Installed: rsyslog-8.2102.0-105.el9.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** Friday 19 August 2022 23:45:44 +0000 (0:00:02.255) 0:01:17.196 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** Friday 19 August 2022 23:45:45 +0000 (0:00:00.059) 0:01:17.255 ********* ok: [sut] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "3.el9", "source": "rpm", "version": "2.3.1" } ], "adobe-source-code-pro-fonts": [ { "arch": "noarch", "epoch": null, "name": "adobe-source-code-pro-fonts", "release": "12.el9.1", "source": "rpm", "version": "2.030.1.050" } ], "alternatives": [ { "arch": "x86_64", "epoch": null, "name": "alternatives", "release": "2.el9", "source": "rpm", "version": "1.20" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "13.el9", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "4.el9", "source": "rpm", "version": "5.1.8" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "14.el9", "source": "rpm", "version": "1.07.1" } ], "beakerlib": [ { "arch": "noarch", "epoch": null, "name": "beakerlib", "release": "1.el9", "source": "rpm", "version": "1.29.1" } ], "beakerlib-redhat": [ { "arch": "noarch", "epoch": null, "name": "beakerlib-redhat", "release": "33.el9", "source": "rpm", "version": "1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "8.el9", "source": "rpm", "version": "1.0.8" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "5.el9", "source": "rpm", "version": "1.17.1" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "90.2.el9_0", "source": "rpm", "version": "2022.2.54" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el9", "source": "rpm", "version": "3.4" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "2.el9", "source": "rpm", "version": "1.20" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el9", "source": "rpm", "version": "4.2" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "4.el9", "source": "rpm", "version": "22.1" } ], "cloud-utils-growpart": [ { "arch": "x86_64", "epoch": null, "name": "cloud-utils-growpart", "release": "10.el9", "source": "rpm", "version": "0.31" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "32.el9", "source": "rpm", "version": "8.32" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "32.el9", "source": "rpm", "version": "8.32" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "16.el9", "source": "rpm", "version": "2.13" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "27.el9", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "27.el9", "source": "rpm", "version": "2.9.6" } ], "createrepo_c": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c", "release": "4.el9_0", "source": "rpm", "version": "0.17.7" } ], "createrepo_c-libs": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c-libs", "release": "4.el9_0", "source": "rpm", "version": "0.17.7" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "8.el9", "source": "rpm", "version": "1.5.7" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "8.el9", "source": "rpm", "version": "1.5.7" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "27.20190603git.el9_0", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.git0fbe86f.el9", "source": "rpm", "version": "20220815" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.git0fbe86f.el9", "source": "rpm", "version": "20220815" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "5.el9", "source": "rpm", "version": "2.4.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "19.el9", "source": "rpm", "version": "7.76.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "20.el9", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-broker": [ { "arch": "x86_64", "epoch": null, "name": "dbus-broker", "release": "6.el9", "source": "rpm", "version": "28" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dejavu-sans-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-fonts", "release": "18.el9", "source": "rpm", "version": "2.37" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 9, "name": "device-mapper", "release": "3.el9", "source": "rpm", "version": "1.02.185" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 9, "name": "device-mapper-libs", "release": "3.el9", "source": "rpm", "version": "1.02.185" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "17.b1.el9", "source": "rpm", "version": "4.4.2" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "17.b1.el9", "source": "rpm", "version": "4.4.2" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "12.el9", "source": "rpm", "version": "3.7" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "7.el9", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "2.el9_0", "source": "rpm", "version": "6" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "12.el9", "source": "rpm", "version": "16" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "2.el9", "source": "rpm", "version": "38" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "emacs-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "emacs-filesystem", "release": "6.el9", "source": "rpm", "version": "27.2" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el9", "source": "rpm", "version": "5.16" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "1.el9", "source": "rpm", "version": "2.4.7" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "8.el9", "source": "rpm", "version": "5.39" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "8.el9", "source": "rpm", "version": "5.39" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "2.el9", "source": "rpm", "version": "3.16" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "5.el9", "source": "rpm", "version": "4.8.0" } ], "firewalld": [ { "arch": "noarch", "epoch": null, "name": "firewalld", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "firewalld-filesystem": [ { "arch": "noarch", "epoch": null, "name": "firewalld-filesystem", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "fonts-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "fonts-filesystem", "release": "7.el9.1", "source": "rpm", "version": "2.0.5" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el9", "source": "rpm", "version": "2.9.9" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "6.el9", "source": "rpm", "version": "5.1.0" } ], "gawk-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "gawk-all-langpacks", "release": "6.el9", "source": "rpm", "version": "5.1.0" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "4.el9", "source": "rpm", "version": "1.19" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "5.el9", "source": "rpm", "version": "1.0.7" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "6.el9", "source": "rpm", "version": "20191217" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "6.el9", "source": "rpm", "version": "20191217" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "7.el9", "source": "rpm", "version": "0.21" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "7.el9", "source": "rpm", "version": "0.21" } ], "git": [ { "arch": "x86_64", "epoch": null, "name": "git", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "git-core": [ { "arch": "x86_64", "epoch": null, "name": "git-core", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "git-core-doc": [ { "arch": "noarch", "epoch": null, "name": "git-core-doc", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "5.el9", "source": "rpm", "version": "2.68.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-langpack-en": [ { "arch": "x86_64", "epoch": null, "name": "glibc-langpack-en", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el9", "source": "rpm", "version": "6.2.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el9_0", "source": "rpm", "version": "2.3.3" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "5.el9_0", "source": "rpm", "version": "3.7.6" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "10.el9", "source": "rpm", "version": "1.68.0" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "613798eb", "source": "rpm", "version": "3228467c" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "6.el9", "source": "rpm", "version": "1.15.1" } ], "gpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "gpm-libs", "release": "29.el9", "source": "rpm", "version": "1.20.7" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "5.el9", "source": "rpm", "version": "3.6" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "10.el9", "source": "rpm", "version": "1.22.4" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "60.el9", "source": "rpm", "version": "8.40" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "4.el9", "source": "rpm", "version": "0.8.4" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "1.el9", "source": "rpm", "version": "1.12" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el9", "source": "rpm", "version": "3.23" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "9.4.el9", "source": "rpm", "version": "0.348" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "4.el9", "source": "rpm", "version": "1.4" } ], "inih": [ { "arch": "x86_64", "epoch": null, "name": "inih", "release": "6.el9", "source": "rpm", "version": "49" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "initscripts-rename-device": [ { "arch": "x86_64", "epoch": null, "name": "initscripts-rename-device", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "initscripts-service": [ { "arch": "noarch", "epoch": null, "name": "initscripts-service", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "5.el9", "source": "rpm", "version": "1.0.0" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "1.el9", "source": "rpm", "version": "5.18.0" } ], "iproute-tc": [ { "arch": "x86_64", "epoch": null, "name": "iproute-tc", "release": "1.el9", "source": "rpm", "version": "5.18.0" } ], "ipset": [ { "arch": "x86_64", "epoch": null, "name": "ipset", "release": "6.el9", "source": "rpm", "version": "7.11" } ], "ipset-libs": [ { "arch": "x86_64", "epoch": null, "name": "ipset-libs", "release": "6.el9", "source": "rpm", "version": "7.11" } ], "iptables-libs": [ { "arch": "x86_64", "epoch": null, "name": "iptables-libs", "release": "4.el9", "source": "rpm", "version": "1.8.8" } ], "iptables-nft": [ { "arch": "x86_64", "epoch": null, "name": "iptables-nft", "release": "4.el9", "source": "rpm", "version": "1.8.8" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "7.el9", "source": "rpm", "version": "20210202" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "3.el9", "source": "rpm", "version": "1.9.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el9", "source": "rpm", "version": "2.14" } ], "jitterentropy": [ { "arch": "x86_64", "epoch": null, "name": "jitterentropy", "release": "1.el9", "source": "rpm", "version": "3.4.0" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "11.el9", "source": "rpm", "version": "0.14" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el9", "source": "rpm", "version": "1.6.6" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "8.el9", "source": "rpm", "version": "2.4.0" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "8.el9", "source": "rpm", "version": "2.4.0" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "5.el9", "source": "rpm", "version": "2.0.24" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "4.el9", "source": "rpm", "version": "1.6.1" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "4.el9", "source": "rpm", "version": "1.6.1" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "7.el9", "source": "rpm", "version": "28" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "7.el9", "source": "rpm", "version": "28" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "10.el9", "source": "rpm", "version": "0.8.7" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "22.el9", "source": "rpm", "version": "1.19.1" } ], "langpacks-core-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-core-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "langpacks-core-font-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-core-font-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "langpacks-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el9_0", "source": "rpm", "version": "590" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "3.el9", "source": "rpm", "version": "2.3.1" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el9", "source": "rpm", "version": "3.5.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el9", "source": "rpm", "version": "2.5.5" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el9", "source": "rpm", "version": "2.5.1" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "53.el9", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libbpf": [ { "arch": "x86_64", "epoch": 2, "name": "libbpf", "release": "1.el9", "source": "rpm", "version": "0.6.0" } ], "libbrotli": [ { "arch": "x86_64", "epoch": null, "name": "libbrotli", "release": "6.el9", "source": "rpm", "version": "1.0.9" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "8.el9", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "7.el9", "source": "rpm", "version": "0.8.2" } ], "libcap-ng-python3": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng-python3", "release": "7.el9", "source": "rpm", "version": "0.8.2" } ], "libcbor": [ { "arch": "x86_64", "epoch": null, "name": "libcbor", "release": "5.el9", "source": "rpm", "version": "0.7.0" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "53.el9", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el9", "source": "rpm", "version": "0.1.18" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "19.el9", "source": "rpm", "version": "7.76.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "23.el9", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "53.el9", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "53.el9", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "libdnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "libdnf-plugin-subscription-manager", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "libeconf": [ { "arch": "x86_64", "epoch": null, "name": "libeconf", "release": "2.el9", "source": "rpm", "version": "0.4.1" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "37.20210216cvs.el9", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "4.el9", "source": "rpm", "version": "0.1.11" } ], "libev": [ { "arch": "x86_64", "epoch": null, "name": "libev", "release": "5.el9", "source": "rpm", "version": "4.33" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "6.el9", "source": "rpm", "version": "2.1.12" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el9", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "7.el9", "source": "rpm", "version": "3.4.2" } ], "libfido2": [ { "arch": "x86_64", "epoch": null, "name": "libfido2", "release": "7.el9", "source": "rpm", "version": "1.6.0" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "4.el9_0", "source": "rpm", "version": "1.10.0" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "5.el9", "source": "rpm", "version": "1.42" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "3.el9", "source": "rpm", "version": "41.0" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "7.el9", "source": "rpm", "version": "2.3.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "53.el9", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "3.el9", "source": "rpm", "version": "1.3.1" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "3.el9", "source": "rpm", "version": "1.3.1" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "4.el9", "source": "rpm", "version": "1.5.1" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el9", "source": "rpm", "version": "2.5.2" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "4.el9", "source": "rpm", "version": "2.0.6" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "3.el9", "source": "rpm", "version": "1.5.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "15.el9", "source": "rpm", "version": "1.0.4" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "2.el9", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "4.el9", "source": "rpm", "version": "1.8" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "4.el9", "source": "rpm", "version": "1.0.8" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "21.el9", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "11.el9", "source": "rpm", "version": "2.5.4" } ], "libnftnl": [ { "arch": "x86_64", "epoch": null, "name": "libnftnl", "release": "1.el9", "source": "rpm", "version": "1.2.2" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "5.el9", "source": "rpm", "version": "1.43.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el9", "source": "rpm", "version": "3.7.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el9", "source": "rpm", "version": "3.7.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "53.el9", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "4.el9", "source": "rpm", "version": "1.10.0" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "4.el9", "source": "rpm", "version": "1.5.3" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "5.el9", "source": "rpm", "version": "0.21.1" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "8.el9", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "53.el9", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "3.el9", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "noarch", "epoch": null, "name": "libreport-filesystem", "release": "6.el9", "source": "rpm", "version": "2.15.2" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "7.el9", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "2.el9", "source": "rpm", "version": "2.5.2" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "2.el9", "source": "rpm", "version": "3.4" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "1.1.el9", "source": "rpm", "version": "3.4" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "4.el9", "source": "rpm", "version": "2.13" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el9", "source": "rpm", "version": "0.7.22" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el9", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el9", "source": "rpm", "version": "0.9.6" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "10.el9", "source": "rpm", "version": "2.1.1" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el9", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "7.el9", "source": "rpm", "version": "4.16.0" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el9", "source": "rpm", "version": "1.4.6" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "14.el9", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el9", "source": "rpm", "version": "0.12.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.el9", "source": "rpm", "version": "1.3.3" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "15.el9", "source": "rpm", "version": "0.9.10" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "11.el9", "source": "rpm", "version": "0.63" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "6.el9", "source": "rpm", "version": "1.2.1" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "3.el9", "source": "rpm", "version": "0.3.2" } ], "libverto-libev": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libev", "release": "3.el9", "source": "rpm", "version": "0.3.2" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "3.el9", "source": "rpm", "version": "4.4.18" } ], "libxcrypt-compat": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt-compat", "release": "3.el9", "source": "rpm", "version": "4.4.18" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "2.el9", "source": "rpm", "version": "2.9.13" } ], "libxslt": [ { "arch": "x86_64", "epoch": null, "name": "libxslt", "release": "9.el9", "source": "rpm", "version": "1.1.34" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "7.el9", "source": "rpm", "version": "0.2.5" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "2.el9", "source": "rpm", "version": "1.5.1" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "127.el9", "source": "rpm", "version": "20220708" } ], "linux-firmware-whence": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware-whence", "release": "127.el9", "source": "rpm", "version": "20220708" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "3.el9", "source": "rpm", "version": "0.9.29" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "7.el9", "source": "rpm", "version": "3.18.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "9.el9", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "6.el9", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "4.el9", "source": "rpm", "version": "5.4.2" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "5.el9", "source": "rpm", "version": "1.9.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "7.el9", "source": "rpm", "version": "2.10" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "7.el9", "source": "rpm", "version": "4.3" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "6.el9", "source": "rpm", "version": "2.9.3" } ], "microcode_ctl": [ { "arch": "noarch", "epoch": 4, "name": "microcode_ctl", "release": "1.el9", "source": "rpm", "version": "20220510" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "7.el9", "source": "rpm", "version": "4.1.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "1.el9_0", "source": "rpm", "version": "3.8" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el9", "source": "rpm", "version": "0.52.21" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "11.el9", "source": "rpm", "version": "2.5.4" } ], "nftables": [ { "arch": "x86_64", "epoch": 1, "name": "nftables", "release": "2.el9", "source": "rpm", "version": "1.0.4" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "8.el9", "source": "rpm", "version": "1.6" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "8.el9", "source": "rpm", "version": "2.0.14" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "5.el9", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "5.el9", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "3.el9", "source": "rpm", "version": "2.6.2" } ], "openldap-compat": [ { "arch": "x86_64", "epoch": null, "name": "openldap-compat", "release": "3.el9", "source": "rpm", "version": "2.6.2" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "41.el9_0", "source": "rpm", "version": "3.0.1" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "41.el9_0", "source": "rpm", "version": "3.0.1" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "7.el9", "source": "rpm", "version": "0.4.11" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el9", "source": "rpm", "version": "1.77" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "2.el9", "source": "rpm", "version": "0.24.1" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "2.el9", "source": "rpm", "version": "0.24.1" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "12.el9", "source": "rpm", "version": "1.5.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "2.el9", "source": "rpm", "version": "3.5" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "12.el9", "source": "rpm", "version": "0.80" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "5.el9", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "3.el9.3", "source": "rpm", "version": "8.44" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el9", "source": "rpm", "version": "10.40" } ], "pcre2-syntax": [ { "arch": "noarch", "epoch": null, "name": "pcre2-syntax", "release": "2.el9", "source": "rpm", "version": "10.40" } ], "perl-AutoLoader": [ { "arch": "noarch", "epoch": 0, "name": "perl-AutoLoader", "release": "479.el9", "source": "rpm", "version": "5.74" } ], "perl-B": [ { "arch": "x86_64", "epoch": 0, "name": "perl-B", "release": "479.el9", "source": "rpm", "version": "1.80" } ], "perl-Carp": [ { "arch": "noarch", "epoch": null, "name": "perl-Carp", "release": "460.el9", "source": "rpm", "version": "1.50" } ], "perl-Class-Struct": [ { "arch": "noarch", "epoch": 0, "name": "perl-Class-Struct", "release": "479.el9", "source": "rpm", "version": "0.66" } ], "perl-Data-Dumper": [ { "arch": "x86_64", "epoch": null, "name": "perl-Data-Dumper", "release": "462.el9", "source": "rpm", "version": "2.174" } ], "perl-Digest": [ { "arch": "noarch", "epoch": null, "name": "perl-Digest", "release": "4.el9", "source": "rpm", "version": "1.19" } ], "perl-Digest-MD5": [ { "arch": "x86_64", "epoch": null, "name": "perl-Digest-MD5", "release": "4.el9", "source": "rpm", "version": "2.58" } ], "perl-DynaLoader": [ { "arch": "x86_64", "epoch": 0, "name": "perl-DynaLoader", "release": "479.el9", "source": "rpm", "version": "1.47" } ], "perl-Encode": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Encode", "release": "462.el9", "source": "rpm", "version": "3.08" } ], "perl-Errno": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Errno", "release": "479.el9", "source": "rpm", "version": "1.30" } ], "perl-Error": [ { "arch": "noarch", "epoch": 1, "name": "perl-Error", "release": "7.el9", "source": "rpm", "version": "0.17029" } ], "perl-Exporter": [ { "arch": "noarch", "epoch": null, "name": "perl-Exporter", "release": "461.el9", "source": "rpm", "version": "5.74" } ], "perl-Fcntl": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Fcntl", "release": "479.el9", "source": "rpm", "version": "1.13" } ], "perl-File-Basename": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-Basename", "release": "479.el9", "source": "rpm", "version": "2.85" } ], "perl-File-Find": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-Find", "release": "479.el9", "source": "rpm", "version": "1.37" } ], "perl-File-Path": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Path", "release": "4.el9", "source": "rpm", "version": "2.18" } ], "perl-File-Temp": [ { "arch": "noarch", "epoch": 1, "name": "perl-File-Temp", "release": "4.el9", "source": "rpm", "version": "0.231.100" } ], "perl-File-stat": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-stat", "release": "479.el9", "source": "rpm", "version": "1.09" } ], "perl-FileHandle": [ { "arch": "noarch", "epoch": 0, "name": "perl-FileHandle", "release": "479.el9", "source": "rpm", "version": "2.03" } ], "perl-Getopt-Long": [ { "arch": "noarch", "epoch": 1, "name": "perl-Getopt-Long", "release": "4.el9", "source": "rpm", "version": "2.52" } ], "perl-Getopt-Std": [ { "arch": "noarch", "epoch": 0, "name": "perl-Getopt-Std", "release": "479.el9", "source": "rpm", "version": "1.12" } ], "perl-Git": [ { "arch": "noarch", "epoch": null, "name": "perl-Git", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "perl-HTTP-Tiny": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Tiny", "release": "460.el9", "source": "rpm", "version": "0.076" } ], "perl-IO": [ { "arch": "x86_64", "epoch": 0, "name": "perl-IO", "release": "479.el9", "source": "rpm", "version": "1.43" } ], "perl-IO-Socket-IP": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-IP", "release": "5.el9", "source": "rpm", "version": "0.41" } ], "perl-IO-Socket-SSL": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-SSL", "release": "1.el9", "source": "rpm", "version": "2.073" } ], "perl-IPC-Open3": [ { "arch": "noarch", "epoch": 0, "name": "perl-IPC-Open3", "release": "479.el9", "source": "rpm", "version": "1.21" } ], "perl-MIME-Base64": [ { "arch": "x86_64", "epoch": null, "name": "perl-MIME-Base64", "release": "4.el9", "source": "rpm", "version": "3.16" } ], "perl-Mozilla-CA": [ { "arch": "noarch", "epoch": null, "name": "perl-Mozilla-CA", "release": "6.el9", "source": "rpm", "version": "20200520" } ], "perl-NDBM_File": [ { "arch": "x86_64", "epoch": 0, "name": "perl-NDBM_File", "release": "479.el9", "source": "rpm", "version": "1.15" } ], "perl-Net-SSLeay": [ { "arch": "x86_64", "epoch": null, "name": "perl-Net-SSLeay", "release": "2.el9", "source": "rpm", "version": "1.92" } ], "perl-POSIX": [ { "arch": "x86_64", "epoch": 0, "name": "perl-POSIX", "release": "479.el9", "source": "rpm", "version": "1.94" } ], "perl-PathTools": [ { "arch": "x86_64", "epoch": null, "name": "perl-PathTools", "release": "461.el9", "source": "rpm", "version": "3.78" } ], "perl-Pod-Escapes": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Escapes", "release": "460.el9", "source": "rpm", "version": "1.07" } ], "perl-Pod-Perldoc": [ { "arch": "noarch", "epoch": null, "name": "perl-Pod-Perldoc", "release": "461.el9", "source": "rpm", "version": "3.28.01" } ], "perl-Pod-Simple": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Simple", "release": "4.el9", "source": "rpm", "version": "3.42" } ], "perl-Pod-Usage": [ { "arch": "noarch", "epoch": 4, "name": "perl-Pod-Usage", "release": "4.el9", "source": "rpm", "version": "2.01" } ], "perl-Scalar-List-Utils": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Scalar-List-Utils", "release": "461.el9", "source": "rpm", "version": "1.56" } ], "perl-SelectSaver": [ { "arch": "noarch", "epoch": 0, "name": "perl-SelectSaver", "release": "479.el9", "source": "rpm", "version": "1.02" } ], "perl-Socket": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Socket", "release": "4.el9", "source": "rpm", "version": "2.031" } ], "perl-Storable": [ { "arch": "x86_64", "epoch": 1, "name": "perl-Storable", "release": "460.el9", "source": "rpm", "version": "3.21" } ], "perl-Symbol": [ { "arch": "noarch", "epoch": 0, "name": "perl-Symbol", "release": "479.el9", "source": "rpm", "version": "1.08" } ], "perl-Term-ANSIColor": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-ANSIColor", "release": "461.el9", "source": "rpm", "version": "5.01" } ], "perl-Term-Cap": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-Cap", "release": "460.el9", "source": "rpm", "version": "1.17" } ], "perl-TermReadKey": [ { "arch": "x86_64", "epoch": null, "name": "perl-TermReadKey", "release": "11.el9", "source": "rpm", "version": "2.38" } ], "perl-Text-ParseWords": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-ParseWords", "release": "460.el9", "source": "rpm", "version": "3.30" } ], "perl-Text-Tabs+Wrap": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-Tabs+Wrap", "release": "460.el9", "source": "rpm", "version": "2013.0523" } ], "perl-Time-Local": [ { "arch": "noarch", "epoch": 2, "name": "perl-Time-Local", "release": "7.el9", "source": "rpm", "version": "1.300" } ], "perl-URI": [ { "arch": "noarch", "epoch": null, "name": "perl-URI", "release": "3.el9", "source": "rpm", "version": "5.09" } ], "perl-base": [ { "arch": "noarch", "epoch": 0, "name": "perl-base", "release": "479.el9", "source": "rpm", "version": "2.27" } ], "perl-constant": [ { "arch": "noarch", "epoch": null, "name": "perl-constant", "release": "461.el9", "source": "rpm", "version": "1.33" } ], "perl-if": [ { "arch": "noarch", "epoch": 0, "name": "perl-if", "release": "479.el9", "source": "rpm", "version": "0.60.800" } ], "perl-interpreter": [ { "arch": "x86_64", "epoch": 4, "name": "perl-interpreter", "release": "479.el9", "source": "rpm", "version": "5.32.1" } ], "perl-lib": [ { "arch": "x86_64", "epoch": 0, "name": "perl-lib", "release": "479.el9", "source": "rpm", "version": "0.65" } ], "perl-libnet": [ { "arch": "noarch", "epoch": null, "name": "perl-libnet", "release": "4.el9", "source": "rpm", "version": "3.13" } ], "perl-libs": [ { "arch": "x86_64", "epoch": 4, "name": "perl-libs", "release": "479.el9", "source": "rpm", "version": "5.32.1" } ], "perl-mro": [ { "arch": "x86_64", "epoch": 0, "name": "perl-mro", "release": "479.el9", "source": "rpm", "version": "1.23" } ], "perl-overload": [ { "arch": "noarch", "epoch": 0, "name": "perl-overload", "release": "479.el9", "source": "rpm", "version": "1.31" } ], "perl-overloading": [ { "arch": "noarch", "epoch": 0, "name": "perl-overloading", "release": "479.el9", "source": "rpm", "version": "0.02" } ], "perl-parent": [ { "arch": "noarch", "epoch": 1, "name": "perl-parent", "release": "460.el9", "source": "rpm", "version": "0.238" } ], "perl-podlators": [ { "arch": "noarch", "epoch": 1, "name": "perl-podlators", "release": "460.el9", "source": "rpm", "version": "4.14" } ], "perl-subs": [ { "arch": "noarch", "epoch": 0, "name": "perl-subs", "release": "479.el9", "source": "rpm", "version": "1.03" } ], "perl-vars": [ { "arch": "noarch", "epoch": 0, "name": "perl-vars", "release": "479.el9", "source": "rpm", "version": "1.05" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el9", "source": "rpm", "version": "2.5" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "8.el9", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "8.el9", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el9", "source": "rpm", "version": "3.3.17" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "3.el9", "source": "rpm", "version": "23.4" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "3.el9", "source": "rpm", "version": "20210518" } ], "python-unversioned-command": [ { "arch": "noarch", "epoch": null, "name": "python-unversioned-command", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3": [ { "arch": "x86_64", "epoch": null, "name": "python3", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "2.el9", "source": "rpm", "version": "2.9.1" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "5.el9", "source": "rpm", "version": "4.0.0" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "25.el9", "source": "rpm", "version": "5.0.6" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el9", "source": "rpm", "version": "2.8.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "2.el9", "source": "rpm", "version": "1.2.18" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "6.el9", "source": "rpm", "version": "4.4.2" } ], "python3-distro": [ { "arch": "noarch", "epoch": null, "name": "python3-distro", "release": "7.el9", "source": "rpm", "version": "1.5.0" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "2.el9", "source": "rpm", "version": "0.15" } ], "python3-firewall": [ { "arch": "noarch", "epoch": null, "name": "python3-firewall", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "6.el9", "source": "rpm", "version": "3.40.1" } ], "python3-gobject-base-noarch": [ { "arch": "noarch", "epoch": null, "name": "python3-gobject-base-noarch", "release": "6.el9", "source": "rpm", "version": "3.40.1" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "6.el9", "source": "rpm", "version": "1.15.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "7.el9", "source": "rpm", "version": "2.10" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "45.el9", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "25.el9", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "4.el9", "source": "rpm", "version": "2.11.3" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "16.el9", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "4.el9", "source": "rpm", "version": "2.0" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el9", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "3.el9", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "2.el9", "source": "rpm", "version": "3.4" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "2.el9", "source": "rpm", "version": "2.9.13" } ], "python3-lxml": [ { "arch": "x86_64", "epoch": null, "name": "python3-lxml", "release": "3.el9", "source": "rpm", "version": "4.6.5" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "12.el9", "source": "rpm", "version": "1.1.1" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "15.el9", "source": "rpm", "version": "0.10.6" } ], "python3-nftables": [ { "arch": "x86_64", "epoch": 1, "name": "python3-nftables", "release": "2.el9", "source": "rpm", "version": "1.0.4" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "2.el9", "source": "rpm", "version": "3.1.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "6.el9", "source": "rpm", "version": "21.2.3" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "27.el9", "source": "rpm", "version": "0.7.2" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "12.el9", "source": "rpm", "version": "3.4" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "12.el9", "source": "rpm", "version": "1.7.1" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "4.el9", "source": "rpm", "version": "2021.1" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "6.el9", "source": "rpm", "version": "5.4.1" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "6.el9", "source": "rpm", "version": "2.25.1" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "5.el9", "source": "rpm", "version": "4.4.0" } ], "python3-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools", "release": "10.el9", "source": "rpm", "version": "53.0.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "10.el9", "source": "rpm", "version": "53.0.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "9.el9", "source": "rpm", "version": "1.15.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "3.el9", "source": "rpm", "version": "1.26.5" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 17, "name": "qemu-guest-agent", "release": "11.el9", "source": "rpm", "version": "7.0.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "6.el9", "source": "rpm", "version": "4.06" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "6.el9", "source": "rpm", "version": "4.06" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "4.el9", "source": "rpm", "version": "8.1" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "1.8.el9", "source": "rpm", "version": "9.1" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "1.8.el9", "source": "rpm", "version": "9.1" } ], "restraint": [ { "arch": "x86_64", "epoch": null, "name": "restraint", "release": "1.el9", "source": "rpm", "version": "0.4.0" } ], "restraint-rhts": [ { "arch": "x86_64", "epoch": null, "name": "restraint-rhts", "release": "1.el9", "source": "rpm", "version": "0.4.0" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "1.el9", "source": "rpm", "version": "6.15" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "31.el9", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "2.el9", "source": "rpm", "version": "1.2.6" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-audit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-audit", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-sign-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-sign-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "16.el9", "source": "rpm", "version": "3.2.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "105.el9", "source": "rpm", "version": "8.2102.0" } ], "rsyslog-logrotate": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog-logrotate", "release": "105.el9", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "9.el9", "source": "rpm", "version": "4.8" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "1.el9", "source": "rpm", "version": "34.1.40" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "1.el9", "source": "rpm", "version": "34.1.40" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "7.el9", "source": "rpm", "version": "2.13.7" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "9.el9", "source": "rpm", "version": "1.47" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "9.el9", "source": "rpm", "version": "1.47" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el9", "source": "rpm", "version": "4.9" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el9", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "8.el9", "source": "rpm", "version": "1.1.8" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "5.el9", "source": "rpm", "version": "3.34.1" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "8.git1.el9", "source": "rpm", "version": "4.4" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "subscription-manager-rhsm-certificates": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "1.el9", "source": "rpm", "version": "20220623" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "7.el9", "source": "rpm", "version": "1.9.5p2" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-rpm-macros": [ { "arch": "noarch", "epoch": null, "name": "systemd-rpm-macros", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "7.el9", "source": "rpm", "version": "250" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el9", "source": "rpm", "version": "1.34" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "14.el9", "source": "rpm", "version": "1.31" } ], "time": [ { "arch": "x86_64", "epoch": null, "name": "time", "release": "18.el9", "source": "rpm", "version": "1.9" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "8.el9", "source": "rpm", "version": "3.0.3" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el9", "source": "rpm", "version": "2022a" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "4.el9", "source": "rpm", "version": "1.114" } ], "userspace-rcu": [ { "arch": "x86_64", "epoch": null, "name": "userspace-rcu", "release": "6.el9", "source": "rpm", "version": "0.12.1" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "util-linux-core": [ { "arch": "x86_64", "epoch": null, "name": "util-linux-core", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "vim-common": [ { "arch": "x86_64", "epoch": 2, "name": "vim-common", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-enhanced": [ { "arch": "x86_64", "epoch": 2, "name": "vim-enhanced", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-filesystem": [ { "arch": "noarch", "epoch": 2, "name": "vim-filesystem", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "2.el9", "source": "rpm", "version": "1.22" } ], "wget": [ { "arch": "x86_64", "epoch": null, "name": "wget", "release": "7.el9", "source": "rpm", "version": "1.21.1" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "28.el9", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "1.el9", "source": "rpm", "version": "5.14.2" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "8.el9_0", "source": "rpm", "version": "5.2.5" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "8.el9_0", "source": "rpm", "version": "5.2.5" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "33.el9", "source": "rpm", "version": "1.2.11" } ], "zstd": [ { "arch": "x86_64", "epoch": null, "name": "zstd", "release": "2.el9", "source": "rpm", "version": "1.5.1" } ] } }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** Friday 19 August 2022 23:45:45 +0000 (0:00:00.842) 0:01:18.098 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** Friday 19 August 2022 23:45:45 +0000 (0:00:00.077) 0:01:18.175 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** Friday 19 August 2022 23:45:45 +0000 (0:00:00.062) 0:01:18.238 ********* ok: [sut] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** Friday 19 August 2022 23:45:46 +0000 (0:00:00.070) 0:01:18.309 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** Friday 19 August 2022 23:45:46 +0000 (0:00:00.061) 0:01:18.371 ********* ok: [sut] => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** Friday 19 August 2022 23:45:46 +0000 (0:00:00.276) 0:01:18.647 ********* ok: [sut] => { "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": 29, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** Friday 19 August 2022 23:45:46 +0000 (0:00:00.286) 0:01:18.933 ********* ok: [sut] => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** Friday 19 August 2022 23:45:46 +0000 (0:00:00.279) 0:01:19.213 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1652693608.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "48ad50e64dc02c34e34a5782d42c307f94cb30b6", "ctime": 1660952744.0728607, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1652693608.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3194, "uid": 0, "version": "2787187877", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** Friday 19 August 2022 23:45:47 +0000 (0:00:00.281) 0:01:19.495 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** Friday 19 August 2022 23:45:47 +0000 (0:00:00.066) 0:01:19.562 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_common_rules": [ { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** Friday 19 August 2022 23:45:47 +0000 (0:00:00.183) 0:01:19.745 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "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: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** Friday 19 August 2022 23:45:47 +0000 (0:00:00.096) 0:01:19.841 ********* ok: [sut] => { "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)\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** Friday 19 August 2022 23:45:47 +0000 (0:00:00.070) 0:01:19.912 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "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: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** Friday 19 August 2022 23:45:47 +0000 (0:00:00.088) 0:01:20.001 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** Friday 19 August 2022 23:45:47 +0000 (0:00:00.101) 0:01:20.103 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** Friday 19 August 2022 23:45:47 +0000 (0:00:00.059) 0:01:20.162 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** Friday 19 August 2022 23:45:47 +0000 (0:00:00.057) 0:01:20.220 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** Friday 19 August 2022 23:45:48 +0000 (0:00:00.057) 0:01:20.277 ********* ok: [sut] => { "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.154799", "end": "2022-08-19 23:45:48.404037", "failed_when_result": false, "rc": 0, "start": "2022-08-19 23:45:48.249238" } 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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** Friday 19 August 2022 23:45:48 +0000 (0:00:00.424) 0:01:20.701 ********* changed: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** Friday 19 August 2022 23:45:52 +0000 (0:00:03.936) 0:01:24.638 ********* TASK [Manage firewall for specified ports] ************************************* Friday 19 August 2022 23:45:52 +0000 (0:00:00.057) 0:01:24.696 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Prepare _logging_selinux_ports to drop ports defined in the selinux policy] *** Friday 19 August 2022 23:45:52 +0000 (0:00:00.067) 0:01:24.764 ********* ok: [sut] => { "ansible_facts": { "_logging_selinux_ports": [] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Drop ports defined in the selinux policy] *** Friday 19 August 2022 23:45:52 +0000 (0:00:00.069) 0:01:24.833 ********* TASK [Manage selinux for specified ports] ************************************** Friday 19 August 2022 23:45:52 +0000 (0:00:00.059) 0:01:24.892 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** Friday 19 August 2022 23:45:52 +0000 (0:00:00.065) 0:01:24.958 ********* skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** Friday 19 August 2022 23:45:52 +0000 (0:00:00.105) 0:01:25.063 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** Friday 19 August 2022 23:45:52 +0000 (0:00:00.076) 0:01:25.140 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** Friday 19 August 2022 23:45:53 +0000 (0:00:00.138) 0:01:25.278 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** Friday 19 August 2022 23:45:53 +0000 (0:00:00.077) 0:01:25.355 ********* changed: [sut] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:45:31 UTC", "ActiveEnterTimestampMonotonic": "463910077", "ActiveExitTimestamp": "Fri 2022-08-19 23:45:41 UTC", "ActiveExitTimestampMonotonic": "474508940", "ActiveState": "inactive", "After": "system.slice sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:45:31 UTC", "AssertTimestampMonotonic": "463886375", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "24784000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:45:31 UTC", "ConditionTimestampMonotonic": "463886370", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "\"man:rsyslogd(8)\" https://www.rsyslog.com/doc/", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2022-08-19 23:45:42 UTC", "ExecMainExitTimestampMonotonic": "474886440", "ExecMainPID": "8357", "ExecMainStartTimestamp": "Fri 2022-08-19 23:45:31 UTC", "ExecMainStartTimestampMonotonic": "463890295", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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 }", "ExecStartEx": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-08-19 23:45:42 UTC", "InactiveEnterTimestampMonotonic": "474886612", "InactiveExitTimestamp": "Fri 2022-08-19 23:45:31 UTC", "InactiveExitTimestampMonotonic": "463890854", "InvocationID": "173299fbe25e4003b2d674af99e3343f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "13959", "LimitNPROCSoft": "13959", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13959", "LimitSIGPENDINGSoft": "13959", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:45:42 UTC", "StateChangeTimestampMonotonic": "474886612", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22334", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** Friday 19 August 2022 23:45:53 +0000 (0:00:00.472) 0:01:25.828 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** Friday 19 August 2022 23:45:53 +0000 (0:00:00.067) 0:01:25.895 ********* skipping: [sut] => {} RUNNING HANDLER [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** Friday 19 August 2022 23:45:53 +0000 (0:00:00.023) 0:01:25.919 ********* changed: [sut] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:45:53 UTC", "ActiveEnterTimestampMonotonic": "486249269", "ActiveExitTimestamp": "Fri 2022-08-19 23:45:41 UTC", "ActiveExitTimestampMonotonic": "474508940", "ActiveState": "active", "After": "system.slice sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:45:53 UTC", "AssertTimestampMonotonic": "486242558", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "10282000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:45:53 UTC", "ConditionTimestampMonotonic": "486242554", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "\"man:rsyslogd(8)\" https://www.rsyslog.com/doc/", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9238", "ExecMainStartTimestamp": "Fri 2022-08-19 23:45:53 UTC", "ExecMainStartTimestampMonotonic": "486243968", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Fri 2022-08-19 23:45:53 UTC] ; stop_time=[n/a] ; pid=9238 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; flags= ; start_time=[Fri 2022-08-19 23:45:53 UTC] ; stop_time=[n/a] ; pid=9238 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-08-19 23:45:42 UTC", "InactiveEnterTimestampMonotonic": "474886612", "InactiveExitTimestamp": "Fri 2022-08-19 23:45:53 UTC", "InactiveExitTimestampMonotonic": "486244488", "InvocationID": "1b6b341a6bf14b23b598ad21e05d5511", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "13959", "LimitNPROCSoft": "13959", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13959", "LimitSIGPENDINGSoft": "13959", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9238", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1421312", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:45:53 UTC", "StateChangeTimestampMonotonic": "486249269", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22334", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [TEST CASE 1; Ensure advanced ovirt configuration works] ****************** Friday 19 August 2022 23:45:54 +0000 (0:00:00.799) 0:01:26.718 ********* TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** Friday 19 August 2022 23:45:54 +0000 (0:00:00.149) 0:01:26.868 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ Friday 19 August 2022 23:45:54 +0000 (0:00:00.070) 0:01:26.938 ********* ok: [sut] => { "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 [linux-system-roles.logging : Set rsyslog_inputs] ************************* Friday 19 August 2022 23:45:54 +0000 (0:00:00.075) 0:01:27.013 ********* ok: [sut] => { "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 [linux-system-roles.logging : Set custom_config_files fact] *************** Friday 19 August 2022 23:45:54 +0000 (0:00:00.080) 0:01:27.094 ********* skipping: [sut] => (item={'name': 'default_files', 'type': 'files'}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "default_files", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'elasticsearch_output', 'type': 'elasticsearch', 'server_host': ['logging-es0', 'logging-es1'], 'server_port': 9200, 'index_prefix': 'project.', 'input_type': 'ovirt', 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'uid': 'testuser0'}) => { "ansible_loop_var": "item", "changed": false, "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" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'elasticsearch_output_ops', 'type': 'elasticsearch', 'server_host': ['logging-es-ops0', 'logging-es-ops1'], 'server_port': 9200, 'index_prefix': '.operations.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'dynSearchIndex': False, 'bulkmode': False, 'dynbulkid': False, 'allowUnsignedCerts': True, 'usehttps': False}) => { "ansible_loop_var": "item", "changed": false, "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 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** Friday 19 August 2022 23:45:54 +0000 (0:00:00.119) 0:01:27.213 ********* skipping: [sut] => (item={'name': 'flow_0', 'inputs': ['ovirt_collectd_input', 'ovirt_engine_input', 'ovirt_vdsm_input'], 'outputs': ['elasticsearch_output', '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: [sut] => (item={'name': 'flow_1', 'inputs': ['basic_input'], 'outputs': ['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 [linux-system-roles.logging : Re-read facts after adding custom fact] ***** Friday 19 August 2022 23:45:55 +0000 (0:00:00.117) 0:01:27.331 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* Friday 19 August 2022 23:45:55 +0000 (0:00:00.066) 0:01:27.398 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** Friday 19 August 2022 23:45:55 +0000 (0:00:00.069) 0:01:27.468 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** Friday 19 August 2022 23:45:55 +0000 (0:00:00.067) 0:01:27.535 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Use a debug var to avoid an empty dict in with_dict] *** Friday 19 August 2022 23:45:55 +0000 (0:00:00.068) 0:01:27.604 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** Friday 19 August 2022 23:45:55 +0000 (0:00:00.117) 0:01:27.721 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** Friday 19 August 2022 23:45:55 +0000 (0:00:00.070) 0:01:27.792 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:45:55 +0000 (0:00:00.104) 0:01:27.896 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:45:55 +0000 (0:00:00.097) 0:01:27.994 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:45:56 +0000 (0:00:00.444) 0:01:28.439 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml] *** Friday 19 August 2022 23:45:56 +0000 (0:00:00.141) 0:01:28.581 ********* skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** Friday 19 August 2022 23:45:56 +0000 (0:00:00.140) 0:01:28.721 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/main_core.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** Friday 19 August 2022 23:45:56 +0000 (0:00:00.134) 0:01:28.856 ********* skipping: [sut] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** Friday 19 August 2022 23:45:56 +0000 (0:00:00.069) 0:01:28.925 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:45:56 +0000 (0:00:00.065) 0:01:28.991 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** Friday 19 August 2022 23:45:57 +0000 (0:00:01.007) 0:01:29.999 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** Friday 19 August 2022 23:45:57 +0000 (0:00:00.062) 0:01:30.061 ********* ok: [sut] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "3.el9", "source": "rpm", "version": "2.3.1" } ], "adobe-source-code-pro-fonts": [ { "arch": "noarch", "epoch": null, "name": "adobe-source-code-pro-fonts", "release": "12.el9.1", "source": "rpm", "version": "2.030.1.050" } ], "alternatives": [ { "arch": "x86_64", "epoch": null, "name": "alternatives", "release": "2.el9", "source": "rpm", "version": "1.20" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "13.el9", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "4.el9", "source": "rpm", "version": "5.1.8" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "14.el9", "source": "rpm", "version": "1.07.1" } ], "beakerlib": [ { "arch": "noarch", "epoch": null, "name": "beakerlib", "release": "1.el9", "source": "rpm", "version": "1.29.1" } ], "beakerlib-redhat": [ { "arch": "noarch", "epoch": null, "name": "beakerlib-redhat", "release": "33.el9", "source": "rpm", "version": "1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "8.el9", "source": "rpm", "version": "1.0.8" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "5.el9", "source": "rpm", "version": "1.17.1" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "90.2.el9_0", "source": "rpm", "version": "2022.2.54" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el9", "source": "rpm", "version": "3.4" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "2.el9", "source": "rpm", "version": "1.20" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el9", "source": "rpm", "version": "4.2" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "4.el9", "source": "rpm", "version": "22.1" } ], "cloud-utils-growpart": [ { "arch": "x86_64", "epoch": null, "name": "cloud-utils-growpart", "release": "10.el9", "source": "rpm", "version": "0.31" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "32.el9", "source": "rpm", "version": "8.32" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "32.el9", "source": "rpm", "version": "8.32" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "16.el9", "source": "rpm", "version": "2.13" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "27.el9", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "27.el9", "source": "rpm", "version": "2.9.6" } ], "createrepo_c": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c", "release": "4.el9_0", "source": "rpm", "version": "0.17.7" } ], "createrepo_c-libs": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c-libs", "release": "4.el9_0", "source": "rpm", "version": "0.17.7" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "8.el9", "source": "rpm", "version": "1.5.7" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "8.el9", "source": "rpm", "version": "1.5.7" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "27.20190603git.el9_0", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.git0fbe86f.el9", "source": "rpm", "version": "20220815" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.git0fbe86f.el9", "source": "rpm", "version": "20220815" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "5.el9", "source": "rpm", "version": "2.4.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "19.el9", "source": "rpm", "version": "7.76.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "20.el9", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-broker": [ { "arch": "x86_64", "epoch": null, "name": "dbus-broker", "release": "6.el9", "source": "rpm", "version": "28" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dejavu-sans-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-fonts", "release": "18.el9", "source": "rpm", "version": "2.37" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 9, "name": "device-mapper", "release": "3.el9", "source": "rpm", "version": "1.02.185" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 9, "name": "device-mapper-libs", "release": "3.el9", "source": "rpm", "version": "1.02.185" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "17.b1.el9", "source": "rpm", "version": "4.4.2" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "17.b1.el9", "source": "rpm", "version": "4.4.2" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "12.el9", "source": "rpm", "version": "3.7" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "7.el9", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "2.el9_0", "source": "rpm", "version": "6" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "12.el9", "source": "rpm", "version": "16" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "2.el9", "source": "rpm", "version": "38" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "emacs-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "emacs-filesystem", "release": "6.el9", "source": "rpm", "version": "27.2" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el9", "source": "rpm", "version": "5.16" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "1.el9", "source": "rpm", "version": "2.4.7" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "8.el9", "source": "rpm", "version": "5.39" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "8.el9", "source": "rpm", "version": "5.39" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "2.el9", "source": "rpm", "version": "3.16" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "5.el9", "source": "rpm", "version": "4.8.0" } ], "firewalld": [ { "arch": "noarch", "epoch": null, "name": "firewalld", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "firewalld-filesystem": [ { "arch": "noarch", "epoch": null, "name": "firewalld-filesystem", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "fonts-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "fonts-filesystem", "release": "7.el9.1", "source": "rpm", "version": "2.0.5" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el9", "source": "rpm", "version": "2.9.9" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "6.el9", "source": "rpm", "version": "5.1.0" } ], "gawk-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "gawk-all-langpacks", "release": "6.el9", "source": "rpm", "version": "5.1.0" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "4.el9", "source": "rpm", "version": "1.19" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "5.el9", "source": "rpm", "version": "1.0.7" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "6.el9", "source": "rpm", "version": "20191217" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "6.el9", "source": "rpm", "version": "20191217" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "7.el9", "source": "rpm", "version": "0.21" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "7.el9", "source": "rpm", "version": "0.21" } ], "git": [ { "arch": "x86_64", "epoch": null, "name": "git", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "git-core": [ { "arch": "x86_64", "epoch": null, "name": "git-core", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "git-core-doc": [ { "arch": "noarch", "epoch": null, "name": "git-core-doc", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "5.el9", "source": "rpm", "version": "2.68.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-langpack-en": [ { "arch": "x86_64", "epoch": null, "name": "glibc-langpack-en", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el9", "source": "rpm", "version": "6.2.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el9_0", "source": "rpm", "version": "2.3.3" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "5.el9_0", "source": "rpm", "version": "3.7.6" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "10.el9", "source": "rpm", "version": "1.68.0" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "613798eb", "source": "rpm", "version": "3228467c" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "6.el9", "source": "rpm", "version": "1.15.1" } ], "gpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "gpm-libs", "release": "29.el9", "source": "rpm", "version": "1.20.7" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "5.el9", "source": "rpm", "version": "3.6" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "10.el9", "source": "rpm", "version": "1.22.4" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "60.el9", "source": "rpm", "version": "8.40" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "4.el9", "source": "rpm", "version": "0.8.4" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "1.el9", "source": "rpm", "version": "1.12" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el9", "source": "rpm", "version": "3.23" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "9.4.el9", "source": "rpm", "version": "0.348" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "4.el9", "source": "rpm", "version": "1.4" } ], "inih": [ { "arch": "x86_64", "epoch": null, "name": "inih", "release": "6.el9", "source": "rpm", "version": "49" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "initscripts-rename-device": [ { "arch": "x86_64", "epoch": null, "name": "initscripts-rename-device", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "initscripts-service": [ { "arch": "noarch", "epoch": null, "name": "initscripts-service", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "5.el9", "source": "rpm", "version": "1.0.0" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "1.el9", "source": "rpm", "version": "5.18.0" } ], "iproute-tc": [ { "arch": "x86_64", "epoch": null, "name": "iproute-tc", "release": "1.el9", "source": "rpm", "version": "5.18.0" } ], "ipset": [ { "arch": "x86_64", "epoch": null, "name": "ipset", "release": "6.el9", "source": "rpm", "version": "7.11" } ], "ipset-libs": [ { "arch": "x86_64", "epoch": null, "name": "ipset-libs", "release": "6.el9", "source": "rpm", "version": "7.11" } ], "iptables-libs": [ { "arch": "x86_64", "epoch": null, "name": "iptables-libs", "release": "4.el9", "source": "rpm", "version": "1.8.8" } ], "iptables-nft": [ { "arch": "x86_64", "epoch": null, "name": "iptables-nft", "release": "4.el9", "source": "rpm", "version": "1.8.8" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "7.el9", "source": "rpm", "version": "20210202" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "3.el9", "source": "rpm", "version": "1.9.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el9", "source": "rpm", "version": "2.14" } ], "jitterentropy": [ { "arch": "x86_64", "epoch": null, "name": "jitterentropy", "release": "1.el9", "source": "rpm", "version": "3.4.0" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "11.el9", "source": "rpm", "version": "0.14" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el9", "source": "rpm", "version": "1.6.6" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "8.el9", "source": "rpm", "version": "2.4.0" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "8.el9", "source": "rpm", "version": "2.4.0" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "5.el9", "source": "rpm", "version": "2.0.24" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "4.el9", "source": "rpm", "version": "1.6.1" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "4.el9", "source": "rpm", "version": "1.6.1" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "7.el9", "source": "rpm", "version": "28" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "7.el9", "source": "rpm", "version": "28" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "10.el9", "source": "rpm", "version": "0.8.7" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "22.el9", "source": "rpm", "version": "1.19.1" } ], "langpacks-core-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-core-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "langpacks-core-font-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-core-font-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "langpacks-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el9_0", "source": "rpm", "version": "590" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "3.el9", "source": "rpm", "version": "2.3.1" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el9", "source": "rpm", "version": "3.5.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el9", "source": "rpm", "version": "2.5.5" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el9", "source": "rpm", "version": "2.5.1" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "53.el9", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libbpf": [ { "arch": "x86_64", "epoch": 2, "name": "libbpf", "release": "1.el9", "source": "rpm", "version": "0.6.0" } ], "libbrotli": [ { "arch": "x86_64", "epoch": null, "name": "libbrotli", "release": "6.el9", "source": "rpm", "version": "1.0.9" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "8.el9", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "7.el9", "source": "rpm", "version": "0.8.2" } ], "libcap-ng-python3": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng-python3", "release": "7.el9", "source": "rpm", "version": "0.8.2" } ], "libcbor": [ { "arch": "x86_64", "epoch": null, "name": "libcbor", "release": "5.el9", "source": "rpm", "version": "0.7.0" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "53.el9", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el9", "source": "rpm", "version": "0.1.18" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "19.el9", "source": "rpm", "version": "7.76.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "23.el9", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "53.el9", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "53.el9", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "libdnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "libdnf-plugin-subscription-manager", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "libeconf": [ { "arch": "x86_64", "epoch": null, "name": "libeconf", "release": "2.el9", "source": "rpm", "version": "0.4.1" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "37.20210216cvs.el9", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "4.el9", "source": "rpm", "version": "0.1.11" } ], "libev": [ { "arch": "x86_64", "epoch": null, "name": "libev", "release": "5.el9", "source": "rpm", "version": "4.33" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "6.el9", "source": "rpm", "version": "2.1.12" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el9", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "7.el9", "source": "rpm", "version": "3.4.2" } ], "libfido2": [ { "arch": "x86_64", "epoch": null, "name": "libfido2", "release": "7.el9", "source": "rpm", "version": "1.6.0" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "4.el9_0", "source": "rpm", "version": "1.10.0" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "5.el9", "source": "rpm", "version": "1.42" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "3.el9", "source": "rpm", "version": "41.0" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "7.el9", "source": "rpm", "version": "2.3.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "53.el9", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "3.el9", "source": "rpm", "version": "1.3.1" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "3.el9", "source": "rpm", "version": "1.3.1" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "4.el9", "source": "rpm", "version": "1.5.1" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el9", "source": "rpm", "version": "2.5.2" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "4.el9", "source": "rpm", "version": "2.0.6" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "3.el9", "source": "rpm", "version": "1.5.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "15.el9", "source": "rpm", "version": "1.0.4" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "2.el9", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "4.el9", "source": "rpm", "version": "1.8" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "4.el9", "source": "rpm", "version": "1.0.8" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "21.el9", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "11.el9", "source": "rpm", "version": "2.5.4" } ], "libnftnl": [ { "arch": "x86_64", "epoch": null, "name": "libnftnl", "release": "1.el9", "source": "rpm", "version": "1.2.2" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "5.el9", "source": "rpm", "version": "1.43.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el9", "source": "rpm", "version": "3.7.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el9", "source": "rpm", "version": "3.7.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "53.el9", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "4.el9", "source": "rpm", "version": "1.10.0" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "4.el9", "source": "rpm", "version": "1.5.3" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "5.el9", "source": "rpm", "version": "0.21.1" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "8.el9", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "53.el9", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "3.el9", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "noarch", "epoch": null, "name": "libreport-filesystem", "release": "6.el9", "source": "rpm", "version": "2.15.2" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "7.el9", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "2.el9", "source": "rpm", "version": "2.5.2" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "2.el9", "source": "rpm", "version": "3.4" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "1.1.el9", "source": "rpm", "version": "3.4" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "4.el9", "source": "rpm", "version": "2.13" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el9", "source": "rpm", "version": "0.7.22" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el9", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el9", "source": "rpm", "version": "0.9.6" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "10.el9", "source": "rpm", "version": "2.1.1" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el9", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "7.el9", "source": "rpm", "version": "4.16.0" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el9", "source": "rpm", "version": "1.4.6" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "14.el9", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el9", "source": "rpm", "version": "0.12.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.el9", "source": "rpm", "version": "1.3.3" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "15.el9", "source": "rpm", "version": "0.9.10" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "11.el9", "source": "rpm", "version": "0.63" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "6.el9", "source": "rpm", "version": "1.2.1" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "3.el9", "source": "rpm", "version": "0.3.2" } ], "libverto-libev": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libev", "release": "3.el9", "source": "rpm", "version": "0.3.2" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "3.el9", "source": "rpm", "version": "4.4.18" } ], "libxcrypt-compat": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt-compat", "release": "3.el9", "source": "rpm", "version": "4.4.18" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "2.el9", "source": "rpm", "version": "2.9.13" } ], "libxslt": [ { "arch": "x86_64", "epoch": null, "name": "libxslt", "release": "9.el9", "source": "rpm", "version": "1.1.34" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "7.el9", "source": "rpm", "version": "0.2.5" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "2.el9", "source": "rpm", "version": "1.5.1" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "127.el9", "source": "rpm", "version": "20220708" } ], "linux-firmware-whence": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware-whence", "release": "127.el9", "source": "rpm", "version": "20220708" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "3.el9", "source": "rpm", "version": "0.9.29" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "7.el9", "source": "rpm", "version": "3.18.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "9.el9", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "6.el9", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "4.el9", "source": "rpm", "version": "5.4.2" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "5.el9", "source": "rpm", "version": "1.9.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "7.el9", "source": "rpm", "version": "2.10" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "7.el9", "source": "rpm", "version": "4.3" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "6.el9", "source": "rpm", "version": "2.9.3" } ], "microcode_ctl": [ { "arch": "noarch", "epoch": 4, "name": "microcode_ctl", "release": "1.el9", "source": "rpm", "version": "20220510" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "7.el9", "source": "rpm", "version": "4.1.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "1.el9_0", "source": "rpm", "version": "3.8" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el9", "source": "rpm", "version": "0.52.21" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "11.el9", "source": "rpm", "version": "2.5.4" } ], "nftables": [ { "arch": "x86_64", "epoch": 1, "name": "nftables", "release": "2.el9", "source": "rpm", "version": "1.0.4" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "8.el9", "source": "rpm", "version": "1.6" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "8.el9", "source": "rpm", "version": "2.0.14" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "5.el9", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "5.el9", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "3.el9", "source": "rpm", "version": "2.6.2" } ], "openldap-compat": [ { "arch": "x86_64", "epoch": null, "name": "openldap-compat", "release": "3.el9", "source": "rpm", "version": "2.6.2" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "41.el9_0", "source": "rpm", "version": "3.0.1" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "41.el9_0", "source": "rpm", "version": "3.0.1" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "7.el9", "source": "rpm", "version": "0.4.11" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el9", "source": "rpm", "version": "1.77" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "2.el9", "source": "rpm", "version": "0.24.1" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "2.el9", "source": "rpm", "version": "0.24.1" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "12.el9", "source": "rpm", "version": "1.5.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "2.el9", "source": "rpm", "version": "3.5" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "12.el9", "source": "rpm", "version": "0.80" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "5.el9", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "3.el9.3", "source": "rpm", "version": "8.44" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el9", "source": "rpm", "version": "10.40" } ], "pcre2-syntax": [ { "arch": "noarch", "epoch": null, "name": "pcre2-syntax", "release": "2.el9", "source": "rpm", "version": "10.40" } ], "perl-AutoLoader": [ { "arch": "noarch", "epoch": 0, "name": "perl-AutoLoader", "release": "479.el9", "source": "rpm", "version": "5.74" } ], "perl-B": [ { "arch": "x86_64", "epoch": 0, "name": "perl-B", "release": "479.el9", "source": "rpm", "version": "1.80" } ], "perl-Carp": [ { "arch": "noarch", "epoch": null, "name": "perl-Carp", "release": "460.el9", "source": "rpm", "version": "1.50" } ], "perl-Class-Struct": [ { "arch": "noarch", "epoch": 0, "name": "perl-Class-Struct", "release": "479.el9", "source": "rpm", "version": "0.66" } ], "perl-Data-Dumper": [ { "arch": "x86_64", "epoch": null, "name": "perl-Data-Dumper", "release": "462.el9", "source": "rpm", "version": "2.174" } ], "perl-Digest": [ { "arch": "noarch", "epoch": null, "name": "perl-Digest", "release": "4.el9", "source": "rpm", "version": "1.19" } ], "perl-Digest-MD5": [ { "arch": "x86_64", "epoch": null, "name": "perl-Digest-MD5", "release": "4.el9", "source": "rpm", "version": "2.58" } ], "perl-DynaLoader": [ { "arch": "x86_64", "epoch": 0, "name": "perl-DynaLoader", "release": "479.el9", "source": "rpm", "version": "1.47" } ], "perl-Encode": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Encode", "release": "462.el9", "source": "rpm", "version": "3.08" } ], "perl-Errno": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Errno", "release": "479.el9", "source": "rpm", "version": "1.30" } ], "perl-Error": [ { "arch": "noarch", "epoch": 1, "name": "perl-Error", "release": "7.el9", "source": "rpm", "version": "0.17029" } ], "perl-Exporter": [ { "arch": "noarch", "epoch": null, "name": "perl-Exporter", "release": "461.el9", "source": "rpm", "version": "5.74" } ], "perl-Fcntl": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Fcntl", "release": "479.el9", "source": "rpm", "version": "1.13" } ], "perl-File-Basename": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-Basename", "release": "479.el9", "source": "rpm", "version": "2.85" } ], "perl-File-Find": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-Find", "release": "479.el9", "source": "rpm", "version": "1.37" } ], "perl-File-Path": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Path", "release": "4.el9", "source": "rpm", "version": "2.18" } ], "perl-File-Temp": [ { "arch": "noarch", "epoch": 1, "name": "perl-File-Temp", "release": "4.el9", "source": "rpm", "version": "0.231.100" } ], "perl-File-stat": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-stat", "release": "479.el9", "source": "rpm", "version": "1.09" } ], "perl-FileHandle": [ { "arch": "noarch", "epoch": 0, "name": "perl-FileHandle", "release": "479.el9", "source": "rpm", "version": "2.03" } ], "perl-Getopt-Long": [ { "arch": "noarch", "epoch": 1, "name": "perl-Getopt-Long", "release": "4.el9", "source": "rpm", "version": "2.52" } ], "perl-Getopt-Std": [ { "arch": "noarch", "epoch": 0, "name": "perl-Getopt-Std", "release": "479.el9", "source": "rpm", "version": "1.12" } ], "perl-Git": [ { "arch": "noarch", "epoch": null, "name": "perl-Git", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "perl-HTTP-Tiny": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Tiny", "release": "460.el9", "source": "rpm", "version": "0.076" } ], "perl-IO": [ { "arch": "x86_64", "epoch": 0, "name": "perl-IO", "release": "479.el9", "source": "rpm", "version": "1.43" } ], "perl-IO-Socket-IP": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-IP", "release": "5.el9", "source": "rpm", "version": "0.41" } ], "perl-IO-Socket-SSL": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-SSL", "release": "1.el9", "source": "rpm", "version": "2.073" } ], "perl-IPC-Open3": [ { "arch": "noarch", "epoch": 0, "name": "perl-IPC-Open3", "release": "479.el9", "source": "rpm", "version": "1.21" } ], "perl-MIME-Base64": [ { "arch": "x86_64", "epoch": null, "name": "perl-MIME-Base64", "release": "4.el9", "source": "rpm", "version": "3.16" } ], "perl-Mozilla-CA": [ { "arch": "noarch", "epoch": null, "name": "perl-Mozilla-CA", "release": "6.el9", "source": "rpm", "version": "20200520" } ], "perl-NDBM_File": [ { "arch": "x86_64", "epoch": 0, "name": "perl-NDBM_File", "release": "479.el9", "source": "rpm", "version": "1.15" } ], "perl-Net-SSLeay": [ { "arch": "x86_64", "epoch": null, "name": "perl-Net-SSLeay", "release": "2.el9", "source": "rpm", "version": "1.92" } ], "perl-POSIX": [ { "arch": "x86_64", "epoch": 0, "name": "perl-POSIX", "release": "479.el9", "source": "rpm", "version": "1.94" } ], "perl-PathTools": [ { "arch": "x86_64", "epoch": null, "name": "perl-PathTools", "release": "461.el9", "source": "rpm", "version": "3.78" } ], "perl-Pod-Escapes": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Escapes", "release": "460.el9", "source": "rpm", "version": "1.07" } ], "perl-Pod-Perldoc": [ { "arch": "noarch", "epoch": null, "name": "perl-Pod-Perldoc", "release": "461.el9", "source": "rpm", "version": "3.28.01" } ], "perl-Pod-Simple": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Simple", "release": "4.el9", "source": "rpm", "version": "3.42" } ], "perl-Pod-Usage": [ { "arch": "noarch", "epoch": 4, "name": "perl-Pod-Usage", "release": "4.el9", "source": "rpm", "version": "2.01" } ], "perl-Scalar-List-Utils": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Scalar-List-Utils", "release": "461.el9", "source": "rpm", "version": "1.56" } ], "perl-SelectSaver": [ { "arch": "noarch", "epoch": 0, "name": "perl-SelectSaver", "release": "479.el9", "source": "rpm", "version": "1.02" } ], "perl-Socket": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Socket", "release": "4.el9", "source": "rpm", "version": "2.031" } ], "perl-Storable": [ { "arch": "x86_64", "epoch": 1, "name": "perl-Storable", "release": "460.el9", "source": "rpm", "version": "3.21" } ], "perl-Symbol": [ { "arch": "noarch", "epoch": 0, "name": "perl-Symbol", "release": "479.el9", "source": "rpm", "version": "1.08" } ], "perl-Term-ANSIColor": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-ANSIColor", "release": "461.el9", "source": "rpm", "version": "5.01" } ], "perl-Term-Cap": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-Cap", "release": "460.el9", "source": "rpm", "version": "1.17" } ], "perl-TermReadKey": [ { "arch": "x86_64", "epoch": null, "name": "perl-TermReadKey", "release": "11.el9", "source": "rpm", "version": "2.38" } ], "perl-Text-ParseWords": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-ParseWords", "release": "460.el9", "source": "rpm", "version": "3.30" } ], "perl-Text-Tabs+Wrap": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-Tabs+Wrap", "release": "460.el9", "source": "rpm", "version": "2013.0523" } ], "perl-Time-Local": [ { "arch": "noarch", "epoch": 2, "name": "perl-Time-Local", "release": "7.el9", "source": "rpm", "version": "1.300" } ], "perl-URI": [ { "arch": "noarch", "epoch": null, "name": "perl-URI", "release": "3.el9", "source": "rpm", "version": "5.09" } ], "perl-base": [ { "arch": "noarch", "epoch": 0, "name": "perl-base", "release": "479.el9", "source": "rpm", "version": "2.27" } ], "perl-constant": [ { "arch": "noarch", "epoch": null, "name": "perl-constant", "release": "461.el9", "source": "rpm", "version": "1.33" } ], "perl-if": [ { "arch": "noarch", "epoch": 0, "name": "perl-if", "release": "479.el9", "source": "rpm", "version": "0.60.800" } ], "perl-interpreter": [ { "arch": "x86_64", "epoch": 4, "name": "perl-interpreter", "release": "479.el9", "source": "rpm", "version": "5.32.1" } ], "perl-lib": [ { "arch": "x86_64", "epoch": 0, "name": "perl-lib", "release": "479.el9", "source": "rpm", "version": "0.65" } ], "perl-libnet": [ { "arch": "noarch", "epoch": null, "name": "perl-libnet", "release": "4.el9", "source": "rpm", "version": "3.13" } ], "perl-libs": [ { "arch": "x86_64", "epoch": 4, "name": "perl-libs", "release": "479.el9", "source": "rpm", "version": "5.32.1" } ], "perl-mro": [ { "arch": "x86_64", "epoch": 0, "name": "perl-mro", "release": "479.el9", "source": "rpm", "version": "1.23" } ], "perl-overload": [ { "arch": "noarch", "epoch": 0, "name": "perl-overload", "release": "479.el9", "source": "rpm", "version": "1.31" } ], "perl-overloading": [ { "arch": "noarch", "epoch": 0, "name": "perl-overloading", "release": "479.el9", "source": "rpm", "version": "0.02" } ], "perl-parent": [ { "arch": "noarch", "epoch": 1, "name": "perl-parent", "release": "460.el9", "source": "rpm", "version": "0.238" } ], "perl-podlators": [ { "arch": "noarch", "epoch": 1, "name": "perl-podlators", "release": "460.el9", "source": "rpm", "version": "4.14" } ], "perl-subs": [ { "arch": "noarch", "epoch": 0, "name": "perl-subs", "release": "479.el9", "source": "rpm", "version": "1.03" } ], "perl-vars": [ { "arch": "noarch", "epoch": 0, "name": "perl-vars", "release": "479.el9", "source": "rpm", "version": "1.05" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el9", "source": "rpm", "version": "2.5" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "8.el9", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "8.el9", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el9", "source": "rpm", "version": "3.3.17" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "3.el9", "source": "rpm", "version": "23.4" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "3.el9", "source": "rpm", "version": "20210518" } ], "python-unversioned-command": [ { "arch": "noarch", "epoch": null, "name": "python-unversioned-command", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3": [ { "arch": "x86_64", "epoch": null, "name": "python3", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "2.el9", "source": "rpm", "version": "2.9.1" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "5.el9", "source": "rpm", "version": "4.0.0" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "25.el9", "source": "rpm", "version": "5.0.6" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el9", "source": "rpm", "version": "2.8.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "2.el9", "source": "rpm", "version": "1.2.18" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "6.el9", "source": "rpm", "version": "4.4.2" } ], "python3-distro": [ { "arch": "noarch", "epoch": null, "name": "python3-distro", "release": "7.el9", "source": "rpm", "version": "1.5.0" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "2.el9", "source": "rpm", "version": "0.15" } ], "python3-firewall": [ { "arch": "noarch", "epoch": null, "name": "python3-firewall", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "6.el9", "source": "rpm", "version": "3.40.1" } ], "python3-gobject-base-noarch": [ { "arch": "noarch", "epoch": null, "name": "python3-gobject-base-noarch", "release": "6.el9", "source": "rpm", "version": "3.40.1" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "6.el9", "source": "rpm", "version": "1.15.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "7.el9", "source": "rpm", "version": "2.10" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "45.el9", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "25.el9", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "4.el9", "source": "rpm", "version": "2.11.3" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "16.el9", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "4.el9", "source": "rpm", "version": "2.0" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el9", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "3.el9", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "2.el9", "source": "rpm", "version": "3.4" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "2.el9", "source": "rpm", "version": "2.9.13" } ], "python3-lxml": [ { "arch": "x86_64", "epoch": null, "name": "python3-lxml", "release": "3.el9", "source": "rpm", "version": "4.6.5" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "12.el9", "source": "rpm", "version": "1.1.1" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "15.el9", "source": "rpm", "version": "0.10.6" } ], "python3-nftables": [ { "arch": "x86_64", "epoch": 1, "name": "python3-nftables", "release": "2.el9", "source": "rpm", "version": "1.0.4" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "2.el9", "source": "rpm", "version": "3.1.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "6.el9", "source": "rpm", "version": "21.2.3" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "27.el9", "source": "rpm", "version": "0.7.2" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "12.el9", "source": "rpm", "version": "3.4" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "12.el9", "source": "rpm", "version": "1.7.1" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "4.el9", "source": "rpm", "version": "2021.1" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "6.el9", "source": "rpm", "version": "5.4.1" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "6.el9", "source": "rpm", "version": "2.25.1" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "5.el9", "source": "rpm", "version": "4.4.0" } ], "python3-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools", "release": "10.el9", "source": "rpm", "version": "53.0.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "10.el9", "source": "rpm", "version": "53.0.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "9.el9", "source": "rpm", "version": "1.15.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "3.el9", "source": "rpm", "version": "1.26.5" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 17, "name": "qemu-guest-agent", "release": "11.el9", "source": "rpm", "version": "7.0.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "6.el9", "source": "rpm", "version": "4.06" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "6.el9", "source": "rpm", "version": "4.06" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "4.el9", "source": "rpm", "version": "8.1" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "1.8.el9", "source": "rpm", "version": "9.1" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "1.8.el9", "source": "rpm", "version": "9.1" } ], "restraint": [ { "arch": "x86_64", "epoch": null, "name": "restraint", "release": "1.el9", "source": "rpm", "version": "0.4.0" } ], "restraint-rhts": [ { "arch": "x86_64", "epoch": null, "name": "restraint-rhts", "release": "1.el9", "source": "rpm", "version": "0.4.0" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "1.el9", "source": "rpm", "version": "6.15" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "31.el9", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "2.el9", "source": "rpm", "version": "1.2.6" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-audit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-audit", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-sign-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-sign-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "16.el9", "source": "rpm", "version": "3.2.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "105.el9", "source": "rpm", "version": "8.2102.0" } ], "rsyslog-logrotate": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog-logrotate", "release": "105.el9", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "9.el9", "source": "rpm", "version": "4.8" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "1.el9", "source": "rpm", "version": "34.1.40" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "1.el9", "source": "rpm", "version": "34.1.40" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "7.el9", "source": "rpm", "version": "2.13.7" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "9.el9", "source": "rpm", "version": "1.47" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "9.el9", "source": "rpm", "version": "1.47" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el9", "source": "rpm", "version": "4.9" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el9", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "8.el9", "source": "rpm", "version": "1.1.8" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "5.el9", "source": "rpm", "version": "3.34.1" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "8.git1.el9", "source": "rpm", "version": "4.4" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "subscription-manager-rhsm-certificates": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "1.el9", "source": "rpm", "version": "20220623" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "7.el9", "source": "rpm", "version": "1.9.5p2" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-rpm-macros": [ { "arch": "noarch", "epoch": null, "name": "systemd-rpm-macros", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "7.el9", "source": "rpm", "version": "250" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el9", "source": "rpm", "version": "1.34" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "14.el9", "source": "rpm", "version": "1.31" } ], "time": [ { "arch": "x86_64", "epoch": null, "name": "time", "release": "18.el9", "source": "rpm", "version": "1.9" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "8.el9", "source": "rpm", "version": "3.0.3" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el9", "source": "rpm", "version": "2022a" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "4.el9", "source": "rpm", "version": "1.114" } ], "userspace-rcu": [ { "arch": "x86_64", "epoch": null, "name": "userspace-rcu", "release": "6.el9", "source": "rpm", "version": "0.12.1" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "util-linux-core": [ { "arch": "x86_64", "epoch": null, "name": "util-linux-core", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "vim-common": [ { "arch": "x86_64", "epoch": 2, "name": "vim-common", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-enhanced": [ { "arch": "x86_64", "epoch": 2, "name": "vim-enhanced", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-filesystem": [ { "arch": "noarch", "epoch": 2, "name": "vim-filesystem", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "2.el9", "source": "rpm", "version": "1.22" } ], "wget": [ { "arch": "x86_64", "epoch": null, "name": "wget", "release": "7.el9", "source": "rpm", "version": "1.21.1" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "28.el9", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "1.el9", "source": "rpm", "version": "5.14.2" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "8.el9_0", "source": "rpm", "version": "5.2.5" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "8.el9_0", "source": "rpm", "version": "5.2.5" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "33.el9", "source": "rpm", "version": "1.2.11" } ], "zstd": [ { "arch": "x86_64", "epoch": null, "name": "zstd", "release": "2.el9", "source": "rpm", "version": "1.5.1" } ] } }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** Friday 19 August 2022 23:45:58 +0000 (0:00:00.868) 0:01:30.929 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** Friday 19 August 2022 23:45:58 +0000 (0:00:00.077) 0:01:31.007 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** Friday 19 August 2022 23:45:58 +0000 (0:00:00.063) 0:01:31.071 ********* ok: [sut] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** Friday 19 August 2022 23:45:58 +0000 (0:00:00.067) 0:01:31.139 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** Friday 19 August 2022 23:45:58 +0000 (0:00:00.063) 0:01:31.203 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 31, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** Friday 19 August 2022 23:45:59 +0000 (0:00:00.279) 0:01:31.483 ********* ok: [sut] => { "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": 29, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** Friday 19 August 2022 23:45:59 +0000 (0:00:00.280) 0:01:31.763 ********* ok: [sut] => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** Friday 19 August 2022 23:45:59 +0000 (0:00:00.279) 0:01:32.043 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1660952747.181834, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "48ad50e64dc02c34e34a5782d42c307f94cb30b6", "ctime": 1660952744.0728607, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1652693608.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3194, "uid": 0, "version": "2787187877", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** Friday 19 August 2022 23:46:00 +0000 (0:00:00.283) 0:01:32.327 ********* changed: [sut] => { "changed": true, "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "dest": "/etc/rsyslog.conf", "gid": 0, "group": "root", "md5sum": "e08a7b6fa14b8e9ce4b3f79d00d21c08", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 108, "src": "/root/.ansible/tmp/ansible-tmp-1660952760.1543038-17509-109206471014021/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** Friday 19 August 2022 23:46:00 +0000 (0:00:00.713) 0:01:33.040 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_common_rules": [ { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:00 +0000 (0:00:00.166) 0:01:33.206 ********* changed: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/source", "state": "file", "uid": 0 } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "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: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** Friday 19 August 2022 23:46:02 +0000 (0:00:01.424) 0:01:34.631 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** Friday 19 August 2022 23:46:02 +0000 (0:00:00.074) 0:01:34.706 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "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: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** Friday 19 August 2022 23:46:02 +0000 (0:00:00.093) 0:01:34.800 ********* ok: [sut] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } ok: [sut] => (item={'name': 'ovirt_collectd_input', 'type': 'ovirt', 'subtype': 'collectd', 'ovirt_collectd_port': 44514, 'ovirt_elasticsearch_index_prefix': 'project.ovirt-metrics', 'ovirt_env_name': 'test-engine', 'ovirt_env_uuid': '111-222-333'}) => { "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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/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: [sut] => (item={'name': 'ovirt_engine_input', 'type': 'ovirt', 'subtype': 'engine', 'ovirt_elasticsearch_index_prefix': 'project.ovirt-logs', 'ovirt_env_name': 'test-engine', 'ovirt_env_uuid': '444-555-666', 'ovirt_vds_cluster_name': 'test_vds_cluster', 'ovirt_engine_fqdn': 'engine.ovirt.example.com', 'ovirt_input_file': '/var/log/ovirt-engine/engine.log'}) => { "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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/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: [sut] => (item={'name': 'ovirt_vdsm_input', 'type': 'ovirt', 'subtype': 'vdsm', 'ovirt_elasticsearch_index_prefix': 'project.ovirt-logs', 'ovirt_env_name': 'test-engine', 'ovirt_env_uuid': '777-888-999', 'ovirt_vds_cluster_name': 'test_vds_cluster', 'ovirt_engine_fqdn': 'engine.ovirt.example.com', 'ovirt_input_file': '/var/log/vdsm/vdsm.log'}) => { "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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/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: [sut] => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) => { "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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** Friday 19 August 2022 23:46:02 +0000 (0:00:00.141) 0:01:34.941 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/basics/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** Friday 19 August 2022 23:46:02 +0000 (0:00:00.245) 0:01:35.187 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:03 +0000 (0:00:00.114) 0:01:35.301 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:03 +0000 (0:00:00.070) 0:01:35.371 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:03 +0000 (0:00:00.058) 0:01:35.430 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/source", "state": "file", "uid": 0 } ] }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:03 +0000 (0:00:00.077) 0:01:35.508 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:03 +0000 (0:00:00.062) 0:01:35.571 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:03 +0000 (0:00:00.121) 0:01:35.693 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:03 +0000 (0:00:00.066) 0:01:35.759 ********* changed: [sut] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'module(load="imuxsock" # provides support for local system logging (e.g. via logger command)\n SysSock.Use="off") # Turn off message reception via local log socket.\nmodule(load="imjournal"\n StateFile="/var/lib/rsyslog/imjournal.state"\n RateLimit.Burst="20000"\n RateLimit.Interval="600"\n PersistStateInterval="10")\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call default_files\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:04 +0000 (0:00:00.985) 0:01:36.744 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:04 +0000 (0:00:00.079) 0:01:36.824 ********* skipping: [sut] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'module(load="imuxsock" # provides support for local system logging (e.g. via logger command)\n SysSock.Use="off") # Turn off message reception via local log socket.\nmodule(load="imjournal"\n StateFile="/var/lib/rsyslog/imjournal.state"\n RateLimit.Burst="20000"\n RateLimit.Interval="600"\n PersistStateInterval="10")\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call default_files\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:46:04 +0000 (0:00:00.255) 0:01:37.080 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:46:04 +0000 (0:00:00.113) 0:01:37.193 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:46:05 +0000 (0:00:00.491) 0:01:37.685 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:05 +0000 (0:00:00.150) 0:01:37.835 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:05 +0000 (0:00:00.117) 0:01:37.953 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-mmjsonparse-8.2102.0-105.el9.x86_64", "Installed: rsyslog-mmnormalize-8.2102.0-105.el9.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:07 +0000 (0:00:01.427) 0:01:39.381 ********* changed: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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-1660952768.5105581-17675-185616289239953/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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-1660952769.143505-17675-92887965679376/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:10 +0000 (0:00:03.255) 0:01:42.636 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:10 +0000 (0:00:00.130) 0:01:42.767 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "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: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "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: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_collectd_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:10 +0000 (0:00:00.135) 0:01:42.903 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:10 +0000 (0:00:00.134) 0:01:43.038 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:10 +0000 (0:00:00.068) 0:01:43.106 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_collectd_input', 'type': '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'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:11 +0000 (0:00:00.827) 0:01:43.934 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:11 +0000 (0:00:00.095) 0:01:44.029 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_collectd_input', 'type': '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'}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:46:11 +0000 (0:00:00.200) 0:01:44.230 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.392607", "end": "2022-08-19 23:46:12.603918", "rc": 0, "start": "2022-08-19 23:46:12.211311" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:46:12 +0000 (0:00:00.671) 0:01:44.902 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:46:12 +0000 (0:00:00.112) 0:01:45.014 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:46:13 +0000 (0:00:00.497) 0:01:45.512 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:13 +0000 (0:00:00.152) 0:01:45.665 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:13 +0000 (0:00:00.122) 0:01:45.787 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:14 +0000 (0:00:01.008) 0:01:46.796 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:17 +0000 (0:00:02.961) 0:01:49.758 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:17 +0000 (0:00:00.105) 0:01:49.863 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "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: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "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: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_engine_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:17 +0000 (0:00:00.133) 0:01:49.996 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:17 +0000 (0:00:00.133) 0:01:50.130 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:17 +0000 (0:00:00.067) 0:01:50.198 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_engine_input', 'type': '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-13-80.ec2.internal\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.13.80\';\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'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:18 +0000 (0:00:00.878) 0:01:51.076 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-1660952778.211394-17936-150574268345640/source", "unsafe_writes": false, "validate": null } }, "md5sum": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:19 +0000 (0:00:00.172) 0:01:51.249 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_engine_input', 'type': '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-13-80.ec2.internal\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.13.80\';\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'}) => { "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:46:19 +0000 (0:00:00.201) 0:01:51.450 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.392822", "end": "2022-08-19 23:46:19.822202", "rc": 0, "start": "2022-08-19 23:46:19.429380" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:46:19 +0000 (0:00:00.670) 0:01:52.121 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:46:19 +0000 (0:00:00.113) 0:01:52.234 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:46:20 +0000 (0:00:00.483) 0:01:52.718 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:20 +0000 (0:00:00.151) 0:01:52.870 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:20 +0000 (0:00:00.115) 0:01:52.986 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:21 +0000 (0:00:01.005) 0:01:53.991 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:24 +0000 (0:00:02.949) 0:01:56.940 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-1660952778.211394-17936-150574268345640/source", "unsafe_writes": false, "validate": null } }, "md5sum": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:24 +0000 (0:00:00.117) 0:01:57.058 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "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: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "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: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_vdsm_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:24 +0000 (0:00:00.137) 0:01:57.196 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:25 +0000 (0:00:00.133) 0:01:57.329 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:25 +0000 (0:00:00.066) 0:01:57.396 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_vdsm_input', 'type': '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-13-80.ec2.internal\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.13.80\';\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'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "8a4272fec62b2f63fb8cbc5ade40bcf5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660952785.367115-18057-75416663684683/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:25 +0000 (0:00:00.821) 0:01:58.218 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-1660952778.211394-17936-150574268345640/source", "unsafe_writes": false, "validate": null } }, "md5sum": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-1660952785.367115-18057-75416663684683/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8a4272fec62b2f63fb8cbc5ade40bcf5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660952785.367115-18057-75416663684683/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:26 +0000 (0:00:00.122) 0:01:58.341 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_vdsm_input', 'type': '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-13-80.ec2.internal\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.13.80\';\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'}) => { "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:46:26 +0000 (0:00:00.201) 0:01:58.542 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.390887", "end": "2022-08-19 23:46:26.913919", "rc": 0, "start": "2022-08-19 23:46:26.523032" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:46:26 +0000 (0:00:00.670) 0:01:59.213 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:46:27 +0000 (0:00:00.166) 0:01:59.379 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:46:27 +0000 (0:00:00.489) 0:01:59.869 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:27 +0000 (0:00:00.155) 0:02:00.025 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:27 +0000 (0:00:00.118) 0:02:00.143 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:28 +0000 (0:00:00.994) 0:02:01.138 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:31 +0000 (0:00:02.962) 0:02:04.100 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-1660952778.211394-17936-150574268345640/source", "unsafe_writes": false, "validate": null } }, "md5sum": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-1660952785.367115-18057-75416663684683/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8a4272fec62b2f63fb8cbc5ade40bcf5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660952785.367115-18057-75416663684683/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:32 +0000 (0:00:00.179) 0:02:04.280 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "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: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': '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}'}]}) => { "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: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', '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%'}]}) => { "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: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', '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_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: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_bogus_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:32 +0000 (0:00:00.146) 0:02:04.426 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:46:32 +0000 (0:00:00.076) 0:02:04.503 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.396360", "end": "2022-08-19 23:46:32.883049", "rc": 0, "start": "2022-08-19 23:46:32.486689" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** Friday 19 August 2022 23:46:32 +0000 (0:00:00.678) 0:02:05.181 ********* ok: [sut] => (item={'name': 'default_files', 'type': '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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } ok: [sut] => (item={'name': 'elasticsearch_output', 'type': 'elasticsearch', 'server_host': ['logging-es0', 'logging-es1'], 'server_port': 9200, 'index_prefix': 'project.', 'input_type': 'ovirt', 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'uid': '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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/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: [sut] => (item={'name': 'elasticsearch_output_ops', 'type': 'elasticsearch', 'server_host': ['logging-es-ops0', 'logging-es-ops1'], 'server_port': 9200, 'index_prefix': '.operations.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'dynSearchIndex': False, 'bulkmode': False, 'dynbulkid': False, 'allowUnsignedCerts': True, 'usehttps': 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": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** Friday 19 August 2022 23:46:33 +0000 (0:00:00.117) 0:02:05.299 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/outputs/files/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for sut included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:33 +0000 (0:00:00.188) 0:02:05.488 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:33 +0000 (0:00:00.113) 0:02:05.601 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:33 +0000 (0:00:00.068) 0:02:05.669 ********* changed: [sut] => (item={'name': 'output-files-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfile")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952793.5207334-18260-83357007654722/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:34 +0000 (0:00:00.722) 0:02:06.392 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-1660952778.211394-17936-150574268345640/source", "unsafe_writes": false, "validate": null } }, "md5sum": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-1660952785.367115-18057-75416663684683/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8a4272fec62b2f63fb8cbc5ade40bcf5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660952785.367115-18057-75416663684683/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952793.5207334-18260-83357007654722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952793.5207334-18260-83357007654722/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:34 +0000 (0:00:00.133) 0:02:06.525 ********* skipping: [sut] => (item={'name': 'output-files-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfile")\n'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-default_files in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:34 +0000 (0:00:00.085) 0:02:06.611 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:34 +0000 (0:00:00.117) 0:02:06.729 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:34 +0000 (0:00:00.066) 0:02:06.795 ********* changed: [sut] => (item={'name': 'output-files-default_files', 'type': 'output', 'state': 'present', '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'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952794.8275948-18304-163400617449839/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:35 +0000 (0:00:00.900) 0:02:07.696 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-1660952778.211394-17936-150574268345640/source", "unsafe_writes": false, "validate": null } }, "md5sum": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-1660952785.367115-18057-75416663684683/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8a4272fec62b2f63fb8cbc5ade40bcf5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660952785.367115-18057-75416663684683/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952793.5207334-18260-83357007654722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952793.5207334-18260-83357007654722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "ec4f5c91855d526e10963c7678121d42168d319b", "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-1660952794.8275948-18304-163400617449839/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952794.8275948-18304-163400617449839/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:35 +0000 (0:00:00.141) 0:02:07.837 ********* skipping: [sut] => (item={'name': 'output-files-default_files', 'type': 'output', 'state': 'present', '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'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** Friday 19 August 2022 23:46:35 +0000 (0:00:00.194) 0:02:08.032 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/set_certs.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:46:35 +0000 (0:00:00.117) 0:02:08.150 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:46:35 +0000 (0:00:00.082) 0:02:08.232 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** Friday 19 August 2022 23:46:36 +0000 (0:00:00.091) 0:02:08.324 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** Friday 19 August 2022 23:46:36 +0000 (0:00:00.094) 0:02:08.419 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** Friday 19 August 2022 23:46:36 +0000 (0:00:00.094) 0:02:08.514 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:36 +0000 (0:00:00.078) 0:02:08.592 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:36 +0000 (0:00:00.122) 0:02:08.715 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-105.el9.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:37 +0000 (0:00:01.383) 0:02:10.099 ********* changed: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952797.953792-18416-78002293282234/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952798.5979428-18416-10382085355086/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:39 +0000 (0:00:01.362) 0:02:11.462 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-1660952778.211394-17936-150574268345640/source", "unsafe_writes": false, "validate": null } }, "md5sum": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-1660952785.367115-18057-75416663684683/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8a4272fec62b2f63fb8cbc5ade40bcf5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660952785.367115-18057-75416663684683/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952793.5207334-18260-83357007654722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952793.5207334-18260-83357007654722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "ec4f5c91855d526e10963c7678121d42168d319b", "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-1660952794.8275948-18304-163400617449839/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952794.8275948-18304-163400617449839/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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-1660952797.953792-18416-78002293282234/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952797.953792-18416-78002293282234/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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-1660952798.5979428-18416-10382085355086/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952798.5979428-18416-10382085355086/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:39 +0000 (0:00:00.144) 0:02:11.606 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "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: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', '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}'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:39 +0000 (0:00:00.098) 0:02:11.705 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:39 +0000 (0:00:00.136) 0:02:11.842 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:39 +0000 (0:00:00.069) 0:02:11.911 ********* changed: [sut] => (item={'name': 'output-elasticsearch-elasticsearch_output', 'type': 'output', 'weight': '31', 'state': 'present', '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'}], 'mode': '0600', 'owner': 'root', 'group': 'root'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "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": "aa250a5a94976fa4957f7f0543182df8", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2062, "src": "/root/.ansible/tmp/ansible-tmp-1660952799.8921669-18505-223790424141060/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:40 +0000 (0:00:00.842) 0:02:12.753 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-1660952778.211394-17936-150574268345640/source", "unsafe_writes": false, "validate": null } }, "md5sum": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-1660952785.367115-18057-75416663684683/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8a4272fec62b2f63fb8cbc5ade40bcf5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660952785.367115-18057-75416663684683/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952793.5207334-18260-83357007654722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952793.5207334-18260-83357007654722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "ec4f5c91855d526e10963c7678121d42168d319b", "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-1660952794.8275948-18304-163400617449839/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952794.8275948-18304-163400617449839/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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-1660952797.953792-18416-78002293282234/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952797.953792-18416-78002293282234/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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-1660952798.5979428-18416-10382085355086/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952798.5979428-18416-10382085355086/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "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": "71e6277b21b00503d850a500a91ede5d172122bc", "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-1660952799.8921669-18505-223790424141060/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa250a5a94976fa4957f7f0543182df8", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2062, "src": "/root/.ansible/tmp/ansible-tmp-1660952799.8921669-18505-223790424141060/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:40 +0000 (0:00:00.143) 0:02:12.896 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-elasticsearch_output', 'type': 'output', 'weight': '31', 'state': 'present', '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'}], 'mode': '0600', 'owner': 'root', 'group': 'root'}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d (no_log)] *** Friday 19 August 2022 23:46:40 +0000 (0:00:00.217) 0:02:13.114 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** Friday 19 August 2022 23:46:40 +0000 (0:00:00.069) 0:02:13.183 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/set_certs.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:46:41 +0000 (0:00:00.116) 0:02:13.300 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:46:41 +0000 (0:00:00.082) 0:02:13.382 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** Friday 19 August 2022 23:46:41 +0000 (0:00:00.086) 0:02:13.469 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** Friday 19 August 2022 23:46:41 +0000 (0:00:00.158) 0:02:13.628 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** Friday 19 August 2022 23:46:41 +0000 (0:00:00.088) 0:02:13.716 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:41 +0000 (0:00:00.079) 0:02:13.795 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:41 +0000 (0:00:00.123) 0:02:13.918 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:42 +0000 (0:00:01.005) 0:02:14.925 ********* ok: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": 78, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', '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}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": 1098, "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:43 +0000 (0:00:01.284) 0:02:16.209 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-1660952778.211394-17936-150574268345640/source", "unsafe_writes": false, "validate": null } }, "md5sum": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-1660952785.367115-18057-75416663684683/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8a4272fec62b2f63fb8cbc5ade40bcf5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660952785.367115-18057-75416663684683/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952793.5207334-18260-83357007654722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952793.5207334-18260-83357007654722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "ec4f5c91855d526e10963c7678121d42168d319b", "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-1660952794.8275948-18304-163400617449839/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952794.8275948-18304-163400617449839/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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-1660952797.953792-18416-78002293282234/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952797.953792-18416-78002293282234/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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-1660952798.5979428-18416-10382085355086/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952798.5979428-18416-10382085355086/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "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": "71e6277b21b00503d850a500a91ede5d172122bc", "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-1660952799.8921669-18505-223790424141060/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa250a5a94976fa4957f7f0543182df8", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2062, "src": "/root/.ansible/tmp/ansible-tmp-1660952799.8921669-18505-223790424141060/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": 78, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": 1098, "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:44 +0000 (0:00:00.154) 0:02:16.363 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "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: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', '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}'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d] *** Friday 19 August 2022 23:46:44 +0000 (0:00:00.098) 0:02:16.462 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:46:44 +0000 (0:00:00.133) 0:02:16.595 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:46:44 +0000 (0:00:00.066) 0:02:16.662 ********* changed: [sut] => (item={'name': 'output-elasticsearch-elasticsearch_output_ops', 'type': 'output', 'weight': '31', 'state': 'present', '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'}], 'mode': '0600', 'owner': 'root', 'group': 'root'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0acbbd214d4f586c38ca68b426ee9623be2f5100", "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": "91fa182fd5c3178ec28e9fa3ab4b381b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2038, "src": "/root/.ansible/tmp/ansible-tmp-1660952804.6962159-18642-232677414877179/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:46:45 +0000 (0:00:00.894) 0:02:17.556 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "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-1660952761.0561843-17542-232495311221027/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.0561843-17542-232495311221027/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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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": "b7d67e36f48a188643b14805c03cb94c45d313c7", "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-1660952761.7501254-17542-88880337194604/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952761.7501254-17542-88880337194604/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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\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": "72229297706650ab0ed2b927e5239cfcfa5cd514", "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-1660952763.8355196-17611-171671714164862/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952763.8355196-17611-171671714164862/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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-1660952767.2420402-17675-185808923039697/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.2420402-17675-185808923039697/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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-1660952767.8809237-17675-23672730547764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952767.8809237-17675-23672730547764/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-1660952768.5105581-17675-185616289239953/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-1660952768.5105581-17675-185616289239953/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-1660952769.143505-17675-92887965679376/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-1660952769.143505-17675-92887965679376/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-1660952769.7773957-17675-140429674510583/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-1660952769.7773957-17675-140429674510583/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "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": "b14240407e89aa786eb9c1071a2eae0785befb58", "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-1660952771.0693765-17776-56564125503885/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952771.0693765-17776-56564125503885/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "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-1660952778.211394-17936-150574268345640/source", "unsafe_writes": false, "validate": null } }, "md5sum": "5e92fdb5adca427abfe757853d8c0dc5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660952778.211394-17936-150574268345640/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-13-80.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.13.80';\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": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "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-1660952785.367115-18057-75416663684683/source", "unsafe_writes": false, "validate": null } }, "md5sum": "8a4272fec62b2f63fb8cbc5ade40bcf5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660952785.367115-18057-75416663684683/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "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": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "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": 356, "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "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-1660952793.5207334-18260-83357007654722/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952793.5207334-18260-83357007654722/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "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": "ec4f5c91855d526e10963c7678121d42168d319b", "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-1660952794.8275948-18304-163400617449839/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952794.8275948-18304-163400617449839/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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-1660952797.953792-18416-78002293282234/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952797.953792-18416-78002293282234/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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-1660952798.5979428-18416-10382085355086/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952798.5979428-18416-10382085355086/source", "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "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": "71e6277b21b00503d850a500a91ede5d172122bc", "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-1660952799.8921669-18505-223790424141060/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa250a5a94976fa4957f7f0543182df8", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2062, "src": "/root/.ansible/tmp/ansible-tmp-1660952799.8921669-18505-223790424141060/source", "state": "file", "uid": 0 } ] }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "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": 78, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "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": 1098, "state": "file", "uid": 0 } ] }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0acbbd214d4f586c38ca68b426ee9623be2f5100", "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": "0acbbd214d4f586c38ca68b426ee9623be2f5100", "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-1660952804.6962159-18642-232677414877179/source", "unsafe_writes": false, "validate": null } }, "md5sum": "91fa182fd5c3178ec28e9fa3ab4b381b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2038, "src": "/root/.ansible/tmp/ansible-tmp-1660952804.6962159-18642-232677414877179/source", "state": "file", "uid": 0 } ] } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:46:45 +0000 (0:00:00.154) 0:02:17.711 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-elasticsearch_output_ops', 'type': 'output', 'weight': '31', 'state': 'present', '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'}], 'mode': '0600', 'owner': 'root', 'group': 'root'}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d (no_log)] *** Friday 19 August 2022 23:46:45 +0000 (0:00:00.212) 0:02:17.924 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** Friday 19 August 2022 23:46:45 +0000 (0:00:00.069) 0:02:17.994 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** Friday 19 August 2022 23:46:45 +0000 (0:00:00.068) 0:02:18.062 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** Friday 19 August 2022 23:46:45 +0000 (0:00:00.084) 0:02:18.147 ********* TASK [Manage firewall for specified ports] ************************************* Friday 19 August 2022 23:46:45 +0000 (0:00:00.060) 0:02:18.208 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Prepare _logging_selinux_ports to drop ports defined in the selinux policy] *** Friday 19 August 2022 23:46:46 +0000 (0:00:00.067) 0:02:18.275 ********* ok: [sut] => { "ansible_facts": { "_logging_selinux_ports": [] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Drop ports defined in the selinux policy] *** Friday 19 August 2022 23:46:46 +0000 (0:00:00.070) 0:02:18.345 ********* TASK [Manage selinux for specified ports] ************************************** Friday 19 August 2022 23:46:46 +0000 (0:00:00.058) 0:02:18.404 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** Friday 19 August 2022 23:46:46 +0000 (0:00:00.069) 0:02:18.474 ********* skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** Friday 19 August 2022 23:46:46 +0000 (0:00:00.103) 0:02:18.577 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** Friday 19 August 2022 23:46:46 +0000 (0:00:00.078) 0:02:18.655 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** Friday 19 August 2022 23:46:46 +0000 (0:00:00.077) 0:02:18.733 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** Friday 19 August 2022 23:46:46 +0000 (0:00:00.078) 0:02:18.811 ********* ok: [sut] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:45:54 UTC", "ActiveEnterTimestampMonotonic": "487142014", "ActiveExitTimestamp": "Fri 2022-08-19 23:45:54 UTC", "ActiveExitTimestampMonotonic": "486826580", "ActiveState": "active", "After": "system.slice sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:45:54 UTC", "AssertTimestampMonotonic": "487136167", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "29276000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:45:54 UTC", "ConditionTimestampMonotonic": "487136162", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "\"man:rsyslogd(8)\" https://www.rsyslog.com/doc/", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9257", "ExecMainStartTimestamp": "Fri 2022-08-19 23:45:54 UTC", "ExecMainStartTimestampMonotonic": "487137566", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Fri 2022-08-19 23:45:54 UTC] ; stop_time=[n/a] ; pid=9257 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; flags= ; start_time=[Fri 2022-08-19 23:45:54 UTC] ; stop_time=[n/a] ; pid=9257 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-08-19 23:45:54 UTC", "InactiveEnterTimestampMonotonic": "487135401", "InactiveExitTimestamp": "Fri 2022-08-19 23:45:54 UTC", "InactiveExitTimestampMonotonic": "487138102", "InvocationID": "026c65bacee5421a89804b03f5170b9a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "13959", "LimitNPROCSoft": "13959", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13959", "LimitSIGPENDINGSoft": "13959", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9257", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1073152", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:45:54 UTC", "StateChangeTimestampMonotonic": "487142014", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22334", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** Friday 19 August 2022 23:46:47 +0000 (0:00:00.450) 0:02:19.262 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** Friday 19 August 2022 23:46:47 +0000 (0:00:00.067) 0:02:19.329 ********* skipping: [sut] => {} RUNNING HANDLER [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** Friday 19 August 2022 23:46:47 +0000 (0:00:00.025) 0:02:19.354 ********* changed: [sut] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:45:54 UTC", "ActiveEnterTimestampMonotonic": "487142014", "ActiveExitTimestamp": "Fri 2022-08-19 23:45:54 UTC", "ActiveExitTimestampMonotonic": "486826580", "ActiveState": "active", "After": "system.slice sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:45:54 UTC", "AssertTimestampMonotonic": "487136167", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "29510000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:45:54 UTC", "ConditionTimestampMonotonic": "487136162", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "\"man:rsyslogd(8)\" https://www.rsyslog.com/doc/", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9257", "ExecMainStartTimestamp": "Fri 2022-08-19 23:45:54 UTC", "ExecMainStartTimestampMonotonic": "487137566", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Fri 2022-08-19 23:45:54 UTC] ; stop_time=[n/a] ; pid=9257 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; flags= ; start_time=[Fri 2022-08-19 23:45:54 UTC] ; stop_time=[n/a] ; pid=9257 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-08-19 23:45:54 UTC", "InactiveEnterTimestampMonotonic": "487135401", "InactiveExitTimestamp": "Fri 2022-08-19 23:45:54 UTC", "InactiveExitTimestampMonotonic": "487138102", "InvocationID": "026c65bacee5421a89804b03f5170b9a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "13959", "LimitNPROCSoft": "13959", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13959", "LimitSIGPENDINGSoft": "13959", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9257", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1073152", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:45:54 UTC", "StateChangeTimestampMonotonic": "487142014", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22334", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Ensure config file size and counts] ************************************** Friday 19 August 2022 23:46:47 +0000 (0:00:00.874) 0:02:20.228 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/tasks/check_daemon_config_files.yml for sut TASK [Get info of /etc/rsyslog.conf] ******************************************* Friday 19 August 2022 23:46:48 +0000 (0:00:00.128) 0:02:20.356 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1660952807.9043117, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1660952760.7027175, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 50332245, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952760.4727197, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "744092843", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get file counts in /etc/rsyslog.d] *************************************** Friday 19 August 2022 23:46:48 +0000 (0:00:00.276) 0:02:20.633 ********* ok: [sut] => { "changed": false, "examined": 18, "files": [ { "atime": 1660952274.857, "ctime": 1660761849.2116194, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16810791, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1656010652.0, "nlink": 1, "path": "/etc/rsyslog.d/21-cloudinit.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 255, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952807.9043117, "ctime": 1660952761.60771, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 75498006, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952761.3707118, "nlink": 1, "path": "/etc/rsyslog.d/00-global.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952807.9043117, "ctime": 1660952762.294704, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 100663829, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952762.062706, "nlink": 1, "path": "/etc/rsyslog.d/05-common-defaults.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 73, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952807.9043117, "ctime": 1660952764.3576863, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 125829270, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952764.129688, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952774.9005954, "ctime": 1660952767.7646568, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 167772817, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952767.5366588, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 23, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952775.4815905, "ctime": 1660952768.3986514, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 192938386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952768.1716533, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 356, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952776.0545855, "ctime": 1660952769.030646, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 218104465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952768.801648, "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": 1660952776.6255805, "ctime": 1660952769.6616406, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 243270289, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952769.4296424, "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": 1660952777.1985757, "ctime": 1660952770.297635, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 268436113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952770.067637, "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": 1660952807.9043117, "ctime": 1660952771.595624, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 293601937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952771.363626, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 796, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952807.9043117, "ctime": 1660952778.7345624, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 469762577, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952778.5025644, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1339, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952807.9043117, "ctime": 1660952785.879501, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 645923091, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952785.653503, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1315, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952807.9043117, "ctime": 1660952794.0504308, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 830472344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952793.8204327, "nlink": 1, "path": "/etc/rsyslog.d/10-output-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 128, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952807.9043117, "ctime": 1660952795.3584194, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 855638421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952795.1294215, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952803.0433533, "ctime": 1660952798.4813926, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 889192913, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952798.2473946, "nlink": 1, "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 78, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952803.6183484, "ctime": 1660952799.124387, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8388829, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952798.893389, "nlink": 1, "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1098, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952807.9043117, "ctime": 1660952800.415376, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 33555025, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1660952800.184378, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2062, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952807.9043117, "ctime": 1660952805.2173347, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 117440722, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1660952804.9883366, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2038, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 18 } TASK [Check rsyslog.conf size (less)] ****************************************** Friday 19 August 2022 23:46:48 +0000 (0:00:00.290) 0:02:20.924 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** Friday 19 August 2022 23:46:48 +0000 (0:00:00.076) 0:02:21.000 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** Friday 19 August 2022 23:46:48 +0000 (0:00:00.068) 0:02:21.069 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** Friday 19 August 2022 23:46:48 +0000 (0:00:00.072) 0:02:21.142 ********* ok: [sut] => (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": 1660952807.9043117, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1660952771.595624, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952771.363626, "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": 796, "uid": 0, "version": "1560940738", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1660952807.9043117, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "ctime": 1660952778.7345624, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 469762577, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952778.5025644, "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": 1339, "uid": 0, "version": "3011852100", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1660952807.9043117, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "ctime": 1660952785.879501, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 645923091, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952785.653503, "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": 1315, "uid": 0, "version": "2487145202", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** Friday 19 August 2022 23:46:49 +0000 (0:00:00.751) 0:02:21.893 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check /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] *** Friday 19 August 2022 23:46:49 +0000 (0:00:00.066) 0:02:21.960 ********* ok: [sut] => (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": 1660952807.9043117, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1660952771.595624, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952771.363626, "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": 796, "uid": 0, "version": "1560940738", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1660952807.9043117, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4978c0208a79cfa3b2d0fcd799966a17f285c299", "ctime": 1660952778.7345624, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 469762577, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952778.5025644, "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": 1339, "uid": 0, "version": "3011852100", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (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": 1660952807.9043117, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9da9b623dc857e7ee3b680b05d3f487d2a4a7eab", "ctime": 1660952785.879501, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 645923091, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952785.653503, "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": 1315, "uid": 0, "version": "2487145202", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check "/etc/rsyslog.d/90-input-ovirt-ovirt_bogus_input.conf does not exist"] *** Friday 19 August 2022 23:46:50 +0000 (0:00:00.741) 0:02:22.701 ********* ok: [sut] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ Friday 19 August 2022 23:46:50 +0000 (0:00:00.269) 0:02:22.970 ********* ok: [sut] => { "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.003588", "end": "2022-08-19 23:46:50.938840", "rc": 0, "start": "2022-08-19 23:46:50.935252" } STDOUT: input(name="ovirt_collectd_input" type="imtcp" port="44514") TASK [Check index_prefix is project.ovirt-metrics in /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf] *** Friday 19 August 2022 23:46:50 +0000 (0:00:00.268) 0:02:23.239 ********* ok: [sut] => { "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.003670", "end": "2022-08-19 23:46:51.209937", "rc": 0, "start": "2022-08-19 23:46:51.206267" } STDOUT: set $.index_prefix = "project.ovirt-metrics" & "-" & "test-engine" & "." & "111-222-333" & "."; TASK [Check input file is /var/log/ovirt-engine/engine.log in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** Friday 19 August 2022 23:46:51 +0000 (0:00:00.272) 0:02:23.511 ********* ok: [sut] => { "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:01.004842", "end": "2022-08-19 23:46:52.481790", "rc": 0, "start": "2022-08-19 23:46:51.476948" } STDOUT: input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input" TASK [Check index_prefix is project.ovirt-logs in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** Friday 19 August 2022 23:46:52 +0000 (0:00:01.273) 0:02:24.784 ********* ok: [sut] => { "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.003687", "end": "2022-08-19 23:46:52.754321", "rc": 0, "start": "2022-08-19 23:46:52.750634" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "444-555-666" & "."; TASK [Check input file is /var/log/vdsm/vdsm.log in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** Friday 19 August 2022 23:46:52 +0000 (0:00:00.268) 0:02:25.053 ********* ok: [sut] => { "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.003679", "end": "2022-08-19 23:46:53.024035", "rc": 0, "start": "2022-08-19 23:46:53.020356" } STDOUT: input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input" TASK [Check index_prefix is project.ovirt-logs in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** Friday 19 August 2022 23:46:53 +0000 (0:00:00.271) 0:02:25.324 ********* ok: [sut] => { "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.003740", "end": "2022-08-19 23:46:53.297334", "rc": 0, "start": "2022-08-19 23:46:53.293594" } 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"] *** Friday 19 August 2022 23:46:53 +0000 (0:00:00.275) 0:02:25.600 ********* ok: [sut] => (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.003549", "end": "2022-08-19 23:46:53.571423", "item": "dynSearchIndex=.on.", "rc": 0, "start": "2022-08-19 23:46:53.567874" } STDOUT: dynSearchIndex="on" ok: [sut] => (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.003407", "end": "2022-08-19 23:46:53.781209", "item": "bulkmode=.on.", "rc": 0, "start": "2022-08-19 23:46:53.777802" } STDOUT: bulkmode="on" ok: [sut] => (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.003384", "end": "2022-08-19 23:46:53.988593", "item": "dynbulkid=.on.", "rc": 0, "start": "2022-08-19 23:46:53.985209" } STDOUT: dynbulkid="on" ok: [sut] => (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.003427", "end": "2022-08-19 23:46:54.195495", "item": "allowUnsignedCerts=.off.", "rc": 0, "start": "2022-08-19 23:46:54.192068" } STDOUT: allowUnsignedCerts="off" ok: [sut] => (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.003373", "end": "2022-08-19 23:46:54.404176", "item": "usehttps=.on.", "rc": 0, "start": "2022-08-19 23:46:54.400803" } STDOUT: usehttps="on" ok: [sut] => (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.003423", "end": "2022-08-19 23:46:54.610340", "item": "retryfailures=.on.", "rc": 0, "start": "2022-08-19 23:46:54.606917" } STDOUT: retryfailures="on" TASK [Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** Friday 19 August 2022 23:46:54 +0000 (0:00:01.312) 0:02:26.912 ********* ok: [sut] => (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.003581", "end": "2022-08-19 23:46:54.880431", "item": "dynSearchIndex=.off.", "rc": 0, "start": "2022-08-19 23:46:54.876850" } STDOUT: dynSearchIndex="off" ok: [sut] => (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.003343", "end": "2022-08-19 23:46:55.089337", "item": "bulkmode=.off.", "rc": 0, "start": "2022-08-19 23:46:55.085994" } STDOUT: bulkmode="off" ok: [sut] => (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.004062", "end": "2022-08-19 23:46:55.297272", "item": "dynbulkid=.off.", "rc": 0, "start": "2022-08-19 23:46:55.293210" } STDOUT: dynbulkid="off" ok: [sut] => (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.003322", "end": "2022-08-19 23:46:55.504579", "item": "allowUnsignedCerts=.on.", "rc": 0, "start": "2022-08-19 23:46:55.501257" } STDOUT: allowUnsignedCerts="on" ok: [sut] => (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.003329", "end": "2022-08-19 23:46:55.712013", "item": "usehttps=.off.", "rc": 0, "start": "2022-08-19 23:46:55.708684" } STDOUT: usehttps="off" ok: [sut] => (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.003365", "end": "2022-08-19 23:46:55.918862", "item": "retryfailures=.off.", "rc": 0, "start": "2022-08-19 23:46:55.915497" } STDOUT: retryfailures="off" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** Friday 19 August 2022 23:46:56 +0000 (0:00:01.350) 0:02:28.262 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "server=\\[\"logging-es0\", \"logging-es1\"\\]", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003356", "end": "2022-08-19 23:46:56.231328", "rc": 0, "start": "2022-08-19 23:46:56.227972" } STDOUT: server=["logging-es0", "logging-es1"] TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** Friday 19 August 2022 23:46:56 +0000 (0:00:00.267) 0:02:28.530 ********* ok: [sut] => { "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.003301", "end": "2022-08-19 23:46:56.499113", "rc": 0, "start": "2022-08-19 23:46:56.495812" } STDOUT: server=["logging-es-ops0", "logging-es-ops1"] TASK [END TEST CASE 1; Ensure basic ovirt configuration works] ***************** Friday 19 August 2022 23:46:56 +0000 (0:00:00.264) 0:02:28.795 ********* TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** Friday 19 August 2022 23:46:56 +0000 (0:00:00.166) 0:02:28.961 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ Friday 19 August 2022 23:46:56 +0000 (0:00:00.071) 0:02:29.033 ********* ok: [sut] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* Friday 19 August 2022 23:46:56 +0000 (0:00:00.073) 0:02:29.107 ********* ok: [sut] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** Friday 19 August 2022 23:46:56 +0000 (0:00:00.073) 0:02:29.180 ********* TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** Friday 19 August 2022 23:46:57 +0000 (0:00:00.061) 0:02:29.241 ********* TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** Friday 19 August 2022 23:46:57 +0000 (0:00:00.058) 0:02:29.300 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* Friday 19 August 2022 23:46:57 +0000 (0:00:00.071) 0:02:29.372 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** Friday 19 August 2022 23:46:57 +0000 (0:00:00.068) 0:02:29.440 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** Friday 19 August 2022 23:46:57 +0000 (0:00:00.069) 0:02:29.510 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Use a debug var to avoid an empty dict in with_dict] *** Friday 19 August 2022 23:46:57 +0000 (0:00:00.069) 0:02:29.579 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** Friday 19 August 2022 23:46:57 +0000 (0:00:00.070) 0:02:29.649 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** Friday 19 August 2022 23:46:57 +0000 (0:00:00.070) 0:02:29.720 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:46:57 +0000 (0:00:00.109) 0:02:29.829 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:46:57 +0000 (0:00:00.100) 0:02:29.930 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:46:58 +0000 (0:00:00.438) 0:02:30.368 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml] *** Friday 19 August 2022 23:46:58 +0000 (0:00:00.143) 0:02:30.512 ********* skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** Friday 19 August 2022 23:46:58 +0000 (0:00:00.139) 0:02:30.651 ********* included: /WORKDIR/dist-git-logging-requirements-OlAoZz/roles/rsyslog/tasks/main_core.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** Friday 19 August 2022 23:46:58 +0000 (0:00:00.136) 0:02:30.787 ********* ok: [sut] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.044194", "end": "2022-08-19 23:46:58.813354", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-08-19 23:46:58.769160" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** Friday 19 August 2022 23:46:58 +0000 (0:00:00.328) 0:02:31.116 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-8.2102.0-105.el9.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-105.el9.x86_64", "Removed: rsyslog-logrotate-8.2102.0-105.el9.x86_64", "Removed: rsyslog-mmjsonparse-8.2102.0-105.el9.x86_64", "Removed: rsyslog-mmnormalize-8.2102.0-105.el9.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:47:00 +0000 (0:00:02.026) 0:02:33.143 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-logrotate-8.2102.0-105.el9.x86_64", "Installed: rsyslog-8.2102.0-105.el9.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** Friday 19 August 2022 23:47:02 +0000 (0:00:02.044) 0:02:35.187 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** Friday 19 August 2022 23:47:03 +0000 (0:00:00.059) 0:02:35.247 ********* ok: [sut] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "1.el9", "source": "rpm", "version": "1.39.12" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "3.el9", "source": "rpm", "version": "2.3.1" } ], "adobe-source-code-pro-fonts": [ { "arch": "noarch", "epoch": null, "name": "adobe-source-code-pro-fonts", "release": "12.el9.1", "source": "rpm", "version": "2.030.1.050" } ], "alternatives": [ { "arch": "x86_64", "epoch": null, "name": "alternatives", "release": "2.el9", "source": "rpm", "version": "1.20" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "1.el9", "source": "rpm", "version": "1.2.5" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "13.el9", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "4.el9", "source": "rpm", "version": "5.1.8" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "14.el9", "source": "rpm", "version": "1.07.1" } ], "beakerlib": [ { "arch": "noarch", "epoch": null, "name": "beakerlib", "release": "1.el9", "source": "rpm", "version": "1.29.1" } ], "beakerlib-redhat": [ { "arch": "noarch", "epoch": null, "name": "beakerlib-redhat", "release": "33.el9", "source": "rpm", "version": "1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "8.el9", "source": "rpm", "version": "1.0.8" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "5.el9", "source": "rpm", "version": "1.17.1" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "90.2.el9_0", "source": "rpm", "version": "2022.2.54" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el9", "source": "rpm", "version": "3.4" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "2.el9", "source": "rpm", "version": "1.20" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el9", "source": "rpm", "version": "4.2" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "4.el9", "source": "rpm", "version": "22.1" } ], "cloud-utils-growpart": [ { "arch": "x86_64", "epoch": null, "name": "cloud-utils-growpart", "release": "10.el9", "source": "rpm", "version": "0.31" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "32.el9", "source": "rpm", "version": "8.32" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "32.el9", "source": "rpm", "version": "8.32" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "16.el9", "source": "rpm", "version": "2.13" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "27.el9", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "27.el9", "source": "rpm", "version": "2.9.6" } ], "createrepo_c": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c", "release": "4.el9_0", "source": "rpm", "version": "0.17.7" } ], "createrepo_c-libs": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c-libs", "release": "4.el9_0", "source": "rpm", "version": "0.17.7" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "8.el9", "source": "rpm", "version": "1.5.7" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "8.el9", "source": "rpm", "version": "1.5.7" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "27.20190603git.el9_0", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.git0fbe86f.el9", "source": "rpm", "version": "20220815" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.git0fbe86f.el9", "source": "rpm", "version": "20220815" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "5.el9", "source": "rpm", "version": "2.4.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "19.el9", "source": "rpm", "version": "7.76.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "20.el9", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-broker": [ { "arch": "x86_64", "epoch": null, "name": "dbus-broker", "release": "6.el9", "source": "rpm", "version": "28" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "5.el9", "source": "rpm", "version": "1.12.20" } ], "dejavu-sans-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-fonts", "release": "18.el9", "source": "rpm", "version": "2.37" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 9, "name": "device-mapper", "release": "3.el9", "source": "rpm", "version": "1.02.185" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 9, "name": "device-mapper-libs", "release": "3.el9", "source": "rpm", "version": "1.02.185" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "17.b1.el9", "source": "rpm", "version": "4.4.2" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "17.b1.el9", "source": "rpm", "version": "4.4.2" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "12.el9", "source": "rpm", "version": "3.7" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "7.el9", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "13.git20220816.el9", "source": "rpm", "version": "057" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "2.el9_0", "source": "rpm", "version": "6" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "12.el9", "source": "rpm", "version": "16" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "2.el9", "source": "rpm", "version": "38" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el9", "source": "rpm", "version": "0.187" } ], "emacs-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "emacs-filesystem", "release": "6.el9", "source": "rpm", "version": "27.2" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el9", "source": "rpm", "version": "5.16" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "1.el9", "source": "rpm", "version": "2.4.7" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "8.el9", "source": "rpm", "version": "5.39" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "8.el9", "source": "rpm", "version": "5.39" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "2.el9", "source": "rpm", "version": "3.16" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "5.el9", "source": "rpm", "version": "4.8.0" } ], "firewalld": [ { "arch": "noarch", "epoch": null, "name": "firewalld", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "firewalld-filesystem": [ { "arch": "noarch", "epoch": null, "name": "firewalld-filesystem", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "fonts-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "fonts-filesystem", "release": "7.el9.1", "source": "rpm", "version": "2.0.5" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el9", "source": "rpm", "version": "2.9.9" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "6.el9", "source": "rpm", "version": "5.1.0" } ], "gawk-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "gawk-all-langpacks", "release": "6.el9", "source": "rpm", "version": "5.1.0" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "4.el9", "source": "rpm", "version": "1.19" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "5.el9", "source": "rpm", "version": "1.0.7" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "6.el9", "source": "rpm", "version": "20191217" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "6.el9", "source": "rpm", "version": "20191217" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "7.el9", "source": "rpm", "version": "0.21" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "7.el9", "source": "rpm", "version": "0.21" } ], "git": [ { "arch": "x86_64", "epoch": null, "name": "git", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "git-core": [ { "arch": "x86_64", "epoch": null, "name": "git-core", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "git-core-doc": [ { "arch": "noarch", "epoch": null, "name": "git-core-doc", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "5.el9", "source": "rpm", "version": "2.68.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "glibc-langpack-en": [ { "arch": "x86_64", "epoch": null, "name": "glibc-langpack-en", "release": "40.el9", "source": "rpm", "version": "2.34" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el9", "source": "rpm", "version": "6.2.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el9_0", "source": "rpm", "version": "2.3.3" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "5.el9_0", "source": "rpm", "version": "3.7.6" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "10.el9", "source": "rpm", "version": "1.68.0" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "613798eb", "source": "rpm", "version": "3228467c" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "6.el9", "source": "rpm", "version": "1.15.1" } ], "gpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "gpm-libs", "release": "29.el9", "source": "rpm", "version": "1.20.7" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "5.el9", "source": "rpm", "version": "3.6" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "10.el9", "source": "rpm", "version": "1.22.4" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "38.el9", "source": "rpm", "version": "2.06" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "60.el9", "source": "rpm", "version": "8.40" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "4.el9", "source": "rpm", "version": "0.8.4" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "1.el9", "source": "rpm", "version": "1.12" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el9", "source": "rpm", "version": "3.23" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "9.4.el9", "source": "rpm", "version": "0.348" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "4.el9", "source": "rpm", "version": "1.4" } ], "inih": [ { "arch": "x86_64", "epoch": null, "name": "inih", "release": "6.el9", "source": "rpm", "version": "49" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "initscripts-rename-device": [ { "arch": "x86_64", "epoch": null, "name": "initscripts-rename-device", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "initscripts-service": [ { "arch": "noarch", "epoch": null, "name": "initscripts-service", "release": "1.el9", "source": "rpm", "version": "10.11.4" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "5.el9", "source": "rpm", "version": "1.0.0" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "1.el9", "source": "rpm", "version": "5.18.0" } ], "iproute-tc": [ { "arch": "x86_64", "epoch": null, "name": "iproute-tc", "release": "1.el9", "source": "rpm", "version": "5.18.0" } ], "ipset": [ { "arch": "x86_64", "epoch": null, "name": "ipset", "release": "6.el9", "source": "rpm", "version": "7.11" } ], "ipset-libs": [ { "arch": "x86_64", "epoch": null, "name": "ipset-libs", "release": "6.el9", "source": "rpm", "version": "7.11" } ], "iptables-libs": [ { "arch": "x86_64", "epoch": null, "name": "iptables-libs", "release": "4.el9", "source": "rpm", "version": "1.8.8" } ], "iptables-nft": [ { "arch": "x86_64", "epoch": null, "name": "iptables-nft", "release": "4.el9", "source": "rpm", "version": "1.8.8" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "7.el9", "source": "rpm", "version": "20210202" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "3.el9", "source": "rpm", "version": "1.9.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el9", "source": "rpm", "version": "2.14" } ], "jitterentropy": [ { "arch": "x86_64", "epoch": null, "name": "jitterentropy", "release": "1.el9", "source": "rpm", "version": "3.4.0" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "11.el9", "source": "rpm", "version": "0.14" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el9", "source": "rpm", "version": "1.6.6" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "8.el9", "source": "rpm", "version": "2.4.0" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "8.el9", "source": "rpm", "version": "2.4.0" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "145.el9", "source": "rpm", "version": "5.14.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "5.el9", "source": "rpm", "version": "2.0.24" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "4.el9", "source": "rpm", "version": "1.6.1" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "4.el9", "source": "rpm", "version": "1.6.1" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "7.el9", "source": "rpm", "version": "28" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "7.el9", "source": "rpm", "version": "28" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "10.el9", "source": "rpm", "version": "0.8.7" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "22.el9", "source": "rpm", "version": "1.19.1" } ], "langpacks-core-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-core-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "langpacks-core-font-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-core-font-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "langpacks-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-en", "release": "16.el9", "source": "rpm", "version": "3.0" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el9_0", "source": "rpm", "version": "590" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "3.el9", "source": "rpm", "version": "2.3.1" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el9", "source": "rpm", "version": "3.5.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el9", "source": "rpm", "version": "2.5.5" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el9", "source": "rpm", "version": "2.5.1" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "53.el9", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libbpf": [ { "arch": "x86_64", "epoch": 2, "name": "libbpf", "release": "1.el9", "source": "rpm", "version": "0.6.0" } ], "libbrotli": [ { "arch": "x86_64", "epoch": null, "name": "libbrotli", "release": "6.el9", "source": "rpm", "version": "1.0.9" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "8.el9", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "7.el9", "source": "rpm", "version": "0.8.2" } ], "libcap-ng-python3": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng-python3", "release": "7.el9", "source": "rpm", "version": "0.8.2" } ], "libcbor": [ { "arch": "x86_64", "epoch": null, "name": "libcbor", "release": "5.el9", "source": "rpm", "version": "0.7.0" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "53.el9", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el9", "source": "rpm", "version": "0.1.18" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "19.el9", "source": "rpm", "version": "7.76.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "23.el9", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "53.el9", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "53.el9", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "libdnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "libdnf-plugin-subscription-manager", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "libeconf": [ { "arch": "x86_64", "epoch": null, "name": "libeconf", "release": "2.el9", "source": "rpm", "version": "0.4.1" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "37.20210216cvs.el9", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "4.el9", "source": "rpm", "version": "0.1.11" } ], "libev": [ { "arch": "x86_64", "epoch": null, "name": "libev", "release": "5.el9", "source": "rpm", "version": "4.33" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "6.el9", "source": "rpm", "version": "2.1.12" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el9", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "7.el9", "source": "rpm", "version": "3.4.2" } ], "libfido2": [ { "arch": "x86_64", "epoch": null, "name": "libfido2", "release": "7.el9", "source": "rpm", "version": "1.6.0" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "4.el9_0", "source": "rpm", "version": "1.10.0" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "5.el9", "source": "rpm", "version": "1.42" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "3.el9", "source": "rpm", "version": "41.0" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "7.el9", "source": "rpm", "version": "2.3.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "53.el9", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "3.el9", "source": "rpm", "version": "1.3.1" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "3.el9", "source": "rpm", "version": "1.3.1" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "4.el9", "source": "rpm", "version": "1.5.1" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el9", "source": "rpm", "version": "2.5.2" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "4.el9", "source": "rpm", "version": "2.0.6" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "3.el9", "source": "rpm", "version": "1.5.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "15.el9", "source": "rpm", "version": "1.0.4" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "2.el9", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "4.el9", "source": "rpm", "version": "1.8" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "4.el9", "source": "rpm", "version": "1.0.8" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "21.el9", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "11.el9", "source": "rpm", "version": "2.5.4" } ], "libnftnl": [ { "arch": "x86_64", "epoch": null, "name": "libnftnl", "release": "1.el9", "source": "rpm", "version": "1.2.2" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "5.el9", "source": "rpm", "version": "1.43.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el9", "source": "rpm", "version": "3.7.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el9", "source": "rpm", "version": "3.7.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "53.el9", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "4.el9", "source": "rpm", "version": "1.10.0" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "4.el9", "source": "rpm", "version": "1.5.3" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "5.el9", "source": "rpm", "version": "0.21.1" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "8.el9", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "53.el9", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "3.el9", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "noarch", "epoch": null, "name": "libreport-filesystem", "release": "6.el9", "source": "rpm", "version": "2.15.2" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "7.el9", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "2.el9", "source": "rpm", "version": "2.5.2" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "2.el9", "source": "rpm", "version": "3.4" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "1.1.el9", "source": "rpm", "version": "3.4" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "4.el9", "source": "rpm", "version": "2.13" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el9", "source": "rpm", "version": "0.7.22" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "3.el9", "source": "rpm", "version": "1.46.5" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el9", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el9", "source": "rpm", "version": "0.9.6" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "2.1.el9", "source": "rpm", "version": "11.3.1" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "10.el9", "source": "rpm", "version": "2.1.1" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el9", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "7.el9", "source": "rpm", "version": "4.16.0" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el9", "source": "rpm", "version": "1.4.6" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "14.el9", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el9", "source": "rpm", "version": "0.12.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.el9", "source": "rpm", "version": "1.3.3" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "15.el9", "source": "rpm", "version": "0.9.10" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "11.el9", "source": "rpm", "version": "0.63" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "6.el9", "source": "rpm", "version": "1.2.1" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "3.el9", "source": "rpm", "version": "0.3.2" } ], "libverto-libev": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libev", "release": "3.el9", "source": "rpm", "version": "0.3.2" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "3.el9", "source": "rpm", "version": "4.4.18" } ], "libxcrypt-compat": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt-compat", "release": "3.el9", "source": "rpm", "version": "4.4.18" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "2.el9", "source": "rpm", "version": "2.9.13" } ], "libxslt": [ { "arch": "x86_64", "epoch": null, "name": "libxslt", "release": "9.el9", "source": "rpm", "version": "1.1.34" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "7.el9", "source": "rpm", "version": "0.2.5" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "2.el9", "source": "rpm", "version": "1.5.1" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "127.el9", "source": "rpm", "version": "20220708" } ], "linux-firmware-whence": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware-whence", "release": "127.el9", "source": "rpm", "version": "20220708" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "3.el9", "source": "rpm", "version": "0.9.29" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "7.el9", "source": "rpm", "version": "3.18.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "9.el9", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "6.el9", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "4.el9", "source": "rpm", "version": "5.4.2" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "5.el9", "source": "rpm", "version": "1.9.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "7.el9", "source": "rpm", "version": "2.10" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "7.el9", "source": "rpm", "version": "4.3" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "6.el9", "source": "rpm", "version": "2.9.3" } ], "microcode_ctl": [ { "arch": "noarch", "epoch": 4, "name": "microcode_ctl", "release": "1.el9", "source": "rpm", "version": "20220510" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "7.el9", "source": "rpm", "version": "4.1.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "8.20210508.el9", "source": "rpm", "version": "6.2" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "1.el9_0", "source": "rpm", "version": "3.8" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el9", "source": "rpm", "version": "0.52.21" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "11.el9", "source": "rpm", "version": "2.5.4" } ], "nftables": [ { "arch": "x86_64", "epoch": 1, "name": "nftables", "release": "2.el9", "source": "rpm", "version": "1.0.4" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "8.el9", "source": "rpm", "version": "1.6" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "8.el9", "source": "rpm", "version": "2.0.14" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "5.el9", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "5.el9", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "3.el9", "source": "rpm", "version": "2.6.2" } ], "openldap-compat": [ { "arch": "x86_64", "epoch": null, "name": "openldap-compat", "release": "3.el9", "source": "rpm", "version": "2.6.2" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "22.el9", "source": "rpm", "version": "8.7p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "41.el9_0", "source": "rpm", "version": "3.0.1" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "41.el9_0", "source": "rpm", "version": "3.0.1" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "7.el9", "source": "rpm", "version": "0.4.11" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el9", "source": "rpm", "version": "1.77" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "2.el9", "source": "rpm", "version": "0.24.1" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "2.el9", "source": "rpm", "version": "0.24.1" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "12.el9", "source": "rpm", "version": "1.5.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "2.el9", "source": "rpm", "version": "3.5" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "12.el9", "source": "rpm", "version": "0.80" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "5.el9", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "3.el9.3", "source": "rpm", "version": "8.44" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el9", "source": "rpm", "version": "10.40" } ], "pcre2-syntax": [ { "arch": "noarch", "epoch": null, "name": "pcre2-syntax", "release": "2.el9", "source": "rpm", "version": "10.40" } ], "perl-AutoLoader": [ { "arch": "noarch", "epoch": 0, "name": "perl-AutoLoader", "release": "479.el9", "source": "rpm", "version": "5.74" } ], "perl-B": [ { "arch": "x86_64", "epoch": 0, "name": "perl-B", "release": "479.el9", "source": "rpm", "version": "1.80" } ], "perl-Carp": [ { "arch": "noarch", "epoch": null, "name": "perl-Carp", "release": "460.el9", "source": "rpm", "version": "1.50" } ], "perl-Class-Struct": [ { "arch": "noarch", "epoch": 0, "name": "perl-Class-Struct", "release": "479.el9", "source": "rpm", "version": "0.66" } ], "perl-Data-Dumper": [ { "arch": "x86_64", "epoch": null, "name": "perl-Data-Dumper", "release": "462.el9", "source": "rpm", "version": "2.174" } ], "perl-Digest": [ { "arch": "noarch", "epoch": null, "name": "perl-Digest", "release": "4.el9", "source": "rpm", "version": "1.19" } ], "perl-Digest-MD5": [ { "arch": "x86_64", "epoch": null, "name": "perl-Digest-MD5", "release": "4.el9", "source": "rpm", "version": "2.58" } ], "perl-DynaLoader": [ { "arch": "x86_64", "epoch": 0, "name": "perl-DynaLoader", "release": "479.el9", "source": "rpm", "version": "1.47" } ], "perl-Encode": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Encode", "release": "462.el9", "source": "rpm", "version": "3.08" } ], "perl-Errno": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Errno", "release": "479.el9", "source": "rpm", "version": "1.30" } ], "perl-Error": [ { "arch": "noarch", "epoch": 1, "name": "perl-Error", "release": "7.el9", "source": "rpm", "version": "0.17029" } ], "perl-Exporter": [ { "arch": "noarch", "epoch": null, "name": "perl-Exporter", "release": "461.el9", "source": "rpm", "version": "5.74" } ], "perl-Fcntl": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Fcntl", "release": "479.el9", "source": "rpm", "version": "1.13" } ], "perl-File-Basename": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-Basename", "release": "479.el9", "source": "rpm", "version": "2.85" } ], "perl-File-Find": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-Find", "release": "479.el9", "source": "rpm", "version": "1.37" } ], "perl-File-Path": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Path", "release": "4.el9", "source": "rpm", "version": "2.18" } ], "perl-File-Temp": [ { "arch": "noarch", "epoch": 1, "name": "perl-File-Temp", "release": "4.el9", "source": "rpm", "version": "0.231.100" } ], "perl-File-stat": [ { "arch": "noarch", "epoch": 0, "name": "perl-File-stat", "release": "479.el9", "source": "rpm", "version": "1.09" } ], "perl-FileHandle": [ { "arch": "noarch", "epoch": 0, "name": "perl-FileHandle", "release": "479.el9", "source": "rpm", "version": "2.03" } ], "perl-Getopt-Long": [ { "arch": "noarch", "epoch": 1, "name": "perl-Getopt-Long", "release": "4.el9", "source": "rpm", "version": "2.52" } ], "perl-Getopt-Std": [ { "arch": "noarch", "epoch": 0, "name": "perl-Getopt-Std", "release": "479.el9", "source": "rpm", "version": "1.12" } ], "perl-Git": [ { "arch": "noarch", "epoch": null, "name": "perl-Git", "release": "2.el9.2", "source": "rpm", "version": "2.31.1" } ], "perl-HTTP-Tiny": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Tiny", "release": "460.el9", "source": "rpm", "version": "0.076" } ], "perl-IO": [ { "arch": "x86_64", "epoch": 0, "name": "perl-IO", "release": "479.el9", "source": "rpm", "version": "1.43" } ], "perl-IO-Socket-IP": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-IP", "release": "5.el9", "source": "rpm", "version": "0.41" } ], "perl-IO-Socket-SSL": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-SSL", "release": "1.el9", "source": "rpm", "version": "2.073" } ], "perl-IPC-Open3": [ { "arch": "noarch", "epoch": 0, "name": "perl-IPC-Open3", "release": "479.el9", "source": "rpm", "version": "1.21" } ], "perl-MIME-Base64": [ { "arch": "x86_64", "epoch": null, "name": "perl-MIME-Base64", "release": "4.el9", "source": "rpm", "version": "3.16" } ], "perl-Mozilla-CA": [ { "arch": "noarch", "epoch": null, "name": "perl-Mozilla-CA", "release": "6.el9", "source": "rpm", "version": "20200520" } ], "perl-NDBM_File": [ { "arch": "x86_64", "epoch": 0, "name": "perl-NDBM_File", "release": "479.el9", "source": "rpm", "version": "1.15" } ], "perl-Net-SSLeay": [ { "arch": "x86_64", "epoch": null, "name": "perl-Net-SSLeay", "release": "2.el9", "source": "rpm", "version": "1.92" } ], "perl-POSIX": [ { "arch": "x86_64", "epoch": 0, "name": "perl-POSIX", "release": "479.el9", "source": "rpm", "version": "1.94" } ], "perl-PathTools": [ { "arch": "x86_64", "epoch": null, "name": "perl-PathTools", "release": "461.el9", "source": "rpm", "version": "3.78" } ], "perl-Pod-Escapes": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Escapes", "release": "460.el9", "source": "rpm", "version": "1.07" } ], "perl-Pod-Perldoc": [ { "arch": "noarch", "epoch": null, "name": "perl-Pod-Perldoc", "release": "461.el9", "source": "rpm", "version": "3.28.01" } ], "perl-Pod-Simple": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Simple", "release": "4.el9", "source": "rpm", "version": "3.42" } ], "perl-Pod-Usage": [ { "arch": "noarch", "epoch": 4, "name": "perl-Pod-Usage", "release": "4.el9", "source": "rpm", "version": "2.01" } ], "perl-Scalar-List-Utils": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Scalar-List-Utils", "release": "461.el9", "source": "rpm", "version": "1.56" } ], "perl-SelectSaver": [ { "arch": "noarch", "epoch": 0, "name": "perl-SelectSaver", "release": "479.el9", "source": "rpm", "version": "1.02" } ], "perl-Socket": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Socket", "release": "4.el9", "source": "rpm", "version": "2.031" } ], "perl-Storable": [ { "arch": "x86_64", "epoch": 1, "name": "perl-Storable", "release": "460.el9", "source": "rpm", "version": "3.21" } ], "perl-Symbol": [ { "arch": "noarch", "epoch": 0, "name": "perl-Symbol", "release": "479.el9", "source": "rpm", "version": "1.08" } ], "perl-Term-ANSIColor": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-ANSIColor", "release": "461.el9", "source": "rpm", "version": "5.01" } ], "perl-Term-Cap": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-Cap", "release": "460.el9", "source": "rpm", "version": "1.17" } ], "perl-TermReadKey": [ { "arch": "x86_64", "epoch": null, "name": "perl-TermReadKey", "release": "11.el9", "source": "rpm", "version": "2.38" } ], "perl-Text-ParseWords": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-ParseWords", "release": "460.el9", "source": "rpm", "version": "3.30" } ], "perl-Text-Tabs+Wrap": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-Tabs+Wrap", "release": "460.el9", "source": "rpm", "version": "2013.0523" } ], "perl-Time-Local": [ { "arch": "noarch", "epoch": 2, "name": "perl-Time-Local", "release": "7.el9", "source": "rpm", "version": "1.300" } ], "perl-URI": [ { "arch": "noarch", "epoch": null, "name": "perl-URI", "release": "3.el9", "source": "rpm", "version": "5.09" } ], "perl-base": [ { "arch": "noarch", "epoch": 0, "name": "perl-base", "release": "479.el9", "source": "rpm", "version": "2.27" } ], "perl-constant": [ { "arch": "noarch", "epoch": null, "name": "perl-constant", "release": "461.el9", "source": "rpm", "version": "1.33" } ], "perl-if": [ { "arch": "noarch", "epoch": 0, "name": "perl-if", "release": "479.el9", "source": "rpm", "version": "0.60.800" } ], "perl-interpreter": [ { "arch": "x86_64", "epoch": 4, "name": "perl-interpreter", "release": "479.el9", "source": "rpm", "version": "5.32.1" } ], "perl-lib": [ { "arch": "x86_64", "epoch": 0, "name": "perl-lib", "release": "479.el9", "source": "rpm", "version": "0.65" } ], "perl-libnet": [ { "arch": "noarch", "epoch": null, "name": "perl-libnet", "release": "4.el9", "source": "rpm", "version": "3.13" } ], "perl-libs": [ { "arch": "x86_64", "epoch": 4, "name": "perl-libs", "release": "479.el9", "source": "rpm", "version": "5.32.1" } ], "perl-mro": [ { "arch": "x86_64", "epoch": 0, "name": "perl-mro", "release": "479.el9", "source": "rpm", "version": "1.23" } ], "perl-overload": [ { "arch": "noarch", "epoch": 0, "name": "perl-overload", "release": "479.el9", "source": "rpm", "version": "1.31" } ], "perl-overloading": [ { "arch": "noarch", "epoch": 0, "name": "perl-overloading", "release": "479.el9", "source": "rpm", "version": "0.02" } ], "perl-parent": [ { "arch": "noarch", "epoch": 1, "name": "perl-parent", "release": "460.el9", "source": "rpm", "version": "0.238" } ], "perl-podlators": [ { "arch": "noarch", "epoch": 1, "name": "perl-podlators", "release": "460.el9", "source": "rpm", "version": "4.14" } ], "perl-subs": [ { "arch": "noarch", "epoch": 0, "name": "perl-subs", "release": "479.el9", "source": "rpm", "version": "1.03" } ], "perl-vars": [ { "arch": "noarch", "epoch": 0, "name": "perl-vars", "release": "479.el9", "source": "rpm", "version": "1.05" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el9", "source": "rpm", "version": "2.5" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "8.el9", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "8.el9", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el9", "source": "rpm", "version": "3.3.17" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "3.el9", "source": "rpm", "version": "23.4" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "3.el9", "source": "rpm", "version": "20210518" } ], "python-unversioned-command": [ { "arch": "noarch", "epoch": null, "name": "python-unversioned-command", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3": [ { "arch": "x86_64", "epoch": null, "name": "python3", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "103.el9", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "2.el9", "source": "rpm", "version": "2.9.1" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "5.el9", "source": "rpm", "version": "4.0.0" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "25.el9", "source": "rpm", "version": "5.0.6" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el9", "source": "rpm", "version": "2.8.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "2.el9", "source": "rpm", "version": "1.2.18" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "6.el9", "source": "rpm", "version": "4.4.2" } ], "python3-distro": [ { "arch": "noarch", "epoch": null, "name": "python3-distro", "release": "7.el9", "source": "rpm", "version": "1.5.0" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "2.el9", "source": "rpm", "version": "0.15" } ], "python3-firewall": [ { "arch": "noarch", "epoch": null, "name": "python3-firewall", "release": "3.el9", "source": "rpm", "version": "1.1.1" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "6.el9", "source": "rpm", "version": "3.40.1" } ], "python3-gobject-base-noarch": [ { "arch": "noarch", "epoch": null, "name": "python3-gobject-base-noarch", "release": "6.el9", "source": "rpm", "version": "3.40.1" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "6.el9", "source": "rpm", "version": "1.15.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "7.el9", "source": "rpm", "version": "2.10" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "45.el9", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "25.el9", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "4.el9", "source": "rpm", "version": "2.11.3" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "16.el9", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "4.el9", "source": "rpm", "version": "2.0" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el9", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "2.el9", "source": "rpm", "version": "0.67.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "3.el9", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "3.el9", "source": "rpm", "version": "3.9.13" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "2.el9", "source": "rpm", "version": "3.4" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "2.el9", "source": "rpm", "version": "2.9.13" } ], "python3-lxml": [ { "arch": "x86_64", "epoch": null, "name": "python3-lxml", "release": "3.el9", "source": "rpm", "version": "4.6.5" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "12.el9", "source": "rpm", "version": "1.1.1" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "15.el9", "source": "rpm", "version": "0.10.6" } ], "python3-nftables": [ { "arch": "x86_64", "epoch": 1, "name": "python3-nftables", "release": "2.el9", "source": "rpm", "version": "1.0.4" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "2.el9", "source": "rpm", "version": "3.1.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "6.el9", "source": "rpm", "version": "21.2.3" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "3.el9", "source": "rpm", "version": "3.4" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "27.el9", "source": "rpm", "version": "0.7.2" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "12.el9", "source": "rpm", "version": "3.4" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "12.el9", "source": "rpm", "version": "1.7.1" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "4.el9", "source": "rpm", "version": "2021.1" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "6.el9", "source": "rpm", "version": "5.4.1" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "6.el9", "source": "rpm", "version": "2.25.1" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "5.el9", "source": "rpm", "version": "4.4.0" } ], "python3-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools", "release": "10.el9", "source": "rpm", "version": "53.0.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "10.el9", "source": "rpm", "version": "53.0.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "9.el9", "source": "rpm", "version": "1.15.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "3.el9", "source": "rpm", "version": "1.26.5" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 17, "name": "qemu-guest-agent", "release": "11.el9", "source": "rpm", "version": "7.0.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "6.el9", "source": "rpm", "version": "4.06" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "6.el9", "source": "rpm", "version": "4.06" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "4.el9", "source": "rpm", "version": "8.1" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "1.8.el9", "source": "rpm", "version": "9.1" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "1.8.el9", "source": "rpm", "version": "9.1" } ], "restraint": [ { "arch": "x86_64", "epoch": null, "name": "restraint", "release": "1.el9", "source": "rpm", "version": "0.4.0" } ], "restraint-rhts": [ { "arch": "x86_64", "epoch": null, "name": "restraint-rhts", "release": "1.el9", "source": "rpm", "version": "0.4.0" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "1.el9", "source": "rpm", "version": "6.15" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "31.el9", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "2.el9", "source": "rpm", "version": "1.2.6" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-audit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-audit", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rpm-sign-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-sign-libs", "release": "17.el9", "source": "rpm", "version": "4.16.1.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "16.el9", "source": "rpm", "version": "3.2.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "105.el9", "source": "rpm", "version": "8.2102.0" } ], "rsyslog-logrotate": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog-logrotate", "release": "105.el9", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "9.el9", "source": "rpm", "version": "4.8" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "1.el9", "source": "rpm", "version": "34.1.40" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "1.el9", "source": "rpm", "version": "34.1.40" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "7.el9", "source": "rpm", "version": "2.13.7" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "9.el9", "source": "rpm", "version": "1.47" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "9.el9", "source": "rpm", "version": "1.47" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el9", "source": "rpm", "version": "4.9" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el9", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "8.el9", "source": "rpm", "version": "1.1.8" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "5.el9", "source": "rpm", "version": "3.34.1" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "8.git1.el9", "source": "rpm", "version": "4.4" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el9", "source": "rpm", "version": "2.7.3" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "1.el9", "source": "rpm", "version": "1.29.30" } ], "subscription-manager-rhsm-certificates": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "1.el9", "source": "rpm", "version": "20220623" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "7.el9", "source": "rpm", "version": "1.9.5p2" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-rpm-macros": [ { "arch": "noarch", "epoch": null, "name": "systemd-rpm-macros", "release": "7.el9", "source": "rpm", "version": "250" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "7.el9", "source": "rpm", "version": "250" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el9", "source": "rpm", "version": "1.34" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "14.el9", "source": "rpm", "version": "1.31" } ], "time": [ { "arch": "x86_64", "epoch": null, "name": "time", "release": "18.el9", "source": "rpm", "version": "1.9" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "8.el9", "source": "rpm", "version": "3.0.3" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el9", "source": "rpm", "version": "2022a" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "4.el9", "source": "rpm", "version": "1.114" } ], "userspace-rcu": [ { "arch": "x86_64", "epoch": null, "name": "userspace-rcu", "release": "6.el9", "source": "rpm", "version": "0.12.1" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "util-linux-core": [ { "arch": "x86_64", "epoch": null, "name": "util-linux-core", "release": "3.el9", "source": "rpm", "version": "2.37.4" } ], "vim-common": [ { "arch": "x86_64", "epoch": 2, "name": "vim-common", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-enhanced": [ { "arch": "x86_64", "epoch": 2, "name": "vim-enhanced", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-filesystem": [ { "arch": "noarch", "epoch": 2, "name": "vim-filesystem", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el9_0.3", "source": "rpm", "version": "8.2.2637" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "2.el9", "source": "rpm", "version": "1.22" } ], "wget": [ { "arch": "x86_64", "epoch": null, "name": "wget", "release": "7.el9", "source": "rpm", "version": "1.21.1" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "28.el9", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "1.el9", "source": "rpm", "version": "5.14.2" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "8.el9_0", "source": "rpm", "version": "5.2.5" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "8.el9_0", "source": "rpm", "version": "5.2.5" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "3.el9", "source": "rpm", "version": "4.12.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "2.el9", "source": "rpm", "version": "4.1.0" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "33.el9", "source": "rpm", "version": "1.2.11" } ], "zstd": [ { "arch": "x86_64", "epoch": null, "name": "zstd", "release": "2.el9", "source": "rpm", "version": "1.5.1" } ] } }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** Friday 19 August 2022 23:47:03 +0000 (0:00:00.914) 0:02:36.162 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** Friday 19 August 2022 23:47:04 +0000 (0:00:00.078) 0:02:36.240 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** Friday 19 August 2022 23:47:04 +0000 (0:00:00.063) 0:02:36.304 ********* ok: [sut] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** Friday 19 August 2022 23:47:04 +0000 (0:00:00.068) 0:02:36.372 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** Friday 19 August 2022 23:47:04 +0000 (0:00:00.066) 0:02:36.438 ********* ok: [sut] => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** Friday 19 August 2022 23:47:04 +0000 (0:00:00.286) 0:02:36.725 ********* ok: [sut] => { "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": 29, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** Friday 19 August 2022 23:47:04 +0000 (0:00:00.288) 0:02:37.014 ********* ok: [sut] => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** Friday 19 August 2022 23:47:05 +0000 (0:00:00.283) 0:02:37.297 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1652693608.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "48ad50e64dc02c34e34a5782d42c307f94cb30b6", "ctime": 1660952822.0561903, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1652693608.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3194, "uid": 0, "version": "3739087831", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** Friday 19 August 2022 23:47:05 +0000 (0:00:00.287) 0:02:37.584 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** Friday 19 August 2022 23:47:05 +0000 (0:00:00.069) 0:02:37.653 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_common_rules": [ { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** Friday 19 August 2022 23:47:05 +0000 (0:00:00.188) 0:02:37.842 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "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: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** Friday 19 August 2022 23:47:05 +0000 (0:00:00.098) 0:02:37.941 ********* ok: [sut] => { "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)\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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** Friday 19 August 2022 23:47:05 +0000 (0:00:00.071) 0:02:38.012 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "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: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** Friday 19 August 2022 23:47:05 +0000 (0:00:00.092) 0:02:38.104 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** Friday 19 August 2022 23:47:05 +0000 (0:00:00.058) 0:02:38.163 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** Friday 19 August 2022 23:47:05 +0000 (0:00:00.060) 0:02:38.223 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** Friday 19 August 2022 23:47:06 +0000 (0:00:00.058) 0:02:38.282 ********* TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** Friday 19 August 2022 23:47:06 +0000 (0:00:00.116) 0:02:38.399 ********* ok: [sut] => { "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.153761", "end": "2022-08-19 23:47:06.527858", "failed_when_result": false, "rc": 0, "start": "2022-08-19 23:47:06.374097" } 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 [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** Friday 19 August 2022 23:47:06 +0000 (0:00:00.427) 0:02:38.827 ********* changed: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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: [sut] => (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" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** Friday 19 August 2022 23:47:10 +0000 (0:00:03.938) 0:02:42.765 ********* TASK [Manage firewall for specified ports] ************************************* Friday 19 August 2022 23:47:10 +0000 (0:00:00.059) 0:02:42.825 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Prepare _logging_selinux_ports to drop ports defined in the selinux policy] *** Friday 19 August 2022 23:47:10 +0000 (0:00:00.068) 0:02:42.894 ********* ok: [sut] => { "ansible_facts": { "_logging_selinux_ports": [] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Drop ports defined in the selinux policy] *** Friday 19 August 2022 23:47:10 +0000 (0:00:00.069) 0:02:42.963 ********* TASK [Manage selinux for specified ports] ************************************** Friday 19 August 2022 23:47:10 +0000 (0:00:00.058) 0:02:43.022 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** Friday 19 August 2022 23:47:10 +0000 (0:00:00.069) 0:02:43.091 ********* skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** Friday 19 August 2022 23:47:10 +0000 (0:00:00.105) 0:02:43.197 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** Friday 19 August 2022 23:47:11 +0000 (0:00:00.127) 0:02:43.324 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** Friday 19 August 2022 23:47:11 +0000 (0:00:00.076) 0:02:43.401 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** Friday 19 August 2022 23:47:11 +0000 (0:00:00.079) 0:02:43.480 ********* changed: [sut] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:46:47 UTC", "ActiveEnterTimestampMonotonic": "540649683", "ActiveExitTimestamp": "Fri 2022-08-19 23:47:00 UTC", "ActiveExitTimestampMonotonic": "552819089", "ActiveState": "inactive", "After": "system.slice basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:46:47 UTC", "AssertTimestampMonotonic": "540636207", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "25912000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:46:47 UTC", "ConditionTimestampMonotonic": "540636203", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "\"man:rsyslogd(8)\" https://www.rsyslog.com/doc/", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2022-08-19 23:47:00 UTC", "ExecMainExitTimestampMonotonic": "553136477", "ExecMainPID": "12547", "ExecMainStartTimestamp": "Fri 2022-08-19 23:46:47 UTC", "ExecMainStartTimestampMonotonic": "540637571", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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 }", "ExecStartEx": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-08-19 23:47:00 UTC", "InactiveEnterTimestampMonotonic": "553136658", "InactiveExitTimestamp": "Fri 2022-08-19 23:46:47 UTC", "InactiveExitTimestampMonotonic": "540638109", "InvocationID": "6aa0c3390e864d0f8ad246bc5bdd383b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "13959", "LimitNPROCSoft": "13959", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13959", "LimitSIGPENDINGSoft": "13959", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:47:00 UTC", "StateChangeTimestampMonotonic": "553136658", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22334", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** Friday 19 August 2022 23:47:11 +0000 (0:00:00.470) 0:02:43.951 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** Friday 19 August 2022 23:47:11 +0000 (0:00:00.067) 0:02:44.018 ********* skipping: [sut] => {} RUNNING HANDLER [/WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** Friday 19 August 2022 23:47:11 +0000 (0:00:00.025) 0:02:44.044 ********* changed: [sut] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:47:11 UTC", "ActiveEnterTimestampMonotonic": "564369198", "ActiveExitTimestamp": "Fri 2022-08-19 23:47:00 UTC", "ActiveExitTimestampMonotonic": "552819089", "ActiveState": "active", "After": "system.slice basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:47:11 UTC", "AssertTimestampMonotonic": "564363158", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "10375000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:47:11 UTC", "ConditionTimestampMonotonic": "564363154", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "\"man:rsyslogd(8)\" https://www.rsyslog.com/doc/", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13567", "ExecMainStartTimestamp": "Fri 2022-08-19 23:47:11 UTC", "ExecMainStartTimestampMonotonic": "564364524", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kill ; argv[]=/usr/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Fri 2022-08-19 23:47:11 UTC] ; stop_time=[n/a] ; pid=13567 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; flags= ; start_time=[Fri 2022-08-19 23:47:11 UTC] ; stop_time=[n/a] ; pid=13567 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-08-19 23:47:00 UTC", "InactiveEnterTimestampMonotonic": "553136658", "InactiveExitTimestamp": "Fri 2022-08-19 23:47:11 UTC", "InactiveExitTimestampMonotonic": "564365023", "InvocationID": "8251502fa5964ac6842cd99d187dbb7a", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "13959", "LimitNPROCSoft": "13959", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13959", "LimitSIGPENDINGSoft": "13959", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "13567", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1372160", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:47:11 UTC", "StateChangeTimestampMonotonic": "564369198", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22334", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* sut : ok=285 changed=48 unreachable=0 failed=0 skipped=192 rescued=0 ignored=0 Friday 19 August 2022 23:47:12 +0000 (0:00:00.891) 0:02:44.935 ********* =============================================================================== /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to --- 9.05s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 3.94s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 3.94s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd --- 3.37s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.26s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.26s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.01s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 2.98s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 2.96s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 2.96s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 2.95s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 2.95s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 2.31s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 2.26s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 2.04s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 2.03s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 1.99s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 1.45s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 1.43s /WORKDIR/dist-git-logging-requirements-OlAoZz/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d --- 1.42s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---