ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpsw2hsk53 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Tuesday 26 July 2022 22:12:43 +0000 (0:00:00.018) 0:00:00.018 ********** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 26 July 2022 22:12:44 +0000 (0:00:01.315) 0:00:01.334 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_ovirt_elasticsearch.yml **************************************** 1 plays in /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml PLAY [Ensure that the role runs with parameters from ovirt to two elasticsearch outputs and local files output] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:2 Tuesday 26 July 2022 22:12:44 +0000 (0:00:00.042) 0:00:01.377 ********** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [TEST CASE 0; Ensure basic ovirt default configuration works] ************* task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:27 Tuesday 26 July 2022 22:12:45 +0000 (0:00:01.026) 0:00:02.403 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:12:45 +0000 (0:00:00.043) 0:00:02.446 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:12:45 +0000 (0:00:00.039) 0:00:02.486 ********** ok: [/cache/rhel-8.qcow2] => { "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] ************************* task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:12:45 +0000 (0:00:00.051) 0:00:02.537 ********** ok: [/cache/rhel-8.qcow2] => { "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] *************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:12:45 +0000 (0:00:00.054) 0:00:02.591 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:12:45 +0000 (0:00:00.063) 0:00:02.655 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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] ***** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:12:45 +0000 (0:00:00.057) 0:00:02.712 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:12:45 +0000 (0:00:00.040) 0:00:02.752 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:12:45 +0000 (0:00:00.039) 0:00:02.792 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:12:45 +0000 (0:00:00.041) 0:00:02.833 ********** skipping: [/cache/rhel-8.qcow2] => { "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] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.037) 0:00:02.871 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.037) 0:00:02.908 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.039) 0:00:02.948 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.036) 0:00:02.984 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.027) 0:00:03.012 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.522) 0:00:03.534 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.054) 0:00:03.589 ********** skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.084) 0:00:03.674 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.075) 0:00:03.749 ********** skipping: [/cache/rhel-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.042) 0:00:03.791 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:12:46 +0000 (0:00:00.033) 0:00:03.825 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:12:48 +0000 (0:00:01.493) 0:00:05.319 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:12:48 +0000 (0:00:00.053) 0:00:05.372 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "PackageKit": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "PackageKit-glib": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit-glib", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "abattis-cantarell-fonts": [ { "arch": "noarch", "epoch": null, "name": "abattis-cantarell-fonts", "release": "6.el8", "source": "rpm", "version": "0.0.25" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "3.el8", "source": "rpm", "version": "4.4.20" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "3.el8", "source": "rpm", "version": "9.11.36" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2": [ { "arch": "x86_64", "epoch": null, "name": "bzip2", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.0.el8_4", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.1" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "15.el8", "source": "rpm", "version": "21.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "cockpit-bridge": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-bridge", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "dejavu-fonts-common": [ { "arch": "noarch", "epoch": null, "name": "dejavu-fonts-common", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "dejavu-sans-mono-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-mono-fonts", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "dosfstools": [ { "arch": "x86_64", "epoch": null, "name": "dosfstools", "release": "6.el8", "source": "rpm", "version": "4.1" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "8.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "fontconfig": [ { "arch": "x86_64", "epoch": null, "name": "fontconfig", "release": "4.el8", "source": "rpm", "version": "2.13.1" } ], "fontpackages-filesystem": [ { "arch": "noarch", "epoch": null, "name": "fontpackages-filesystem", "release": "22.el8", "source": "rpm", "version": "1.44" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "4.el8_3.1", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "9.el8", "source": "rpm", "version": "1.0.3" } ], "gdk-pixbuf2": [ { "arch": "x86_64", "epoch": null, "name": "gdk-pixbuf2", "release": "5.el8", "source": "rpm", "version": "2.36.12" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "glib-networking": [ { "arch": "x86_64", "epoch": null, "name": "glib-networking", "release": "1.1.el8", "source": "rpm", "version": "2.56.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "158.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "42.el8", "source": "rpm", "version": "8.40" } ], "gsettings-desktop-schemas": [ { "arch": "x86_64", "epoch": null, "name": "gsettings-desktop-schemas", "release": "6.el8", "source": "rpm", "version": "3.32.0" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "20.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "12.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.12.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "5.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "4.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "9.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "6.el8", "source": "rpm", "version": "1.4.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "68.el8", "source": "rpm", "version": "2.0.20" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "22.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "14.el8", "source": "rpm", "version": "1.18.2" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libX11": [ { "arch": "x86_64", "epoch": null, "name": "libX11", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libX11-common": [ { "arch": "noarch", "epoch": null, "name": "libX11-common", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libXau": [ { "arch": "x86_64", "epoch": null, "name": "libXau", "release": "3.el8", "source": "rpm", "version": "1.0.9" } ], "libXext": [ { "arch": "x86_64", "epoch": null, "name": "libXext", "release": "1.el8", "source": "rpm", "version": "1.3.4" } ], "libXrender": [ { "arch": "x86_64", "epoch": null, "name": "libXrender", "release": "7.el8", "source": "rpm", "version": "0.9.10" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libappstream-glib": [ { "arch": "x86_64", "epoch": null, "name": "libappstream-glib", "release": "3.el8", "source": "rpm", "version": "0.7.14" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el8_5", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "39.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "3.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "2.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "39.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "39.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "1.el8", "source": "rpm", "version": "0.1.10" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "6.el8", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "37.2" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "39.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el8", "source": "rpm", "version": "2.4.1" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodman": [ { "arch": "x86_64", "epoch": null, "name": "libmodman", "release": "17.el8", "source": "rpm", "version": "2.0.1" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "39.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libproxy": [ { "arch": "x86_64", "epoch": null, "name": "libproxy", "release": "5.2.el8", "source": "rpm", "version": "0.4.15" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "39.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el8", "source": "rpm", "version": "0.7.20" } ], "libsoup": [ { "arch": "x86_64", "epoch": null, "name": "libsoup", "release": "2.el8", "source": "rpm", "version": "2.62.3" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libstemmer": [ { "arch": "x86_64", "epoch": null, "name": "libstemmer", "release": "10.585svn.el8", "source": "rpm", "version": "0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.11.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "6.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libxcb": [ { "arch": "x86_64", "epoch": null, "name": "libxcb", "release": "1.el8", "source": "rpm", "version": "1.13.1" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "107.git6342082c.el8", "source": "rpm", "version": "20220210" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "1.el8", "source": "rpm", "version": "0.1.11" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220207" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "11.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.52.20160912git.el8", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "16.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el8", "source": "rpm", "version": "10.32" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pixman": [ { "arch": "x86_64", "epoch": null, "name": "pixman", "release": "2.el8", "source": "rpm", "version": "0.38.4" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cairo": [ { "arch": "x86_64", "epoch": null, "name": "python3-cairo", "release": "6.el8", "source": "rpm", "version": "1.16.3" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-gobject": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pexpect": [ { "arch": "noarch", "epoch": null, "name": "python3-pexpect", "release": "3.el8", "source": "rpm", "version": "4.3.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-ptyprocess": [ { "arch": "noarch", "epoch": null, "name": "python3-ptyprocess", "release": "4.el8", "source": "rpm", "version": "0.5.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pydbus": [ { "arch": "noarch", "epoch": null, "name": "python3-pydbus", "release": "5.el8", "source": "rpm", "version": "0.6.0" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-systemd": [ { "arch": "x86_64", "epoch": null, "name": "python3-systemd", "release": "8.el8", "source": "rpm", "version": "234" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "11.module+el8.6.0+14707+5aa4b42d", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-logos": [ { "arch": "x86_64", "epoch": null, "name": "redhat-logos", "release": "1.el8", "source": "rpm", "version": "84.5" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "7.el8", "source": "rpm", "version": "0.2.1" } ], "rhsm-icons": [ { "arch": "noarch", "epoch": null, "name": "rhsm-icons", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "8.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "14.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "7.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "setroubleshoot-plugins": [ { "arch": "noarch", "epoch": null, "name": "setroubleshoot-plugins", "release": "1.el8", "source": "rpm", "version": "3.3.14" } ], "setroubleshoot-server": [ { "arch": "x86_64", "epoch": null, "name": "setroubleshoot-server", "release": "3.el8", "source": "rpm", "version": "3.3.26" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "6.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "16.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "2.el8", "source": "rpm", "version": "15.5" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sos": [ { "arch": "noarch", "epoch": null, "name": "sos", "release": "15.el8", "source": "rpm", "version": "4.2" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sscg": [ { "arch": "x86_64", "epoch": null, "name": "sscg", "release": "14.el8", "source": "rpm", "version": "2.3.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-cockpit": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-cockpit", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "58.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "tcpdump": [ { "arch": "x86_64", "epoch": 14, "name": "tcpdump", "release": "3.el8", "source": "rpm", "version": "4.9.3" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "2.el8", "source": "rpm", "version": "2.18.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.13", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "13.el8", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "17.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "18.el8_5", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:12:49 +0000 (0:00:01.411) 0:00:06.783 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:12:49 +0000 (0:00:00.048) 0:00:06.832 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:12:50 +0000 (0:00:00.035) 0:00:06.867 ********** ok: [/cache/rhel-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:12:50 +0000 (0:00:00.049) 0:00:06.917 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:12:50 +0000 (0:00:00.042) 0:00:06.960 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 109, "state": "directory", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:12:50 +0000 (0:00:00.545) 0:00:07.505 ********** ok: [/cache/rhel-8.qcow2] => { "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": 58, "state": "directory", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:12:51 +0000 (0:00:00.403) 0:00:07.908 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:12:51 +0000 (0:00:00.422) 0:00:08.331 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658873542.8663864, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658873539.1583862, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642153580.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "1353877538", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:12:52 +0000 (0:00:00.799) 0:00:09.131 ********** NOTIFIED HANDLER /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "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-1658873572.3446436-218352-191215597448238/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:12:53 +0000 (0:00:00.849) 0:00:09.980 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:12:53 +0000 (0:00:00.105) 0:00:10.086 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873573.3071735-218382-172310189621731/source", "state": "file", "uid": 0 } skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:12:54 +0000 (0:00:01.495) 0:00:11.581 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:12:54 +0000 (0:00:00.060) 0:00:11.641 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:12:54 +0000 (0:00:00.057) 0:00:11.698 ********** ok: [/cache/rhel-8.qcow2] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:12:55 +0000 (0:00:00.191) 0:00:11.890 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/basics/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'basic_input', 'type': 'basics'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'ovirt_collectd_input', 'type': 'ovirt', 'subtype': 'collectd'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'ovirt_engine_input', 'type': 'ovirt', 'subtype': 'engine'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'ovirt_vdsm_input', 'type': 'ovirt', 'subtype': 'vdsm'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:12:55 +0000 (0:00:00.138) 0:00:12.029 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:12:55 +0000 (0:00:00.070) 0:00:12.100 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:12:55 +0000 (0:00:00.046) 0:00:12.146 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:12:55 +0000 (0:00:00.044) 0:00:12.191 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:12:55 +0000 (0:00:00.058) 0:00:12.249 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:12:55 +0000 (0:00:00.045) 0:00:12.295 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:12:55 +0000 (0:00:00.073) 0:00:12.369 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:12:55 +0000 (0:00:00.046) 0:00:12.416 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:12:56 +0000 (0:00:00.840) 0:00:13.256 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:12:56 +0000 (0:00:00.061) 0:00:13.317 ********** skipping: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:12:56 +0000 (0:00:00.209) 0:00:13.526 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:12:56 +0000 (0:00:00.071) 0:00:13.598 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:12:57 +0000 (0:00:00.576) 0:00:14.174 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:12:57 +0000 (0:00:00.098) 0:00:14.272 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:12:57 +0000 (0:00:00.070) 0:00:14.343 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: liblognorm-2.0.5-2.el8.x86_64", "Installed: rsyslog-mmjsonparse-8.2102.0-7.el8.x86_64", "Installed: rsyslog-mmnormalize-8.2102.0-7.el8.x86_64" ] } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:12:59 +0000 (0:00:01.925) 0:00:16.268 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873579.4942033-218527-218355443445068/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658873580.1897757-218527-15799422510997/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658873580.8625813-218527-150989264501736/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658873581.5580199-218527-168469653317860/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:02 +0000 (0:00:03.546) 0:00:19.814 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:03 +0000 (0:00:00.066) 0:00:19.881 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_collectd_input in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:13:03 +0000 (0:00:00.085) 0:00:19.967 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:03 +0000 (0:00:00.078) 0:00:20.045 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:03 +0000 (0:00:00.046) 0:00:20.092 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:04 +0000 (0:00:00.871) 0:00:20.964 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:04 +0000 (0:00:00.067) 0:00:21.031 ********** skipping: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:13:04 +0000 (0:00:00.114) 0:00:21.146 ********** changed: [/cache/rhel-8.qcow2] => { "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:02.640934", "end": "2022-07-26 18:13:06.643323", "rc": 0, "start": "2022-07-26 18:13:04.002389" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:13:07 +0000 (0:00:03.154) 0:00:24.300 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:13:07 +0000 (0:00:00.074) 0:00:24.375 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:13:08 +0000 (0:00:00.611) 0:00:24.986 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:13:08 +0000 (0:00:00.133) 0:00:25.120 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:08 +0000 (0:00:00.069) 0:00:25.190 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:09 +0000 (0:00:01.382) 0:00:26.572 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:12 +0000 (0:00:03.229) 0:00:29.802 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:13 +0000 (0:00:00.107) 0:00:29.910 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_engine_input in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:13:13 +0000 (0:00:00.113) 0:00:30.023 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:13 +0000 (0:00:00.075) 0:00:30.099 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:13 +0000 (0:00:00.046) 0:00:30.145 ********** changed: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.0.2.15\';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:14 +0000 (0:00:00.807) 0:00:30.953 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:14 +0000 (0:00:00.073) 0:00:31.026 ********** skipping: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.0.2.15\';\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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:13:14 +0000 (0:00:00.114) 0:00:31.141 ********** changed: [/cache/rhel-8.qcow2] => { "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.666846", "end": "2022-07-26 18:13:14.558477", "rc": 0, "start": "2022-07-26 18:13:13.891631" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:13:15 +0000 (0:00:01.063) 0:00:32.204 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:13:15 +0000 (0:00:00.098) 0:00:32.303 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:13:16 +0000 (0:00:00.596) 0:00:32.899 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:13:16 +0000 (0:00:00.096) 0:00:32.996 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:16 +0000 (0:00:00.071) 0:00:33.067 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:17 +0000 (0:00:01.284) 0:00:34.352 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:20 +0000 (0:00:03.261) 0:00:37.613 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:20 +0000 (0:00:00.079) 0:00:37.693 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_vdsm_input in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:13:20 +0000 (0:00:00.080) 0:00:37.773 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:20 +0000 (0:00:00.081) 0:00:37.854 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:21 +0000 (0:00:00.045) 0:00:37.900 ********** changed: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.0.2.15\';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:21 +0000 (0:00:00.822) 0:00:38.722 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:21 +0000 (0:00:00.083) 0:00:38.806 ********** skipping: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.0.2.15\';\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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:13:22 +0000 (0:00:00.125) 0:00:38.931 ********** changed: [/cache/rhel-8.qcow2] => { "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.646770", "end": "2022-07-26 18:13:22.335283", "rc": 0, "start": "2022-07-26 18:13:21.688513" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:13:23 +0000 (0:00:01.049) 0:00:39.980 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:13:23 +0000 (0:00:00.072) 0:00:40.053 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:13:23 +0000 (0:00:00.584) 0:00:40.637 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:13:23 +0000 (0:00:00.094) 0:00:40.732 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:23 +0000 (0:00:00.075) 0:00:40.807 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:25 +0000 (0:00:01.384) 0:00:42.191 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:28 +0000 (0:00:03.251) 0:00:45.443 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:28 +0000 (0:00:00.160) 0:00:45.604 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_bogus_input in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:13:28 +0000 (0:00:00.082) 0:00:45.686 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:13:28 +0000 (0:00:00.052) 0:00:45.738 ********** changed: [/cache/rhel-8.qcow2] => { "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.660858", "end": "2022-07-26 18:13:29.165241", "rc": 0, "start": "2022-07-26 18:13:28.504383" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:13:29 +0000 (0:00:01.070) 0:00:46.809 ********** ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.098) 0:00:46.907 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/files/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'default_files', 'type': 'files'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/rhel-8.qcow2 => (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'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/rhel-8.qcow2 => (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'}) TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.111) 0:00:47.019 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.070) 0:00:47.089 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.050) 0:00:47.140 ********** ok: [/cache/rhel-8.qcow2] => (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, "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" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.681) 0:00:47.821 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.091) 0:00:47.913 ********** skipping: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-default_files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.056) 0:00:47.969 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.075) 0:00:48.044 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.046) 0:00:48.091 ********** ok: [/cache/rhel-8.qcow2] => (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, "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" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.749) 0:00:48.840 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:32 +0000 (0:00:00.093) 0:00:48.933 ********** skipping: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:13:32 +0000 (0:00:00.106) 0:00:49.040 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:13:32 +0000 (0:00:00.067) 0:00:49.108 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:15 Tuesday 26 July 2022 22:13:32 +0000 (0:00:00.056) 0:00:49.164 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:24 Tuesday 26 July 2022 22:13:32 +0000 (0:00:00.088) 0:00:49.252 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:13:32 +0000 (0:00:00.052) 0:00:49.305 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:49 Tuesday 26 July 2022 22:13:32 +0000 (0:00:00.053) 0:00:49.358 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:13:32 +0000 (0:00:00.047) 0:00:49.406 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:32 +0000 (0:00:00.071) 0:00:49.478 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-7.el8.x86_64" ] } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:34 +0000 (0:00:01.650) 0:00:51.129 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873614.357621-219370-180108768500117/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658873615.0534694-219370-217839845642385/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:35 +0000 (0:00:01.424) 0:00:52.553 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873614.357621-219370-180108768500117/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-1658873614.357621-219370-180108768500117/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873615.0534694-219370-217839845642385/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-1658873615.0534694-219370-217839845642385/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:35 +0000 (0:00:00.134) 0:00:52.688 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:17 Tuesday 26 July 2022 22:13:35 +0000 (0:00:00.097) 0:00:52.785 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d (no_log)] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:36 Tuesday 26 July 2022 22:13:36 +0000 (0:00:00.080) 0:00:52.865 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy_nolog.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy_nolog.yml:8 Tuesday 26 July 2022 22:13:36 +0000 (0:00:00.083) 0:00:52.948 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d with no_log] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy_nolog.yml:17 Tuesday 26 July 2022 22:13:36 +0000 (0:00:00.045) 0:00:52.994 ********** changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy_nolog.yml:41 Tuesday 26 July 2022 22:13:36 +0000 (0:00:00.817) 0:00:53.811 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873614.357621-219370-180108768500117/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-1658873614.357621-219370-180108768500117/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873615.0534694-219370-217839845642385/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-1658873615.0534694-219370-217839845642385/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873616.2770975-219433-194929372550016/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-1658873616.2770975-219433-194929372550016/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d with no_log] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy_nolog.yml:46 Tuesday 26 July 2022 22:13:37 +0000 (0:00:00.104) 0:00:53.916 ********** skipping: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:13:37 +0000 (0:00:00.120) 0:00:54.036 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:13:37 +0000 (0:00:00.072) 0:00:54.108 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:15 Tuesday 26 July 2022 22:13:37 +0000 (0:00:00.056) 0:00:54.164 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:24 Tuesday 26 July 2022 22:13:37 +0000 (0:00:00.055) 0:00:54.220 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:13:37 +0000 (0:00:00.057) 0:00:54.278 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:49 Tuesday 26 July 2022 22:13:37 +0000 (0:00:00.056) 0:00:54.335 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:13:37 +0000 (0:00:00.049) 0:00:54.384 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:37 +0000 (0:00:00.108) 0:00:54.493 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:38 +0000 (0:00:01.321) 0:00:55.814 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:40 +0000 (0:00:01.332) 0:00:57.146 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873614.357621-219370-180108768500117/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-1658873614.357621-219370-180108768500117/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873615.0534694-219370-217839845642385/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-1658873615.0534694-219370-217839845642385/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873616.2770975-219433-194929372550016/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-1658873616.2770975-219433-194929372550016/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.129) 0:00:57.276 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:17 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.060) 0:00:57.337 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d (no_log)] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:36 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.052) 0:00:57.389 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy_nolog.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy_nolog.yml:8 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.125) 0:00:57.514 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d with no_log] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy_nolog.yml:17 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.052) 0:00:57.567 ********** changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy_nolog.yml:41 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.806) 0:00:58.374 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873573.3071735-218382-172310189621731/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-1658873573.3071735-218382-172310189621731/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873574.026618-218382-208428147187123/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-1658873574.026618-218382-208428147187123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873575.7295961-218457-84108223072876/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-1658873575.7295961-218457-84108223072876/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873579.4942033-218527-218355443445068/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-1658873579.4942033-218527-218355443445068/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.1897757-218527-15799422510997/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-1658873580.1897757-218527-15799422510997/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873580.8625813-218527-150989264501736/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-1658873580.8625813-218527-150989264501736/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873581.5580199-218527-168469653317860/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-1658873581.5580199-218527-168469653317860/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873582.263344-218527-75551120280431/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-1658873582.263344-218527-75551120280431/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873583.403159-218663-228034545699730/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-1658873583.403159-218663-228034545699730/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658873593.4242759-218862-9667026212424/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658873601.189127-219063-189888292122237/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873614.357621-219370-180108768500117/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-1658873614.357621-219370-180108768500117/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873615.0534694-219370-217839845642385/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-1658873615.0534694-219370-217839845642385/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873616.2770975-219433-194929372550016/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-1658873616.2770975-219433-194929372550016/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873620.8625038-219548-59212062150433/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-1658873620.8625038-219548-59212062150433/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d with no_log] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy_nolog.yml:46 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.102) 0:00:58.476 ********** skipping: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.128) 0:00:58.605 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.046) 0:00:58.651 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.057) 0:00:58.709 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.041) 0:00:58.750 ********** skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.072) 0:00:58.823 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:13:42 +0000 (0:00:00.063) 0:00:58.886 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:13:42 +0000 (0:00:00.054) 0:00:58.940 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:13:42 +0000 (0:00:00.054) 0:00:58.994 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:12:28 EDT", "ActiveEnterTimestampMonotonic": "797663923", "ActiveExitTimestamp": "Tue 2022-07-26 18:12:28 EDT", "ActiveExitTimestampMonotonic": "797404324", "ActiveState": "active", "After": "network-online.target basic.target network.target sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:12:28 EDT", "AssertTimestampMonotonic": "797659109", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:12:28 EDT", "ConditionTimestampMonotonic": "797659109", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "124286", "ExecMainStartTimestamp": "Tue 2022-07-26 18:12:28 EDT", "ExecMainStartTimestampMonotonic": "797660161", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:12:28 EDT] ; stop_time=[n/a] ; pid=124286 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 18:12:28 EDT", "InactiveEnterTimestampMonotonic": "797658255", "InactiveExitTimestamp": "Tue 2022-07-26 18:12:28 EDT", "InactiveExitTimestampMonotonic": "797660205", "InvocationID": "13a6680b76294c93b41e38e27a0e8c30", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "124286", "MemoryAccounting": "yes", "MemoryCurrent": "1245184", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:12:28 EDT", "StateChangeTimestampMonotonic": "797663923", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 18:12:28 EDT", "WatchdogTimestampMonotonic": "797663922", "WatchdogUSec": "0" } } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:13:42 +0000 (0:00:00.844) 0:00:59.839 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:13:43 +0000 (0:00:00.050) 0:00:59.889 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: role_complete for /cache/rhel-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:84 Tuesday 26 July 2022 22:13:43 +0000 (0:00:00.086) 0:00:59.976 ********** RUNNING HANDLER [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:13:43 +0000 (0:00:00.000) 0:00:59.976 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:12:28 EDT", "ActiveEnterTimestampMonotonic": "797663923", "ActiveExitTimestamp": "Tue 2022-07-26 18:12:28 EDT", "ActiveExitTimestampMonotonic": "797404324", "ActiveState": "active", "After": "network-online.target basic.target network.target sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:12:28 EDT", "AssertTimestampMonotonic": "797659109", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:12:28 EDT", "ConditionTimestampMonotonic": "797659109", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "124286", "ExecMainStartTimestamp": "Tue 2022-07-26 18:12:28 EDT", "ExecMainStartTimestampMonotonic": "797660161", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:12:28 EDT] ; stop_time=[n/a] ; pid=124286 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 18:12:28 EDT", "InactiveEnterTimestampMonotonic": "797658255", "InactiveExitTimestamp": "Tue 2022-07-26 18:12:28 EDT", "InactiveExitTimestampMonotonic": "797660205", "InvocationID": "13a6680b76294c93b41e38e27a0e8c30", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "124286", "MemoryAccounting": "yes", "MemoryCurrent": "1245184", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:12:28 EDT", "StateChangeTimestampMonotonic": "797663923", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 18:12:28 EDT", "WatchdogTimestampMonotonic": "797663922", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:88 Tuesday 26 July 2022 22:13:44 +0000 (0:00:00.900) 0:01:00.876 ********** included: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml for /cache/rhel-8.qcow2 TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:13:44 +0000 (0:00:00.053) 0:01:00.929 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658873623.2073863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658873572.3313863, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873571.9583864, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "490284464", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get file counts in /etc/rsyslog.d] *************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:13:44 +0000 (0:00:00.384) 0:01:01.314 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 18, "files": [ { "atime": 1658873075.2353864, "ctime": 1658873043.9943864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8388868, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648826340.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": 1658873530.9553864, "ctime": 1658873527.5713863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 990732, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873527.3083863, "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": 1658873530.9553864, "ctime": 1658873528.5703864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26229835, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873528.3143864, "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": 1658873623.2083864, "ctime": 1658873573.1963863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26229841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873572.9273863, "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": 1658873623.2083864, "ctime": 1658873573.9293864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16825069, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873573.6493864, "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": 1658873623.2083864, "ctime": 1658873575.6033864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873575.3393862, "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": 1658873589.3593862, "ctime": 1658873579.3723862, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17574167, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873579.1033864, "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": 1658873590.0003862, "ctime": 1658873580.0463862, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245317, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873579.7833862, "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": 1658873590.6283863, "ctime": 1658873580.7373862, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 752187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873580.4693863, "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": 1658873591.2783864, "ctime": 1658873581.4443862, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26229842, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873581.1753864, "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": 1658873591.9003863, "ctime": 1658873582.1603863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17574168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873581.8753862, "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": 1658873623.2083864, "ctime": 1658873583.2783864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245318, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873583.0073862, "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": 1658873623.2083864, "ctime": 1658873593.3023863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26288120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873593.0293863, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1309, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658873623.2073863, "ctime": 1658873601.0703864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26288121, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873600.8003864, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1285, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658873618.5843863, "ctime": 1658873614.2303863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8442036, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873613.9563863, "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": 1658873619.2353864, "ctime": 1658873614.9043863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 366506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873614.6513863, "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": 1658873623.2083864, "ctime": 1658873616.1573863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26288122, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658873615.8813863, "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": 1658873623.2083864, "ctime": 1658873620.7273862, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17060751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658873620.4663863, "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, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:13:44 +0000 (0:00:00.528) 0:01:01.843 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:13:45 +0000 (0:00:00.045) 0:01:01.888 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:13:45 +0000 (0:00:00.030) 0:01:01.919 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:13:45 +0000 (0:00:00.048) 0:01:01.967 ********** ok: [/cache/rhel-8.qcow2] => (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": 1658873623.2083864, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1658873583.2783864, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9245318, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873583.0073862, "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": "2508959874", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658873623.2083864, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "ctime": 1658873593.3023863, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 26288120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873593.0293863, "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": 1309, "uid": 0, "version": "4039758148", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658873623.2073863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "ctime": 1658873601.0703864, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 26288121, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873600.8003864, "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": 1285, "uid": 0, "version": "4020812250", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:13:46 +0000 (0:00:01.151) 0:01:03.118 ********** skipping: [/cache/rhel-8.qcow2] => { "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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:99 Tuesday 26 July 2022 22:13:46 +0000 (0:00:00.033) 0:01:03.152 ********** ok: [/cache/rhel-8.qcow2] => (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": 1658873623.2083864, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1658873583.2783864, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9245318, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873583.0073862, "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": "2508959874", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658873623.2083864, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "ctime": 1658873593.3023863, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 26288120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873593.0293863, "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": 1309, "uid": 0, "version": "4039758148", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658873623.2073863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "ctime": 1658873601.0703864, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 26288121, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873600.8003864, "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": 1285, "uid": 0, "version": "4020812250", "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"] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:110 Tuesday 26 July 2022 22:13:47 +0000 (0:00:01.127) 0:01:04.280 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:116 Tuesday 26 July 2022 22:13:47 +0000 (0:00:00.428) 0:01:04.708 ********** ok: [/cache/rhel-8.qcow2] => { "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:01.004214", "end": "2022-07-26 18:13:48.449944", "rc": 0, "start": "2022-07-26 18:13:47.445730" } 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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:122 Tuesday 26 July 2022 22:13:49 +0000 (0:00:01.389) 0:01:06.098 ********** ok: [/cache/rhel-8.qcow2] => { "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.003124", "end": "2022-07-26 18:13:48.835000", "rc": 0, "start": "2022-07-26 18:13:48.831876" } 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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:129 Tuesday 26 July 2022 22:13:49 +0000 (0:00:00.382) 0:01:06.480 ********** ok: [/cache/rhel-8.qcow2] => { "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.003274", "end": "2022-07-26 18:13:49.213331", "rc": 0, "start": "2022-07-26 18:13:49.210057" } 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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:136 Tuesday 26 July 2022 22:13:49 +0000 (0:00:00.378) 0:01:06.858 ********** ok: [/cache/rhel-8.qcow2] => { "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.002999", "end": "2022-07-26 18:13:49.596010", "rc": 0, "start": "2022-07-26 18:13:49.593011" } 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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:143 Tuesday 26 July 2022 22:13:50 +0000 (0:00:00.382) 0:01:07.241 ********** ok: [/cache/rhel-8.qcow2] => { "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.003057", "end": "2022-07-26 18:13:49.981775", "rc": 0, "start": "2022-07-26 18:13:49.978718" } 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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:150 Tuesday 26 July 2022 22:13:50 +0000 (0:00:00.390) 0:01:07.632 ********** ok: [/cache/rhel-8.qcow2] => { "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.002904", "end": "2022-07-26 18:13:50.408299", "rc": 0, "start": "2022-07-26 18:13:50.405395" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & "."; TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:157 Tuesday 26 July 2022 22:13:51 +0000 (0:00:00.420) 0:01:08.052 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.004275", "end": "2022-07-26 18:13:50.832464", "rc": 0, "start": "2022-07-26 18:13:50.828189" } STDOUT: server="logging-es" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:161 Tuesday 26 July 2022 22:13:51 +0000 (0:00:00.429) 0:01:08.482 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es-ops\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003362", "end": "2022-07-26 18:13:51.232052", "rc": 0, "start": "2022-07-26 18:13:51.228690" } STDOUT: server="logging-es-ops" TASK [Check password is in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:165 Tuesday 26 July 2022 22:13:52 +0000 (0:00:00.397) 0:01:08.880 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "pwd=\"password0\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002532", "end": "2022-07-26 18:13:51.613566", "rc": 0, "start": "2022-07-26 18:13:51.611034" } STDOUT: pwd="password0" TASK [Check pwd= is not in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:169 Tuesday 26 July 2022 22:13:52 +0000 (0:00:00.385) 0:01:09.265 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "pwd=", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003567", "end": "2022-07-26 18:13:52.011087", "failed_when_result": false, "rc": 1, "start": "2022-07-26 18:13:52.007520" } MSG: non-zero return code TASK [END TEST CASE 0; Ensure basic ovirt configuration works] ***************** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:175 Tuesday 26 July 2022 22:13:52 +0000 (0:00:00.395) 0:01:09.661 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:13:52 +0000 (0:00:00.072) 0:01:09.734 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:13:52 +0000 (0:00:00.055) 0:01:09.790 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:13:52 +0000 (0:00:00.062) 0:01:09.853 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.066) 0:01:09.920 ********** TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.032) 0:01:09.952 ********** TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.030) 0:01:09.983 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.048) 0:01:10.031 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.085) 0:01:10.117 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.046) 0:01:10.163 ********** skipping: [/cache/rhel-8.qcow2] => { "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] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.046) 0:01:10.210 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.052) 0:01:10.263 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.052) 0:01:10.315 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.053) 0:01:10.369 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.047) 0:01:10.416 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:13:54 +0000 (0:00:00.529) 0:01:10.945 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:13:54 +0000 (0:00:00.079) 0:01:11.024 ********** skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:13:54 +0000 (0:00:00.092) 0:01:11.116 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:13:54 +0000 (0:00:00.086) 0:01:11.203 ********** ok: [/cache/rhel-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.046026", "end": "2022-07-26 18:13:54.012270", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 18:13:53.966244" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:13:54 +0000 (0:00:00.486) 0:01:11.690 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-8.2102.0-7.el8.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-7.el8.x86_64", "Removed: rsyslog-mmjsonparse-8.2102.0-7.el8.x86_64", "Removed: rsyslog-mmnormalize-8.2102.0-7.el8.x86_64" ] } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:13:57 +0000 (0:00:02.383) 0:01:14.073 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-8.2102.0-7.el8.x86_64" ] } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:13:59 +0000 (0:00:01.890) 0:01:15.963 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:13:59 +0000 (0:00:00.041) 0:01:16.005 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "PackageKit": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "PackageKit-glib": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit-glib", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "abattis-cantarell-fonts": [ { "arch": "noarch", "epoch": null, "name": "abattis-cantarell-fonts", "release": "6.el8", "source": "rpm", "version": "0.0.25" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "3.el8", "source": "rpm", "version": "4.4.20" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "3.el8", "source": "rpm", "version": "9.11.36" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2": [ { "arch": "x86_64", "epoch": null, "name": "bzip2", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.0.el8_4", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.1" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "15.el8", "source": "rpm", "version": "21.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "cockpit-bridge": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-bridge", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "dejavu-fonts-common": [ { "arch": "noarch", "epoch": null, "name": "dejavu-fonts-common", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "dejavu-sans-mono-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-mono-fonts", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "dosfstools": [ { "arch": "x86_64", "epoch": null, "name": "dosfstools", "release": "6.el8", "source": "rpm", "version": "4.1" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "8.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "fontconfig": [ { "arch": "x86_64", "epoch": null, "name": "fontconfig", "release": "4.el8", "source": "rpm", "version": "2.13.1" } ], "fontpackages-filesystem": [ { "arch": "noarch", "epoch": null, "name": "fontpackages-filesystem", "release": "22.el8", "source": "rpm", "version": "1.44" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "4.el8_3.1", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "9.el8", "source": "rpm", "version": "1.0.3" } ], "gdk-pixbuf2": [ { "arch": "x86_64", "epoch": null, "name": "gdk-pixbuf2", "release": "5.el8", "source": "rpm", "version": "2.36.12" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "glib-networking": [ { "arch": "x86_64", "epoch": null, "name": "glib-networking", "release": "1.1.el8", "source": "rpm", "version": "2.56.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "158.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "42.el8", "source": "rpm", "version": "8.40" } ], "gsettings-desktop-schemas": [ { "arch": "x86_64", "epoch": null, "name": "gsettings-desktop-schemas", "release": "6.el8", "source": "rpm", "version": "3.32.0" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "20.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "12.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.12.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "5.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "4.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "9.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "6.el8", "source": "rpm", "version": "1.4.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "68.el8", "source": "rpm", "version": "2.0.20" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "22.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "14.el8", "source": "rpm", "version": "1.18.2" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libX11": [ { "arch": "x86_64", "epoch": null, "name": "libX11", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libX11-common": [ { "arch": "noarch", "epoch": null, "name": "libX11-common", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libXau": [ { "arch": "x86_64", "epoch": null, "name": "libXau", "release": "3.el8", "source": "rpm", "version": "1.0.9" } ], "libXext": [ { "arch": "x86_64", "epoch": null, "name": "libXext", "release": "1.el8", "source": "rpm", "version": "1.3.4" } ], "libXrender": [ { "arch": "x86_64", "epoch": null, "name": "libXrender", "release": "7.el8", "source": "rpm", "version": "0.9.10" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libappstream-glib": [ { "arch": "x86_64", "epoch": null, "name": "libappstream-glib", "release": "3.el8", "source": "rpm", "version": "0.7.14" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el8_5", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "39.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "3.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "2.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "39.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "39.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "1.el8", "source": "rpm", "version": "0.1.10" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "6.el8", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "37.2" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "39.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el8", "source": "rpm", "version": "2.4.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "2.el8", "source": "rpm", "version": "2.0.5" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodman": [ { "arch": "x86_64", "epoch": null, "name": "libmodman", "release": "17.el8", "source": "rpm", "version": "2.0.1" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "39.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libproxy": [ { "arch": "x86_64", "epoch": null, "name": "libproxy", "release": "5.2.el8", "source": "rpm", "version": "0.4.15" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "39.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el8", "source": "rpm", "version": "0.7.20" } ], "libsoup": [ { "arch": "x86_64", "epoch": null, "name": "libsoup", "release": "2.el8", "source": "rpm", "version": "2.62.3" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libstemmer": [ { "arch": "x86_64", "epoch": null, "name": "libstemmer", "release": "10.585svn.el8", "source": "rpm", "version": "0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.11.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "6.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libxcb": [ { "arch": "x86_64", "epoch": null, "name": "libxcb", "release": "1.el8", "source": "rpm", "version": "1.13.1" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "107.git6342082c.el8", "source": "rpm", "version": "20220210" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "1.el8", "source": "rpm", "version": "0.1.11" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220207" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "11.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.52.20160912git.el8", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "16.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el8", "source": "rpm", "version": "10.32" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pixman": [ { "arch": "x86_64", "epoch": null, "name": "pixman", "release": "2.el8", "source": "rpm", "version": "0.38.4" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cairo": [ { "arch": "x86_64", "epoch": null, "name": "python3-cairo", "release": "6.el8", "source": "rpm", "version": "1.16.3" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-gobject": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pexpect": [ { "arch": "noarch", "epoch": null, "name": "python3-pexpect", "release": "3.el8", "source": "rpm", "version": "4.3.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-ptyprocess": [ { "arch": "noarch", "epoch": null, "name": "python3-ptyprocess", "release": "4.el8", "source": "rpm", "version": "0.5.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pydbus": [ { "arch": "noarch", "epoch": null, "name": "python3-pydbus", "release": "5.el8", "source": "rpm", "version": "0.6.0" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-systemd": [ { "arch": "x86_64", "epoch": null, "name": "python3-systemd", "release": "8.el8", "source": "rpm", "version": "234" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "11.module+el8.6.0+14707+5aa4b42d", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-logos": [ { "arch": "x86_64", "epoch": null, "name": "redhat-logos", "release": "1.el8", "source": "rpm", "version": "84.5" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "7.el8", "source": "rpm", "version": "0.2.1" } ], "rhsm-icons": [ { "arch": "noarch", "epoch": null, "name": "rhsm-icons", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "8.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "14.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "7.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "setroubleshoot-plugins": [ { "arch": "noarch", "epoch": null, "name": "setroubleshoot-plugins", "release": "1.el8", "source": "rpm", "version": "3.3.14" } ], "setroubleshoot-server": [ { "arch": "x86_64", "epoch": null, "name": "setroubleshoot-server", "release": "3.el8", "source": "rpm", "version": "3.3.26" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "6.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "16.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "2.el8", "source": "rpm", "version": "15.5" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sos": [ { "arch": "noarch", "epoch": null, "name": "sos", "release": "15.el8", "source": "rpm", "version": "4.2" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sscg": [ { "arch": "x86_64", "epoch": null, "name": "sscg", "release": "14.el8", "source": "rpm", "version": "2.3.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-cockpit": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-cockpit", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "58.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "tcpdump": [ { "arch": "x86_64", "epoch": 14, "name": "tcpdump", "release": "3.el8", "source": "rpm", "version": "4.9.3" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "2.el8", "source": "rpm", "version": "2.18.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.13", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "13.el8", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "17.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "18.el8_5", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:14:00 +0000 (0:00:01.207) 0:01:17.213 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:14:00 +0000 (0:00:00.047) 0:01:17.261 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:14:00 +0000 (0:00:00.036) 0:01:17.298 ********** ok: [/cache/rhel-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:14:00 +0000 (0:00:00.048) 0:01:17.346 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:14:00 +0000 (0:00:00.048) 0:01:17.394 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:14:00 +0000 (0:00:00.421) 0:01:17.816 ********** ok: [/cache/rhel-8.qcow2] => { "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": 58, "state": "directory", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:14:01 +0000 (0:00:00.414) 0:01:18.230 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:14:01 +0000 (0:00:00.426) 0:01:18.656 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1642153580.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658873637.7743864, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642153580.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "1247611811", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:14:02 +0000 (0:00:00.410) 0:01:19.067 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:14:02 +0000 (0:00:00.059) 0:01:19.126 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:14:02 +0000 (0:00:00.159) 0:01:19.285 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:14:02 +0000 (0:00:00.151) 0:01:19.437 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items skipped", "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 } ], "skipped": true } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:14:02 +0000 (0:00:00.059) 0:01:19.496 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:14:02 +0000 (0:00:00.061) 0:01:19.558 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:14:02 +0000 (0:00:00.032) 0:01:19.590 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:14:02 +0000 (0:00:00.041) 0:01:19.632 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:14:02 +0000 (0:00:00.033) 0:01:19.665 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:14:02 +0000 (0:00:00.030) 0:01:19.696 ********** ok: [/cache/rhel-8.qcow2] => { "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.109327", "end": "2022-07-26 18:14:02.565862", "failed_when_result": false, "rc": 0, "start": "2022-07-26 18:14:02.456535" } 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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:14:03 +0000 (0:00:00.516) 0:01:20.213 ********** changed: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (item=/etc/rsyslog.d/parse_json.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/parse_json.rulebase", "path": "/etc/rsyslog.d/parse_json.rulebase", "state": "absent" } NOTIFIED HANDLER /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:14:09 +0000 (0:00:06.346) 0:01:26.559 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:14:09 +0000 (0:00:00.048) 0:01:26.608 ********** skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:14:09 +0000 (0:00:00.063) 0:01:26.671 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:14:09 +0000 (0:00:00.052) 0:01:26.724 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:14:09 +0000 (0:00:00.053) 0:01:26.777 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:14:09 +0000 (0:00:00.053) 0:01:26.831 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target basic.target system.slice network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:14:10 +0000 (0:00:00.610) 0:01:27.442 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:14:10 +0000 (0:00:00.095) 0:01:27.537 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: role_complete for /cache/rhel-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:183 Tuesday 26 July 2022 22:14:10 +0000 (0:00:00.085) 0:01:27.623 ********** RUNNING HANDLER [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:14:10 +0000 (0:00:00.000) 0:01:27.623 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:14:09 EDT", "ActiveEnterTimestampMonotonic": "898491475", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target sysinit.target basic.target system.slice network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:14:09 EDT", "AssertTimestampMonotonic": "898484562", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:14:09 EDT", "ConditionTimestampMonotonic": "898484562", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "138211", "ExecMainStartTimestamp": "Tue 2022-07-26 18:14:09 EDT", "ExecMainStartTimestampMonotonic": "898486132", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:14:09 EDT] ; stop_time=[n/a] ; pid=138211 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-26 18:14:09 EDT", "InactiveExitTimestampMonotonic": "898486184", "InvocationID": "c2a5bb48a224473bacf328b548c91e44", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "138211", "MemoryAccounting": "yes", "MemoryCurrent": "1130496", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:14:09 EDT", "StateChangeTimestampMonotonic": "898491475", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 18:14:09 EDT", "WatchdogTimestampMonotonic": "898491474", "WatchdogUSec": "0" } } META: ran handlers TASK [TEST CASE 1; Ensure advanced ovirt configuration works] ****************** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:187 Tuesday 26 July 2022 22:14:11 +0000 (0:00:00.995) 0:01:28.618 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:14:11 +0000 (0:00:00.080) 0:01:28.699 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:14:11 +0000 (0:00:00.052) 0:01:28.752 ********** ok: [/cache/rhel-8.qcow2] => { "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] ************************* task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:14:11 +0000 (0:00:00.068) 0:01:28.820 ********** ok: [/cache/rhel-8.qcow2] => { "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] *************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.068) 0:01:28.888 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.076) 0:01:28.965 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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] ***** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.075) 0:01:29.040 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.049) 0:01:29.090 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.088) 0:01:29.178 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.049) 0:01:29.228 ********** skipping: [/cache/rhel-8.qcow2] => { "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] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.050) 0:01:29.279 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.050) 0:01:29.329 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.051) 0:01:29.381 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.050) 0:01:29.431 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:14:12 +0000 (0:00:00.045) 0:01:29.477 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:14:13 +0000 (0:00:00.542) 0:01:30.019 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:14:13 +0000 (0:00:00.079) 0:01:30.098 ********** skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:14:13 +0000 (0:00:00.100) 0:01:30.199 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:14:13 +0000 (0:00:00.085) 0:01:30.284 ********** skipping: [/cache/rhel-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:14:13 +0000 (0:00:00.048) 0:01:30.333 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:14:13 +0000 (0:00:00.043) 0:01:30.376 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:14:14 +0000 (0:00:01.404) 0:01:31.781 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:14:14 +0000 (0:00:00.045) 0:01:31.826 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "PackageKit": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "PackageKit-glib": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit-glib", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "abattis-cantarell-fonts": [ { "arch": "noarch", "epoch": null, "name": "abattis-cantarell-fonts", "release": "6.el8", "source": "rpm", "version": "0.0.25" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "3.el8", "source": "rpm", "version": "4.4.20" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "3.el8", "source": "rpm", "version": "9.11.36" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2": [ { "arch": "x86_64", "epoch": null, "name": "bzip2", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.0.el8_4", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.1" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "15.el8", "source": "rpm", "version": "21.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "cockpit-bridge": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-bridge", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "dejavu-fonts-common": [ { "arch": "noarch", "epoch": null, "name": "dejavu-fonts-common", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "dejavu-sans-mono-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-mono-fonts", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "dosfstools": [ { "arch": "x86_64", "epoch": null, "name": "dosfstools", "release": "6.el8", "source": "rpm", "version": "4.1" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "8.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "fontconfig": [ { "arch": "x86_64", "epoch": null, "name": "fontconfig", "release": "4.el8", "source": "rpm", "version": "2.13.1" } ], "fontpackages-filesystem": [ { "arch": "noarch", "epoch": null, "name": "fontpackages-filesystem", "release": "22.el8", "source": "rpm", "version": "1.44" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "4.el8_3.1", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "9.el8", "source": "rpm", "version": "1.0.3" } ], "gdk-pixbuf2": [ { "arch": "x86_64", "epoch": null, "name": "gdk-pixbuf2", "release": "5.el8", "source": "rpm", "version": "2.36.12" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "glib-networking": [ { "arch": "x86_64", "epoch": null, "name": "glib-networking", "release": "1.1.el8", "source": "rpm", "version": "2.56.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "158.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "42.el8", "source": "rpm", "version": "8.40" } ], "gsettings-desktop-schemas": [ { "arch": "x86_64", "epoch": null, "name": "gsettings-desktop-schemas", "release": "6.el8", "source": "rpm", "version": "3.32.0" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "20.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "12.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.12.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "5.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "4.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "9.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "6.el8", "source": "rpm", "version": "1.4.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "68.el8", "source": "rpm", "version": "2.0.20" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "22.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "14.el8", "source": "rpm", "version": "1.18.2" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libX11": [ { "arch": "x86_64", "epoch": null, "name": "libX11", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libX11-common": [ { "arch": "noarch", "epoch": null, "name": "libX11-common", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libXau": [ { "arch": "x86_64", "epoch": null, "name": "libXau", "release": "3.el8", "source": "rpm", "version": "1.0.9" } ], "libXext": [ { "arch": "x86_64", "epoch": null, "name": "libXext", "release": "1.el8", "source": "rpm", "version": "1.3.4" } ], "libXrender": [ { "arch": "x86_64", "epoch": null, "name": "libXrender", "release": "7.el8", "source": "rpm", "version": "0.9.10" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libappstream-glib": [ { "arch": "x86_64", "epoch": null, "name": "libappstream-glib", "release": "3.el8", "source": "rpm", "version": "0.7.14" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el8_5", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "39.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "3.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "2.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "39.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "39.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "1.el8", "source": "rpm", "version": "0.1.10" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "6.el8", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "37.2" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "39.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el8", "source": "rpm", "version": "2.4.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "2.el8", "source": "rpm", "version": "2.0.5" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodman": [ { "arch": "x86_64", "epoch": null, "name": "libmodman", "release": "17.el8", "source": "rpm", "version": "2.0.1" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "39.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libproxy": [ { "arch": "x86_64", "epoch": null, "name": "libproxy", "release": "5.2.el8", "source": "rpm", "version": "0.4.15" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "39.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el8", "source": "rpm", "version": "0.7.20" } ], "libsoup": [ { "arch": "x86_64", "epoch": null, "name": "libsoup", "release": "2.el8", "source": "rpm", "version": "2.62.3" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libstemmer": [ { "arch": "x86_64", "epoch": null, "name": "libstemmer", "release": "10.585svn.el8", "source": "rpm", "version": "0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.11.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "6.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libxcb": [ { "arch": "x86_64", "epoch": null, "name": "libxcb", "release": "1.el8", "source": "rpm", "version": "1.13.1" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "107.git6342082c.el8", "source": "rpm", "version": "20220210" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "1.el8", "source": "rpm", "version": "0.1.11" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220207" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "11.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.52.20160912git.el8", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "16.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el8", "source": "rpm", "version": "10.32" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pixman": [ { "arch": "x86_64", "epoch": null, "name": "pixman", "release": "2.el8", "source": "rpm", "version": "0.38.4" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cairo": [ { "arch": "x86_64", "epoch": null, "name": "python3-cairo", "release": "6.el8", "source": "rpm", "version": "1.16.3" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-gobject": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pexpect": [ { "arch": "noarch", "epoch": null, "name": "python3-pexpect", "release": "3.el8", "source": "rpm", "version": "4.3.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-ptyprocess": [ { "arch": "noarch", "epoch": null, "name": "python3-ptyprocess", "release": "4.el8", "source": "rpm", "version": "0.5.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pydbus": [ { "arch": "noarch", "epoch": null, "name": "python3-pydbus", "release": "5.el8", "source": "rpm", "version": "0.6.0" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-systemd": [ { "arch": "x86_64", "epoch": null, "name": "python3-systemd", "release": "8.el8", "source": "rpm", "version": "234" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "11.module+el8.6.0+14707+5aa4b42d", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-logos": [ { "arch": "x86_64", "epoch": null, "name": "redhat-logos", "release": "1.el8", "source": "rpm", "version": "84.5" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "7.el8", "source": "rpm", "version": "0.2.1" } ], "rhsm-icons": [ { "arch": "noarch", "epoch": null, "name": "rhsm-icons", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "8.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "14.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "7.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "setroubleshoot-plugins": [ { "arch": "noarch", "epoch": null, "name": "setroubleshoot-plugins", "release": "1.el8", "source": "rpm", "version": "3.3.14" } ], "setroubleshoot-server": [ { "arch": "x86_64", "epoch": null, "name": "setroubleshoot-server", "release": "3.el8", "source": "rpm", "version": "3.3.26" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "6.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "16.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "2.el8", "source": "rpm", "version": "15.5" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sos": [ { "arch": "noarch", "epoch": null, "name": "sos", "release": "15.el8", "source": "rpm", "version": "4.2" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sscg": [ { "arch": "x86_64", "epoch": null, "name": "sscg", "release": "14.el8", "source": "rpm", "version": "2.3.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-cockpit": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-cockpit", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "58.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "tcpdump": [ { "arch": "x86_64", "epoch": 14, "name": "tcpdump", "release": "3.el8", "source": "rpm", "version": "4.9.3" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "2.el8", "source": "rpm", "version": "2.18.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.13", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "13.el8", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "17.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "18.el8_5", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:14:16 +0000 (0:00:01.123) 0:01:32.950 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:14:16 +0000 (0:00:00.059) 0:01:33.009 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:14:16 +0000 (0:00:00.072) 0:01:33.081 ********** ok: [/cache/rhel-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:14:16 +0000 (0:00:00.048) 0:01:33.130 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:14:16 +0000 (0:00:00.049) 0:01:33.179 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:14:16 +0000 (0:00:00.420) 0:01:33.600 ********** ok: [/cache/rhel-8.qcow2] => { "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": 58, "state": "directory", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:14:17 +0000 (0:00:00.415) 0:01:34.015 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:14:17 +0000 (0:00:00.411) 0:01:34.427 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658873641.4073863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658873637.7743864, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642153580.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "1247611811", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:14:17 +0000 (0:00:00.425) 0:01:34.853 ********** NOTIFIED HANDLER /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "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-1658873658.0662146-220586-241247733461183/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:14:18 +0000 (0:00:00.754) 0:01:35.607 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:14:18 +0000 (0:00:00.146) 0:01:35.753 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873658.9785876-220616-55949877266152/source", "state": "file", "uid": 0 } skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:14:20 +0000 (0:00:01.485) 0:01:37.238 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:14:20 +0000 (0:00:00.062) 0:01:37.300 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:14:20 +0000 (0:00:00.059) 0:01:37.360 ********** ok: [/cache/rhel-8.qcow2] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:14:20 +0000 (0:00:00.118) 0:01:37.478 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/basics/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'basic_input', 'type': 'basics'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (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'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (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'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (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'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:14:20 +0000 (0:00:00.141) 0:01:37.619 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:20 +0000 (0:00:00.068) 0:01:37.688 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:20 +0000 (0:00:00.047) 0:01:37.736 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:20 +0000 (0:00:00.084) 0:01:37.820 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:21 +0000 (0:00:00.070) 0:01:37.891 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:14:21 +0000 (0:00:00.046) 0:01:37.937 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:21 +0000 (0:00:00.077) 0:01:38.015 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:21 +0000 (0:00:00.047) 0:01:38.062 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:22 +0000 (0:00:00.883) 0:01:38.945 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:22 +0000 (0:00:00.065) 0:01:39.011 ********** skipping: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:14:22 +0000 (0:00:00.149) 0:01:39.161 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:14:22 +0000 (0:00:00.071) 0:01:39.233 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:14:22 +0000 (0:00:00.618) 0:01:39.851 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:14:23 +0000 (0:00:00.097) 0:01:39.949 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:23 +0000 (0:00:00.071) 0:01:40.020 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-mmjsonparse-8.2102.0-7.el8.x86_64", "Installed: rsyslog-mmnormalize-8.2102.0-7.el8.x86_64" ] } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:24 +0000 (0:00:01.750) 0:01:41.770 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873664.9972396-220761-106397153592790/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658873665.7019076-220761-171639384015044/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658873666.3851326-220761-256672274370639/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658873667.0772817-220761-180274767899387/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:28 +0000 (0:00:03.573) 0:01:45.344 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:28 +0000 (0:00:00.102) 0:01:45.446 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_collectd_input in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:14:28 +0000 (0:00:00.083) 0:01:45.530 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:28 +0000 (0:00:00.112) 0:01:45.642 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:28 +0000 (0:00:00.047) 0:01:45.690 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.808) 0:01:46.499 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.069) 0:01:46.568 ********** skipping: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.129) 0:01:46.697 ********** changed: [/cache/rhel-8.qcow2] => { "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.649014", "end": "2022-07-26 18:14:30.100707", "rc": 0, "start": "2022-07-26 18:14:29.451693" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:14:30 +0000 (0:00:01.053) 0:01:47.751 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:14:30 +0000 (0:00:00.078) 0:01:47.829 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:14:31 +0000 (0:00:00.648) 0:01:48.478 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:14:31 +0000 (0:00:00.102) 0:01:48.580 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:31 +0000 (0:00:00.075) 0:01:48.655 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:33 +0000 (0:00:01.278) 0:01:49.934 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:36 +0000 (0:00:03.325) 0:01:53.259 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:36 +0000 (0:00:00.114) 0:01:53.374 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_engine_input in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:14:36 +0000 (0:00:00.124) 0:01:53.499 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:36 +0000 (0:00:00.085) 0:01:53.584 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:36 +0000 (0:00:00.048) 0:01:53.632 ********** changed: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.0.2.15\';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:37 +0000 (0:00:00.816) 0:01:54.449 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:37 +0000 (0:00:00.077) 0:01:54.527 ********** skipping: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.0.2.15\';\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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:14:37 +0000 (0:00:00.129) 0:01:54.656 ********** changed: [/cache/rhel-8.qcow2] => { "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.697619", "end": "2022-07-26 18:14:38.121976", "rc": 0, "start": "2022-07-26 18:14:37.424357" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:14:38 +0000 (0:00:01.116) 0:01:55.772 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:14:38 +0000 (0:00:00.072) 0:01:55.845 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:14:39 +0000 (0:00:00.628) 0:01:56.474 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:14:39 +0000 (0:00:00.102) 0:01:56.576 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:39 +0000 (0:00:00.074) 0:01:56.650 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:41 +0000 (0:00:01.350) 0:01:58.001 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:44 +0000 (0:00:03.310) 0:02:01.311 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:44 +0000 (0:00:00.150) 0:02:01.462 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_vdsm_input in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:14:44 +0000 (0:00:00.177) 0:02:01.639 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:44 +0000 (0:00:00.081) 0:02:01.720 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:44 +0000 (0:00:00.049) 0:02:01.770 ********** changed: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.0.2.15\';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:45 +0000 (0:00:00.818) 0:02:02.588 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:45 +0000 (0:00:00.085) 0:02:02.674 ********** skipping: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.0.2.15\';\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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:14:45 +0000 (0:00:00.117) 0:02:02.791 ********** changed: [/cache/rhel-8.qcow2] => { "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.639701", "end": "2022-07-26 18:14:46.174732", "rc": 0, "start": "2022-07-26 18:14:45.535031" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:14:46 +0000 (0:00:01.040) 0:02:03.831 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:14:47 +0000 (0:00:00.117) 0:02:03.949 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:14:47 +0000 (0:00:00.576) 0:02:04.526 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:14:47 +0000 (0:00:00.100) 0:02:04.627 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:47 +0000 (0:00:00.073) 0:02:04.700 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:49 +0000 (0:00:01.299) 0:02:06.000 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:52 +0000 (0:00:03.308) 0:02:09.309 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:52 +0000 (0:00:00.246) 0:02:09.555 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_bogus_input in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:14:52 +0000 (0:00:00.108) 0:02:09.664 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:14:52 +0000 (0:00:00.068) 0:02:09.732 ********** changed: [/cache/rhel-8.qcow2] => { "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.673813", "end": "2022-07-26 18:14:53.260648", "rc": 0, "start": "2022-07-26 18:14:52.586835" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:14:54 +0000 (0:00:01.177) 0:02:10.909 ********** ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpm7e7ceip/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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:14:54 +0000 (0:00:00.094) 0:02:11.004 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/files/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'default_files', 'type': 'files'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/rhel-8.qcow2 => (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'}) included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/rhel-8.qcow2 => (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}) TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:14:54 +0000 (0:00:00.110) 0:02:11.114 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:54 +0000 (0:00:00.071) 0:02:11.186 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:54 +0000 (0:00:00.048) 0:02:11.234 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873694.4573076-221510-230670766160162/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:55 +0000 (0:00:00.762) 0:02:11.996 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873694.4573076-221510-230670766160162/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-1658873694.4573076-221510-230670766160162/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:55 +0000 (0:00:00.093) 0:02:12.089 ********** skipping: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-default_files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:14:55 +0000 (0:00:00.053) 0:02:12.143 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:55 +0000 (0:00:00.073) 0:02:12.217 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:55 +0000 (0:00:00.047) 0:02:12.264 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873695.5412097-221546-129395796573805/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:56 +0000 (0:00:00.809) 0:02:13.074 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873694.4573076-221510-230670766160162/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-1658873694.4573076-221510-230670766160162/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873695.5412097-221546-129395796573805/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-1658873695.5412097-221546-129395796573805/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:56 +0000 (0:00:00.091) 0:02:13.166 ********** skipping: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:14:56 +0000 (0:00:00.113) 0:02:13.280 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:14:56 +0000 (0:00:00.074) 0:02:13.354 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:15 Tuesday 26 July 2022 22:14:56 +0000 (0:00:00.058) 0:02:13.413 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:24 Tuesday 26 July 2022 22:14:56 +0000 (0:00:00.113) 0:02:13.526 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:14:56 +0000 (0:00:00.056) 0:02:13.583 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:49 Tuesday 26 July 2022 22:14:56 +0000 (0:00:00.055) 0:02:13.638 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:14:56 +0000 (0:00:00.057) 0:02:13.696 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:56 +0000 (0:00:00.086) 0:02:13.782 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-7.el8.x86_64" ] } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:58 +0000 (0:00:01.707) 0:02:15.490 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873698.7169843-221608-276273580873486/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658873699.4467032-221608-170962444376455/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:00 +0000 (0:00:01.454) 0:02:16.945 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873694.4573076-221510-230670766160162/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-1658873694.4573076-221510-230670766160162/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873695.5412097-221546-129395796573805/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-1658873695.5412097-221546-129395796573805/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873698.7169843-221608-276273580873486/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-1658873698.7169843-221608-276273580873486/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873699.4467032-221608-170962444376455/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-1658873699.4467032-221608-170962444376455/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.184) 0:02:17.129 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:17 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.060) 0:02:17.190 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.078) 0:02:17.268 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.046) 0:02:17.315 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873700.6020563-221669-205300229156587/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.810) 0:02:18.126 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873694.4573076-221510-230670766160162/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-1658873694.4573076-221510-230670766160162/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873695.5412097-221546-129395796573805/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-1658873695.5412097-221546-129395796573805/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873698.7169843-221608-276273580873486/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-1658873698.7169843-221608-276273580873486/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873699.4467032-221608-170962444376455/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-1658873699.4467032-221608-170962444376455/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873700.6020563-221669-205300229156587/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-1658873700.6020563-221669-205300229156587/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.095) 0:02:18.221 ********** skipping: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d (no_log)] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:36 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.122) 0:02:18.344 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.050) 0:02:18.394 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.073) 0:02:18.467 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:15 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.068) 0:02:18.536 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:24 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.064) 0:02:18.600 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.057) 0:02:18.657 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_certs.yml:49 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.150) 0:02:18.808 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:15:02 +0000 (0:00:00.061) 0:02:18.869 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:02 +0000 (0:00:00.075) 0:02:18.945 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:03 +0000 (0:00:01.283) 0:02:20.229 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:04 +0000 (0:00:01.322) 0:02:21.551 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873694.4573076-221510-230670766160162/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-1658873694.4573076-221510-230670766160162/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873695.5412097-221546-129395796573805/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-1658873695.5412097-221546-129395796573805/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873698.7169843-221608-276273580873486/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-1658873698.7169843-221608-276273580873486/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873699.4467032-221608-170962444376455/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-1658873699.4467032-221608-170962444376455/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873700.6020563-221669-205300229156587/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-1658873700.6020563-221669-205300229156587/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:04 +0000 (0:00:00.134) 0:02:21.686 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:17 Tuesday 26 July 2022 22:15:04 +0000 (0:00:00.131) 0:02:21.818 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:05 +0000 (0:00:00.084) 0:02:21.902 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:05 +0000 (0:00:00.047) 0:02:21.950 ********** changed: [/cache/rhel-8.qcow2] => (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-1658873705.2444022-221784-11442281788912/source", "state": "file", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:05 +0000 (0:00:00.836) 0:02:22.787 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873658.9785876-220616-55949877266152/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-1658873658.9785876-220616-55949877266152/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873659.698634-220616-267606134907763/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-1658873659.698634-220616-267606134907763/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873661.383842-220691-184886445306647/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-1658873661.383842-220691-184886445306647/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873664.9972396-220761-106397153592790/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-1658873664.9972396-220761-106397153592790/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873665.7019076-220761-171639384015044/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-1658873665.7019076-220761-171639384015044/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873666.3851326-220761-256672274370639/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-1658873666.3851326-220761-256672274370639/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.0772817-220761-180274767899387/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-1658873667.0772817-220761-180274767899387/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873667.8223414-220761-92431479104830/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-1658873667.8223414-220761-92431479104830/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873668.9750996-220897-154966837785519/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-1658873668.9750996-220897-154966837785519/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658873676.9235058-221094-32847208479976/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658873685.0598373-221291-251878804464288/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873694.4573076-221510-230670766160162/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-1658873694.4573076-221510-230670766160162/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873695.5412097-221546-129395796573805/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-1658873695.5412097-221546-129395796573805/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873698.7169843-221608-276273580873486/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-1658873698.7169843-221608-276273580873486/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873699.4467032-221608-170962444376455/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-1658873699.4467032-221608-170962444376455/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873700.6020563-221669-205300229156587/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-1658873700.6020563-221669-205300229156587/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658873705.2444022-221784-11442281788912/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-1658873705.2444022-221784-11442281788912/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.100) 0:02:22.887 ********** skipping: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d (no_log)] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:36 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.127) 0:02:23.015 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.050) 0:02:23.065 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.048) 0:02:23.113 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.055) 0:02:23.169 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.044) 0:02:23.213 ********** skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.065) 0:02:23.279 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.055) 0:02:23.334 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.054) 0:02:23.388 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.092) 0:02:23.481 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:14:10 EDT", "ActiveEnterTimestampMonotonic": "899666039", "ActiveExitTimestamp": "Tue 2022-07-26 18:14:10 EDT", "ActiveExitTimestampMonotonic": "899235315", "ActiveState": "active", "After": "network.target sysinit.target basic.target system.slice network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:14:10 EDT", "AssertTimestampMonotonic": "899659624", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:14:10 EDT", "ConditionTimestampMonotonic": "899659624", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "138314", "ExecMainStartTimestamp": "Tue 2022-07-26 18:14:10 EDT", "ExecMainStartTimestampMonotonic": "899660900", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:14:10 EDT] ; stop_time=[n/a] ; pid=138314 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 18:14:10 EDT", "InactiveEnterTimestampMonotonic": "899658665", "InactiveExitTimestamp": "Tue 2022-07-26 18:14:10 EDT", "InactiveExitTimestampMonotonic": "899660963", "InvocationID": "b9d936d24d1442939c94ecc7b8d33388", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "138314", "MemoryAccounting": "yes", "MemoryCurrent": "1196032", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:14:10 EDT", "StateChangeTimestampMonotonic": "899666039", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 18:14:10 EDT", "WatchdogTimestampMonotonic": "899666036", "WatchdogUSec": "0" } } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:15:07 +0000 (0:00:00.553) 0:02:24.034 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:15:07 +0000 (0:00:00.048) 0:02:24.083 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: role_complete for /cache/rhel-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:265 Tuesday 26 July 2022 22:15:07 +0000 (0:00:00.081) 0:02:24.165 ********** RUNNING HANDLER [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:15:07 +0000 (0:00:00.000) 0:02:24.165 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:14:10 EDT", "ActiveEnterTimestampMonotonic": "899666039", "ActiveExitTimestamp": "Tue 2022-07-26 18:14:10 EDT", "ActiveExitTimestampMonotonic": "899235315", "ActiveState": "active", "After": "network.target sysinit.target basic.target system.slice network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:14:10 EDT", "AssertTimestampMonotonic": "899659624", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:14:10 EDT", "ConditionTimestampMonotonic": "899659624", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "138314", "ExecMainStartTimestamp": "Tue 2022-07-26 18:14:10 EDT", "ExecMainStartTimestampMonotonic": "899660900", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:14:10 EDT] ; stop_time=[n/a] ; pid=138314 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 18:14:10 EDT", "InactiveEnterTimestampMonotonic": "899658665", "InactiveExitTimestamp": "Tue 2022-07-26 18:14:10 EDT", "InactiveExitTimestampMonotonic": "899660963", "InvocationID": "b9d936d24d1442939c94ecc7b8d33388", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "138314", "MemoryAccounting": "yes", "MemoryCurrent": "1196032", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:14:10 EDT", "StateChangeTimestampMonotonic": "899666039", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 18:14:10 EDT", "WatchdogTimestampMonotonic": "899666036", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:269 Tuesday 26 July 2022 22:15:08 +0000 (0:00:00.959) 0:02:25.125 ********** included: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml for /cache/rhel-8.qcow2 TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:15:08 +0000 (0:00:00.064) 0:02:25.189 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658873707.4573863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658873657.9533863, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 26288120, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873657.6853864, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "4039758149", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get file counts in /etc/rsyslog.d] *************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:15:08 +0000 (0:00:00.424) 0:02:25.614 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 18, "files": [ { "atime": 1658873075.2353864, "ctime": 1658873043.9943864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8388868, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648826340.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": 1658873707.4583864, "ctime": 1658873658.8583863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17060751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873658.5843863, "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": 1658873707.4583864, "ctime": 1658873659.5823863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245318, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873659.3083863, "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": 1658873707.4583864, "ctime": 1658873661.2843864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 366507, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873661.0063863, "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": 1658873672.7153864, "ctime": 1658873664.8743863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26288121, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873664.5983863, "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": 1658873673.3703864, "ctime": 1658873665.5673864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17060761, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873665.3053863, "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": 1658873674.0403864, "ctime": 1658873666.2593863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245514, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873665.9913864, "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": 1658873674.6643863, "ctime": 1658873666.9493864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 366508, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873666.6843863, "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": 1658873675.3353863, "ctime": 1658873667.6893864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26288122, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873667.4333863, "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": 1658873707.4583864, "ctime": 1658873668.8423862, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17060762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873668.5793862, "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": 1658873707.4573863, "ctime": 1658873676.7913864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17060763, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873676.5243864, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1365, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658873707.4573863, "ctime": 1658873684.9243863, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17060764, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873684.6533864, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1341, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658873707.4583864, "ctime": 1658873694.3393862, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 366509, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873694.0673864, "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": 1658873707.4583864, "ctime": 1658873695.4163864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26288123, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873695.1533864, "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": 1658873703.0103862, "ctime": 1658873698.5833864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 366510, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873698.3233864, "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": 1658873703.6353862, "ctime": 1658873699.2903864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26288124, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873699.0383863, "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": 1658873707.4583864, "ctime": 1658873700.4753864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17060765, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658873700.2043862, "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": 1658873707.4583864, "ctime": 1658873705.1333864, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245515, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658873704.8363864, "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, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.410) 0:02:26.024 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.047) 0:02:26.071 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.032) 0:02:26.104 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.046) 0:02:26.151 ********** ok: [/cache/rhel-8.qcow2] => (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": 1658873707.4583864, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1658873668.8423862, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17060762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873668.5793862, "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": "4289609328", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658873707.4573863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "ctime": 1658873676.7913864, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17060763, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873676.5243864, "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": 1365, "uid": 0, "version": "2566576639", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658873707.4573863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "ctime": 1658873684.9243863, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17060764, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873684.6533864, "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": 1341, "uid": 0, "version": "4224909632", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpm7e7ceip/tests/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:15:10 +0000 (0:00:01.158) 0:02:27.309 ********** skipping: [/cache/rhel-8.qcow2] => { "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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:280 Tuesday 26 July 2022 22:15:10 +0000 (0:00:00.034) 0:02:27.344 ********** ok: [/cache/rhel-8.qcow2] => (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": 1658873707.4583864, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1658873668.8423862, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17060762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873668.5793862, "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": "4289609328", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658873707.4573863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "ctime": 1658873676.7913864, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17060763, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873676.5243864, "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": 1365, "uid": 0, "version": "2566576639", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658873707.4573863, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "ctime": 1658873684.9243863, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17060764, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873684.6533864, "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": 1341, "uid": 0, "version": "4224909632", "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"] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:291 Tuesday 26 July 2022 22:15:11 +0000 (0:00:01.159) 0:02:28.503 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:297 Tuesday 26 July 2022 22:15:12 +0000 (0:00:00.486) 0:02:28.990 ********** ok: [/cache/rhel-8.qcow2] => { "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.003611", "end": "2022-07-26 18:15:11.734456", "rc": 0, "start": "2022-07-26 18:15:11.730845" } 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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:303 Tuesday 26 July 2022 22:15:12 +0000 (0:00:00.397) 0:02:29.388 ********** ok: [/cache/rhel-8.qcow2] => { "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.003215", "end": "2022-07-26 18:15:12.119103", "rc": 0, "start": "2022-07-26 18:15:12.115888" } 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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:310 Tuesday 26 July 2022 22:15:12 +0000 (0:00:00.378) 0:02:29.766 ********** ok: [/cache/rhel-8.qcow2] => { "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.003982", "end": "2022-07-26 18:15:13.500126", "rc": 0, "start": "2022-07-26 18:15:12.496144" } 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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:317 Tuesday 26 July 2022 22:15:14 +0000 (0:00:01.382) 0:02:31.149 ********** ok: [/cache/rhel-8.qcow2] => { "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.002961", "end": "2022-07-26 18:15:13.887360", "rc": 0, "start": "2022-07-26 18:15:13.884399" } 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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:324 Tuesday 26 July 2022 22:15:14 +0000 (0:00:00.384) 0:02:31.533 ********** ok: [/cache/rhel-8.qcow2] => { "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.002999", "end": "2022-07-26 18:15:14.274914", "rc": 0, "start": "2022-07-26 18:15:14.271915" } 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] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:331 Tuesday 26 July 2022 22:15:15 +0000 (0:00:00.387) 0:02:31.921 ********** ok: [/cache/rhel-8.qcow2] => { "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.003524", "end": "2022-07-26 18:15:14.657690", "rc": 0, "start": "2022-07-26 18:15:14.654166" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "777-888-999" & "."; TASK [Check default config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:338 Tuesday 26 July 2022 22:15:15 +0000 (0:00:00.385) 0:02:32.307 ********** ok: [/cache/rhel-8.qcow2] => (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.003147", "end": "2022-07-26 18:15:15.063411", "item": "dynSearchIndex=.on.", "rc": 0, "start": "2022-07-26 18:15:15.060264" } STDOUT: dynSearchIndex="on" ok: [/cache/rhel-8.qcow2] => (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.002942", "end": "2022-07-26 18:15:15.466564", "item": "bulkmode=.on.", "rc": 0, "start": "2022-07-26 18:15:15.463622" } STDOUT: bulkmode="on" ok: [/cache/rhel-8.qcow2] => (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:01.004415", "end": "2022-07-26 18:15:16.817132", "item": "dynbulkid=.on.", "rc": 0, "start": "2022-07-26 18:15:15.812717" } STDOUT: dynbulkid="on" ok: [/cache/rhel-8.qcow2] => (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.003102", "end": "2022-07-26 18:15:17.176872", "item": "allowUnsignedCerts=.off.", "rc": 0, "start": "2022-07-26 18:15:17.173770" } STDOUT: allowUnsignedCerts="off" ok: [/cache/rhel-8.qcow2] => (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.003720", "end": "2022-07-26 18:15:17.530803", "item": "usehttps=.on.", "rc": 0, "start": "2022-07-26 18:15:17.527083" } STDOUT: usehttps="on" ok: [/cache/rhel-8.qcow2] => (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.002560", "end": "2022-07-26 18:15:17.881272", "item": "retryfailures=.on.", "rc": 0, "start": "2022-07-26 18:15:17.878712" } STDOUT: retryfailures="on" TASK [Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:349 Tuesday 26 July 2022 22:15:18 +0000 (0:00:03.258) 0:02:35.565 ********** ok: [/cache/rhel-8.qcow2] => (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:01.004052", "end": "2022-07-26 18:15:19.315004", "item": "dynSearchIndex=.off.", "rc": 0, "start": "2022-07-26 18:15:18.310952" } STDOUT: dynSearchIndex="off" ok: [/cache/rhel-8.qcow2] => (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.002648", "end": "2022-07-26 18:15:19.662229", "item": "bulkmode=.off.", "rc": 0, "start": "2022-07-26 18:15:19.659581" } STDOUT: bulkmode="off" ok: [/cache/rhel-8.qcow2] => (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.003529", "end": "2022-07-26 18:15:20.017984", "item": "dynbulkid=.off.", "rc": 0, "start": "2022-07-26 18:15:20.014455" } STDOUT: dynbulkid="off" ok: [/cache/rhel-8.qcow2] => (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.002971", "end": "2022-07-26 18:15:20.372351", "item": "allowUnsignedCerts=.on.", "rc": 0, "start": "2022-07-26 18:15:20.369380" } STDOUT: allowUnsignedCerts="on" ok: [/cache/rhel-8.qcow2] => (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.002906", "end": "2022-07-26 18:15:20.718524", "item": "usehttps=.off.", "rc": 0, "start": "2022-07-26 18:15:20.715618" } STDOUT: usehttps="off" ok: [/cache/rhel-8.qcow2] => (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.002644", "end": "2022-07-26 18:15:21.076361", "item": "retryfailures=.off.", "rc": 0, "start": "2022-07-26 18:15:21.073717" } STDOUT: retryfailures="off" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:360 Tuesday 26 July 2022 22:15:21 +0000 (0:00:03.161) 0:02:38.727 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "server=\\[\"logging-es0\", \"logging-es1\"\\]", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002891", "end": "2022-07-26 18:15:21.473299", "rc": 0, "start": "2022-07-26 18:15:21.470408" } STDOUT: server=["logging-es0", "logging-es1"] TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:366 Tuesday 26 July 2022 22:15:22 +0000 (0:00:00.396) 0:02:39.123 ********** ok: [/cache/rhel-8.qcow2] => { "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:01.003837", "end": "2022-07-26 18:15:22.865309", "rc": 0, "start": "2022-07-26 18:15:21.861472" } STDOUT: server=["logging-es-ops0", "logging-es-ops1"] TASK [END TEST CASE 1; Ensure basic ovirt configuration works] ***************** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:372 Tuesday 26 July 2022 22:15:23 +0000 (0:00:01.390) 0:02:40.513 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:15:23 +0000 (0:00:00.082) 0:02:40.595 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:15:23 +0000 (0:00:00.055) 0:02:40.651 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:15:23 +0000 (0:00:00.103) 0:02:40.754 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:15:23 +0000 (0:00:00.100) 0:02:40.854 ********** TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:15:24 +0000 (0:00:00.032) 0:02:40.887 ********** TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:15:24 +0000 (0:00:00.034) 0:02:40.921 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:15:24 +0000 (0:00:00.061) 0:02:40.983 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:15:24 +0000 (0:00:00.049) 0:02:41.033 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:15:24 +0000 (0:00:00.052) 0:02:41.085 ********** skipping: [/cache/rhel-8.qcow2] => { "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] *** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:15:24 +0000 (0:00:00.053) 0:02:41.138 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:15:24 +0000 (0:00:00.055) 0:02:41.194 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:15:24 +0000 (0:00:00.053) 0:02:41.247 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:15:24 +0000 (0:00:00.054) 0:02:41.301 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:15:24 +0000 (0:00:00.051) 0:02:41.353 ********** ok: [/cache/rhel-8.qcow2] TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:15:25 +0000 (0:00:00.565) 0:02:41.918 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:15:25 +0000 (0:00:00.075) 0:02:41.994 ********** skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpm7e7ceip/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:15:25 +0000 (0:00:00.090) 0:02:42.085 ********** included: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:15:25 +0000 (0:00:00.130) 0:02:42.216 ********** ok: [/cache/rhel-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.055033", "end": "2022-07-26 18:15:25.040350", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 18:15:24.985317" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:15:25 +0000 (0:00:00.477) 0:02:42.693 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-8.2102.0-7.el8.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-7.el8.x86_64", "Removed: rsyslog-mmjsonparse-8.2102.0-7.el8.x86_64", "Removed: rsyslog-mmnormalize-8.2102.0-7.el8.x86_64" ] } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:15:28 +0000 (0:00:02.371) 0:02:45.065 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-8.2102.0-7.el8.x86_64" ] } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:15:30 +0000 (0:00:02.010) 0:02:47.075 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:15:30 +0000 (0:00:00.044) 0:02:47.120 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "PackageKit": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "PackageKit-glib": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit-glib", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "abattis-cantarell-fonts": [ { "arch": "noarch", "epoch": null, "name": "abattis-cantarell-fonts", "release": "6.el8", "source": "rpm", "version": "0.0.25" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "3.el8", "source": "rpm", "version": "4.4.20" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "3.el8", "source": "rpm", "version": "9.11.36" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2": [ { "arch": "x86_64", "epoch": null, "name": "bzip2", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.0.el8_4", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.1" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "15.el8", "source": "rpm", "version": "21.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "cockpit-bridge": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-bridge", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "dejavu-fonts-common": [ { "arch": "noarch", "epoch": null, "name": "dejavu-fonts-common", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "dejavu-sans-mono-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-mono-fonts", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "dosfstools": [ { "arch": "x86_64", "epoch": null, "name": "dosfstools", "release": "6.el8", "source": "rpm", "version": "4.1" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "8.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "fontconfig": [ { "arch": "x86_64", "epoch": null, "name": "fontconfig", "release": "4.el8", "source": "rpm", "version": "2.13.1" } ], "fontpackages-filesystem": [ { "arch": "noarch", "epoch": null, "name": "fontpackages-filesystem", "release": "22.el8", "source": "rpm", "version": "1.44" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "4.el8_3.1", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "9.el8", "source": "rpm", "version": "1.0.3" } ], "gdk-pixbuf2": [ { "arch": "x86_64", "epoch": null, "name": "gdk-pixbuf2", "release": "5.el8", "source": "rpm", "version": "2.36.12" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "glib-networking": [ { "arch": "x86_64", "epoch": null, "name": "glib-networking", "release": "1.1.el8", "source": "rpm", "version": "2.56.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "158.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "42.el8", "source": "rpm", "version": "8.40" } ], "gsettings-desktop-schemas": [ { "arch": "x86_64", "epoch": null, "name": "gsettings-desktop-schemas", "release": "6.el8", "source": "rpm", "version": "3.32.0" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "20.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "12.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.12.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "5.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "4.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "9.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "6.el8", "source": "rpm", "version": "1.4.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "68.el8", "source": "rpm", "version": "2.0.20" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "22.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "14.el8", "source": "rpm", "version": "1.18.2" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libX11": [ { "arch": "x86_64", "epoch": null, "name": "libX11", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libX11-common": [ { "arch": "noarch", "epoch": null, "name": "libX11-common", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libXau": [ { "arch": "x86_64", "epoch": null, "name": "libXau", "release": "3.el8", "source": "rpm", "version": "1.0.9" } ], "libXext": [ { "arch": "x86_64", "epoch": null, "name": "libXext", "release": "1.el8", "source": "rpm", "version": "1.3.4" } ], "libXrender": [ { "arch": "x86_64", "epoch": null, "name": "libXrender", "release": "7.el8", "source": "rpm", "version": "0.9.10" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libappstream-glib": [ { "arch": "x86_64", "epoch": null, "name": "libappstream-glib", "release": "3.el8", "source": "rpm", "version": "0.7.14" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el8_5", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "39.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "3.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "2.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "39.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "39.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "1.el8", "source": "rpm", "version": "0.1.10" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "6.el8", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "37.2" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "39.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el8", "source": "rpm", "version": "2.4.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "2.el8", "source": "rpm", "version": "2.0.5" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodman": [ { "arch": "x86_64", "epoch": null, "name": "libmodman", "release": "17.el8", "source": "rpm", "version": "2.0.1" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "39.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libproxy": [ { "arch": "x86_64", "epoch": null, "name": "libproxy", "release": "5.2.el8", "source": "rpm", "version": "0.4.15" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "39.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el8", "source": "rpm", "version": "0.7.20" } ], "libsoup": [ { "arch": "x86_64", "epoch": null, "name": "libsoup", "release": "2.el8", "source": "rpm", "version": "2.62.3" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libstemmer": [ { "arch": "x86_64", "epoch": null, "name": "libstemmer", "release": "10.585svn.el8", "source": "rpm", "version": "0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.11.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "6.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libxcb": [ { "arch": "x86_64", "epoch": null, "name": "libxcb", "release": "1.el8", "source": "rpm", "version": "1.13.1" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "107.git6342082c.el8", "source": "rpm", "version": "20220210" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "1.el8", "source": "rpm", "version": "0.1.11" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220207" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "11.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.52.20160912git.el8", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "16.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el8", "source": "rpm", "version": "10.32" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pixman": [ { "arch": "x86_64", "epoch": null, "name": "pixman", "release": "2.el8", "source": "rpm", "version": "0.38.4" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cairo": [ { "arch": "x86_64", "epoch": null, "name": "python3-cairo", "release": "6.el8", "source": "rpm", "version": "1.16.3" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-gobject": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pexpect": [ { "arch": "noarch", "epoch": null, "name": "python3-pexpect", "release": "3.el8", "source": "rpm", "version": "4.3.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-ptyprocess": [ { "arch": "noarch", "epoch": null, "name": "python3-ptyprocess", "release": "4.el8", "source": "rpm", "version": "0.5.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pydbus": [ { "arch": "noarch", "epoch": null, "name": "python3-pydbus", "release": "5.el8", "source": "rpm", "version": "0.6.0" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-systemd": [ { "arch": "x86_64", "epoch": null, "name": "python3-systemd", "release": "8.el8", "source": "rpm", "version": "234" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "11.module+el8.6.0+14707+5aa4b42d", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-logos": [ { "arch": "x86_64", "epoch": null, "name": "redhat-logos", "release": "1.el8", "source": "rpm", "version": "84.5" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "7.el8", "source": "rpm", "version": "0.2.1" } ], "rhsm-icons": [ { "arch": "noarch", "epoch": null, "name": "rhsm-icons", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "8.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "14.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "7.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "setroubleshoot-plugins": [ { "arch": "noarch", "epoch": null, "name": "setroubleshoot-plugins", "release": "1.el8", "source": "rpm", "version": "3.3.14" } ], "setroubleshoot-server": [ { "arch": "x86_64", "epoch": null, "name": "setroubleshoot-server", "release": "3.el8", "source": "rpm", "version": "3.3.26" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "6.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "16.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "2.el8", "source": "rpm", "version": "15.5" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sos": [ { "arch": "noarch", "epoch": null, "name": "sos", "release": "15.el8", "source": "rpm", "version": "4.2" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sscg": [ { "arch": "x86_64", "epoch": null, "name": "sscg", "release": "14.el8", "source": "rpm", "version": "2.3.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-cockpit": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-cockpit", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "58.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "tcpdump": [ { "arch": "x86_64", "epoch": 14, "name": "tcpdump", "release": "3.el8", "source": "rpm", "version": "4.9.3" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "2.el8", "source": "rpm", "version": "2.18.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.13", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "13.el8", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "17.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "18.el8_5", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:15:31 +0000 (0:00:01.177) 0:02:48.298 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:15:31 +0000 (0:00:00.130) 0:02:48.428 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:15:31 +0000 (0:00:00.038) 0:02:48.466 ********** ok: [/cache/rhel-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:15:31 +0000 (0:00:00.055) 0:02:48.521 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:15:31 +0000 (0:00:00.047) 0:02:48.569 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:15:32 +0000 (0:00:00.405) 0:02:48.974 ********** ok: [/cache/rhel-8.qcow2] => { "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": 58, "state": "directory", "uid": 0 } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:15:32 +0000 (0:00:00.398) 0:02:49.373 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:15:32 +0000 (0:00:00.415) 0:02:49.788 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1642153580.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658873728.8423862, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642153580.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "293470438", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.419) 0:02:50.208 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.050) 0:02:50.259 ********** ok: [/cache/rhel-8.qcow2] => { "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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.170) 0:02:50.429 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.062) 0:02:50.492 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items skipped", "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 } ], "skipped": true } ] }, "changed": false } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.110) 0:02:50.603 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.060) 0:02:50.663 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.030) 0:02:50.693 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.044) 0:02:50.738 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.030) 0:02:50.769 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.032) 0:02:50.801 ********** ok: [/cache/rhel-8.qcow2] => { "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.114989", "end": "2022-07-26 18:15:33.668002", "failed_when_result": false, "rc": 0, "start": "2022-07-26 18:15:33.553013" } 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 [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:15:34 +0000 (0:00:00.517) 0:02:51.319 ********** changed: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (item=/etc/rsyslog.d/parse_json.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/parse_json.rulebase", "path": "/etc/rsyslog.d/parse_json.rulebase", "state": "absent" } NOTIFIED HANDLER /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/rhel-8.qcow2 TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:15:40 +0000 (0:00:06.302) 0:02:57.621 ********** TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:15:40 +0000 (0:00:00.045) 0:02:57.666 ********** skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:15:40 +0000 (0:00:00.066) 0:02:57.733 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:15:40 +0000 (0:00:00.049) 0:02:57.783 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:15:40 +0000 (0:00:00.051) 0:02:57.835 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:15:41 +0000 (0:00:00.051) 0:02:57.886 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target sysinit.target system.slice network-online.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:15:41 +0000 (0:00:00.654) 0:02:58.541 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:15:41 +0000 (0:00:00.048) 0:02:58.590 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: role_complete for /cache/rhel-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:380 Tuesday 26 July 2022 22:15:41 +0000 (0:00:00.082) 0:02:58.673 ********** RUNNING HANDLER [/tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpm7e7ceip/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:15:41 +0000 (0:00:00.000) 0:02:58.673 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:15:40 EDT", "ActiveEnterTimestampMonotonic": "989538524", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network-online.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:15:40 EDT", "AssertTimestampMonotonic": "989531233", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:15:40 EDT", "ConditionTimestampMonotonic": "989531232", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "151602", "ExecMainStartTimestamp": "Tue 2022-07-26 18:15:40 EDT", "ExecMainStartTimestampMonotonic": "989533063", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:15:40 EDT] ; stop_time=[n/a] ; pid=151602 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-26 18:15:40 EDT", "InactiveExitTimestampMonotonic": "989533116", "InvocationID": "e3410234cd7a41b88686076165c68f89", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "151602", "MemoryAccounting": "yes", "MemoryCurrent": "3198976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:15:40 EDT", "StateChangeTimestampMonotonic": "989538524", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 18:15:40 EDT", "WatchdogTimestampMonotonic": "989538520", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=282 changed=46 unreachable=0 failed=0 skipped=180 rescued=0 ignored=0 Tuesday 26 July 2022 22:15:42 +0000 (0:00:00.963) 0:02:59.637 ********** =============================================================================== /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 6.35s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:257 ------------------------ /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 6.30s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:257 ------------------------ /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd --- 3.82s /tmp/tmpm7e7ceip/roles/rsyslog/handlers/main.yml:2 ---------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.57s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.55s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.33s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.31s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.31s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.26s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- Check default config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" --- 3.26s /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:338 ---------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.25s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.23s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" --- 3.16s /tmp/tmpm7e7ceip/tests/tests_ovirt_elasticsearch.yml:349 ---------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to --- 3.15s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 ----------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 2.38s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:23 ------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 2.37s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:23 ------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 2.01s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:33 ------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 1.93s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 ----------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 1.89s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/main_core.yml:33 ------------------------- /tmp/tmpm7e7ceip/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 1.75s /tmp/tmpm7e7ceip/roles/rsyslog/tasks/deploy.yml:4 ----------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpsw2hsk53 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Tuesday 26 July 2022 22:35:24 +0000 (0:00:00.026) 0:00:00.026 ********** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 26 July 2022 22:35:25 +0000 (0:00:01.304) 0:00:01.330 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_ovirt_elasticsearch.yml **************************************** 1 plays in /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml PLAY [Ensure that the role runs with parameters from ovirt to two elasticsearch outputs and local files output] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:2 Tuesday 26 July 2022 22:35:25 +0000 (0:00:00.043) 0:00:01.374 ********** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [TEST CASE 0; Ensure basic ovirt default configuration works] ************* task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:26 Tuesday 26 July 2022 22:35:27 +0000 (0:00:02.061) 0:00:03.435 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.052) 0:00:03.488 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.040) 0:00:03.528 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_outputs": [ { "name": "default_files", "type": "files" }, { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es", "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" }, { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es-ops", "server_port": 9200, "type": "elasticsearch" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.049) 0:00:03.578 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "type": "basics" }, { "name": "ovirt_collectd_input", "subtype": "collectd", "type": "ovirt" }, { "name": "ovirt_engine_input", "subtype": "engine", "type": "ovirt" }, { "name": "ovirt_vdsm_input", "subtype": "vdsm", "type": "ovirt" }, { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.051) 0:00:03.629 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.061) 0:00:03.691 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.059) 0:00:03.750 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.037) 0:00:03.788 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.036) 0:00:03.825 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.036) 0:00:03.862 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Use a debug var to avoid an empty dict in with_dict] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.037) 0:00:03.900 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.037) 0:00:03.937 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 22:35:27 +0000 (0:00:00.037) 0:00:03.975 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:35:28 +0000 (0:00:00.035) 0:00:04.010 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:35:28 +0000 (0:00:00.029) 0:00:04.040 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 22:35:28 +0000 (0:00:00.514) 0:00:04.554 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 22:35:28 +0000 (0:00:00.063) 0:00:04.618 ********** skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:35:28 +0000 (0:00:00.079) 0:00:04.698 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:35:28 +0000 (0:00:00.079) 0:00:04.778 ********** skipping: [/cache/rhel-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:35:28 +0000 (0:00:00.034) 0:00:04.813 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 22:35:28 +0000 (0:00:00.031) 0:00:04.844 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 22:35:30 +0000 (0:00:01.496) 0:00:06.341 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 22:35:30 +0000 (0:00:00.029) 0:00:06.370 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "PackageKit": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "PackageKit-glib": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit-glib", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "abattis-cantarell-fonts": [ { "arch": "noarch", "epoch": null, "name": "abattis-cantarell-fonts", "release": "6.el8", "source": "rpm", "version": "0.0.25" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "3.el8", "source": "rpm", "version": "4.4.20" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "3.el8", "source": "rpm", "version": "9.11.36" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2": [ { "arch": "x86_64", "epoch": null, "name": "bzip2", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.0.el8_4", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.1" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "15.el8", "source": "rpm", "version": "21.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "cockpit-bridge": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-bridge", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "dejavu-fonts-common": [ { "arch": "noarch", "epoch": null, "name": "dejavu-fonts-common", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "dejavu-sans-mono-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-mono-fonts", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "dosfstools": [ { "arch": "x86_64", "epoch": null, "name": "dosfstools", "release": "6.el8", "source": "rpm", "version": "4.1" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "8.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "fontconfig": [ { "arch": "x86_64", "epoch": null, "name": "fontconfig", "release": "4.el8", "source": "rpm", "version": "2.13.1" } ], "fontpackages-filesystem": [ { "arch": "noarch", "epoch": null, "name": "fontpackages-filesystem", "release": "22.el8", "source": "rpm", "version": "1.44" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "4.el8_3.1", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "9.el8", "source": "rpm", "version": "1.0.3" } ], "gdk-pixbuf2": [ { "arch": "x86_64", "epoch": null, "name": "gdk-pixbuf2", "release": "5.el8", "source": "rpm", "version": "2.36.12" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "glib-networking": [ { "arch": "x86_64", "epoch": null, "name": "glib-networking", "release": "1.1.el8", "source": "rpm", "version": "2.56.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "158.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "42.el8", "source": "rpm", "version": "8.40" } ], "gsettings-desktop-schemas": [ { "arch": "x86_64", "epoch": null, "name": "gsettings-desktop-schemas", "release": "6.el8", "source": "rpm", "version": "3.32.0" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "20.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "12.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.12.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "5.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "4.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "9.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "6.el8", "source": "rpm", "version": "1.4.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "68.el8", "source": "rpm", "version": "2.0.20" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "22.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "14.el8", "source": "rpm", "version": "1.18.2" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libX11": [ { "arch": "x86_64", "epoch": null, "name": "libX11", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libX11-common": [ { "arch": "noarch", "epoch": null, "name": "libX11-common", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libXau": [ { "arch": "x86_64", "epoch": null, "name": "libXau", "release": "3.el8", "source": "rpm", "version": "1.0.9" } ], "libXext": [ { "arch": "x86_64", "epoch": null, "name": "libXext", "release": "1.el8", "source": "rpm", "version": "1.3.4" } ], "libXrender": [ { "arch": "x86_64", "epoch": null, "name": "libXrender", "release": "7.el8", "source": "rpm", "version": "0.9.10" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libappstream-glib": [ { "arch": "x86_64", "epoch": null, "name": "libappstream-glib", "release": "3.el8", "source": "rpm", "version": "0.7.14" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el8_5", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "39.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "3.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "2.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "39.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "39.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "1.el8", "source": "rpm", "version": "0.1.10" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "6.el8", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "37.2" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "39.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el8", "source": "rpm", "version": "2.4.1" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodman": [ { "arch": "x86_64", "epoch": null, "name": "libmodman", "release": "17.el8", "source": "rpm", "version": "2.0.1" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "39.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libproxy": [ { "arch": "x86_64", "epoch": null, "name": "libproxy", "release": "5.2.el8", "source": "rpm", "version": "0.4.15" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "39.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el8", "source": "rpm", "version": "0.7.20" } ], "libsoup": [ { "arch": "x86_64", "epoch": null, "name": "libsoup", "release": "2.el8", "source": "rpm", "version": "2.62.3" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libstemmer": [ { "arch": "x86_64", "epoch": null, "name": "libstemmer", "release": "10.585svn.el8", "source": "rpm", "version": "0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.11.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "6.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libxcb": [ { "arch": "x86_64", "epoch": null, "name": "libxcb", "release": "1.el8", "source": "rpm", "version": "1.13.1" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "107.git6342082c.el8", "source": "rpm", "version": "20220210" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "1.el8", "source": "rpm", "version": "0.1.11" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220207" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "11.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.52.20160912git.el8", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "16.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el8", "source": "rpm", "version": "10.32" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pixman": [ { "arch": "x86_64", "epoch": null, "name": "pixman", "release": "2.el8", "source": "rpm", "version": "0.38.4" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cairo": [ { "arch": "x86_64", "epoch": null, "name": "python3-cairo", "release": "6.el8", "source": "rpm", "version": "1.16.3" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-gobject": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pexpect": [ { "arch": "noarch", "epoch": null, "name": "python3-pexpect", "release": "3.el8", "source": "rpm", "version": "4.3.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-ptyprocess": [ { "arch": "noarch", "epoch": null, "name": "python3-ptyprocess", "release": "4.el8", "source": "rpm", "version": "0.5.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pydbus": [ { "arch": "noarch", "epoch": null, "name": "python3-pydbus", "release": "5.el8", "source": "rpm", "version": "0.6.0" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-systemd": [ { "arch": "x86_64", "epoch": null, "name": "python3-systemd", "release": "8.el8", "source": "rpm", "version": "234" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "11.module+el8.6.0+14707+5aa4b42d", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-logos": [ { "arch": "x86_64", "epoch": null, "name": "redhat-logos", "release": "1.el8", "source": "rpm", "version": "84.5" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "7.el8", "source": "rpm", "version": "0.2.1" } ], "rhsm-icons": [ { "arch": "noarch", "epoch": null, "name": "rhsm-icons", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "8.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "14.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "7.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "setroubleshoot-plugins": [ { "arch": "noarch", "epoch": null, "name": "setroubleshoot-plugins", "release": "1.el8", "source": "rpm", "version": "3.3.14" } ], "setroubleshoot-server": [ { "arch": "x86_64", "epoch": null, "name": "setroubleshoot-server", "release": "3.el8", "source": "rpm", "version": "3.3.26" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "6.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "16.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "2.el8", "source": "rpm", "version": "15.5" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sos": [ { "arch": "noarch", "epoch": null, "name": "sos", "release": "15.el8", "source": "rpm", "version": "4.2" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sscg": [ { "arch": "x86_64", "epoch": null, "name": "sscg", "release": "14.el8", "source": "rpm", "version": "2.3.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-cockpit": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-cockpit", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "58.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "tcpdump": [ { "arch": "x86_64", "epoch": 14, "name": "tcpdump", "release": "3.el8", "source": "rpm", "version": "4.9.3" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "2.el8", "source": "rpm", "version": "2.18.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.13", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "13.el8", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "17.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "18.el8_5", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 22:35:31 +0000 (0:00:01.396) 0:00:07.766 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 22:35:31 +0000 (0:00:00.047) 0:00:07.813 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 22:35:31 +0000 (0:00:00.037) 0:00:07.851 ********** ok: [/cache/rhel-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 22:35:31 +0000 (0:00:00.049) 0:00:07.900 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 22:35:31 +0000 (0:00:00.051) 0:00:07.952 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 109, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create a work directory] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 22:35:32 +0000 (0:00:00.569) 0:00:08.521 ********** ok: [/cache/rhel-8.qcow2] => { "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": 58, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 22:35:32 +0000 (0:00:00.412) 0:00:08.934 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log", "secontext": "system_u:object_r:var_log_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:35:33 +0000 (0:00:00.420) 0:00:09.354 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658874903.4554636, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658874899.6024635, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642153580.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "896014", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 22:35:33 +0000 (0:00:00.570) 0:00:09.924 ********** NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "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-1658874933.9947553-255580-51997856453424/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 22:35:34 +0000 (0:00:00.863) 0:00:10.788 ********** ok: [/cache/rhel-8.qcow2] => { "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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 22:35:34 +0000 (0:00:00.105) 0:00:10.893 ********** changed: [/cache/rhel-8.qcow2] => (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-1658874934.9738123-255610-162905469027144/source", "state": "file", "uid": 0 } skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 22:35:36 +0000 (0:00:01.477) 0:00:12.371 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 22:35:36 +0000 (0:00:00.060) 0:00:12.432 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include input sub-vars] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 22:35:36 +0000 (0:00:00.058) 0:00:12.490 ********** ok: [/cache/rhel-8.qcow2] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_collectd_input", "subtype": "collectd", "type": "ovirt" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_engine_input", "subtype": "engine", "type": "ovirt" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_vdsm_input", "subtype": "vdsm", "type": "ovirt" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 22:35:36 +0000 (0:00:00.157) 0:00:12.647 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'basic_input', 'type': 'basics'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'ovirt_collectd_input', 'type': 'ovirt', 'subtype': 'collectd'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'ovirt_engine_input', 'type': 'ovirt', 'subtype': 'engine'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'ovirt_vdsm_input', 'type': 'ovirt', 'subtype': 'vdsm'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update basics input packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:35:36 +0000 (0:00:00.212) 0:00:12.860 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:35:36 +0000 (0:00:00.071) 0:00:12.931 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:35:36 +0000 (0:00:00.050) 0:00:12.981 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:35:37 +0000 (0:00:00.045) 0:00:13.027 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:35:37 +0000 (0:00:00.061) 0:00:13.089 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:35:37 +0000 (0:00:00.045) 0:00:13.134 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:35:37 +0000 (0:00:00.076) 0:00:13.210 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:35:37 +0000 (0:00:00.048) 0:00:13.259 ********** changed: [/cache/rhel-8.qcow2] => (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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:35:38 +0000 (0:00:00.844) 0:00:14.103 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:35:38 +0000 (0:00:00.063) 0:00:14.167 ********** skipping: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:35:38 +0000 (0:00:00.173) 0:00:14.340 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:35:38 +0000 (0:00:00.103) 0:00:14.443 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:35:39 +0000 (0:00:00.574) 0:00:15.018 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:35:39 +0000 (0:00:00.098) 0:00:15.117 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:35:39 +0000 (0:00:00.073) 0:00:15.191 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: liblognorm-2.0.5-2.el8.x86_64", "Installed: rsyslog-mmjsonparse-8.2102.0-7.el8.x86_64", "Installed: rsyslog-mmnormalize-8.2102.0-7.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:35:40 +0000 (0:00:01.742) 0:00:16.934 ********** changed: [/cache/rhel-8.qcow2] => (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-1658874941.0179336-255755-80701077243343/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658874941.7929645-255755-216560155035100/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658874942.5084915-255755-44597921070607/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658874943.21988-255755-176631829156077/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:35:44 +0000 (0:00:03.706) 0:00:20.640 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:35:44 +0000 (0:00:00.069) 0:00:20.710 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file input-ovirt-ovirt_collectd_input in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:35:44 +0000 (0:00:00.084) 0:00:20.794 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:35:44 +0000 (0:00:00.084) 0:00:20.879 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:35:44 +0000 (0:00:00.048) 0:00:20.928 ********** changed: [/cache/rhel-8.qcow2] => (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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:35:45 +0000 (0:00:00.833) 0:00:21.761 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:35:45 +0000 (0:00:00.070) 0:00:21.832 ********** skipping: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:35:45 +0000 (0:00:00.127) 0:00:21.960 ********** changed: [/cache/rhel-8.qcow2] => { "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:02.750855", "end": "2022-07-26 18:35:48.518164", "rc": 0, "start": "2022-07-26 18:35:45.767309" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:35:49 +0000 (0:00:03.316) 0:00:25.276 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:35:49 +0000 (0:00:00.068) 0:00:25.345 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:35:49 +0000 (0:00:00.620) 0:00:25.965 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:35:50 +0000 (0:00:00.093) 0:00:26.059 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:35:50 +0000 (0:00:00.072) 0:00:26.131 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:35:51 +0000 (0:00:01.384) 0:00:27.516 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:35:54 +0000 (0:00:03.345) 0:00:30.862 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:35:54 +0000 (0:00:00.075) 0:00:30.937 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file input-ovirt-ovirt_engine_input in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:35:55 +0000 (0:00:00.084) 0:00:31.021 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:35:55 +0000 (0:00:00.080) 0:00:31.102 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:35:55 +0000 (0:00:00.047) 0:00:31.150 ********** changed: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.0.2.15\';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:35:56 +0000 (0:00:00.890) 0:00:32.040 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:35:56 +0000 (0:00:00.077) 0:00:32.118 ********** skipping: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.0.2.15\';\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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:35:56 +0000 (0:00:00.111) 0:00:32.229 ********** changed: [/cache/rhel-8.qcow2] => { "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.650934", "end": "2022-07-26 18:35:56.540449", "rc": 0, "start": "2022-07-26 18:35:55.889515" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:35:57 +0000 (0:00:01.063) 0:00:33.293 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:35:57 +0000 (0:00:00.077) 0:00:33.371 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:35:57 +0000 (0:00:00.590) 0:00:33.961 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:35:58 +0000 (0:00:00.101) 0:00:34.063 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:35:58 +0000 (0:00:00.074) 0:00:34.138 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:35:59 +0000 (0:00:01.369) 0:00:35.507 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:36:02 +0000 (0:00:03.269) 0:00:38.777 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:36:02 +0000 (0:00:00.082) 0:00:38.859 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file input-ovirt-ovirt_vdsm_input in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:36:02 +0000 (0:00:00.081) 0:00:38.940 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:36:03 +0000 (0:00:00.113) 0:00:39.054 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:36:03 +0000 (0:00:00.060) 0:00:39.115 ********** changed: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.0.2.15\';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:36:03 +0000 (0:00:00.829) 0:00:39.945 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:36:04 +0000 (0:00:00.083) 0:00:40.028 ********** skipping: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.0.2.15\';\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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:36:04 +0000 (0:00:00.119) 0:00:40.148 ********** changed: [/cache/rhel-8.qcow2] => { "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.734016", "end": "2022-07-26 18:36:04.551593", "rc": 0, "start": "2022-07-26 18:36:03.817577" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:36:05 +0000 (0:00:01.157) 0:00:41.305 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:36:05 +0000 (0:00:00.070) 0:00:41.376 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:36:05 +0000 (0:00:00.622) 0:00:41.999 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:36:06 +0000 (0:00:00.101) 0:00:42.100 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:36:06 +0000 (0:00:00.078) 0:00:42.178 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:36:07 +0000 (0:00:01.351) 0:00:43.530 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:36:10 +0000 (0:00:03.321) 0:00:46.851 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:36:10 +0000 (0:00:00.134) 0:00:46.986 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file input-ovirt-ovirt_bogus_input in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:36:11 +0000 (0:00:00.149) 0:00:47.135 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:36:11 +0000 (0:00:00.052) 0:00:47.188 ********** changed: [/cache/rhel-8.qcow2] => { "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.666025", "end": "2022-07-26 18:36:11.500836", "rc": 0, "start": "2022-07-26 18:36:10.834811" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 22:36:12 +0000 (0:00:01.073) 0:00:48.261 ********** ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es", "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es-ops", "server_port": 9200, "type": "elasticsearch" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 22:36:12 +0000 (0:00:00.095) 0:00:48.357 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'default_files', 'type': 'files'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/rhel-8.qcow2 => (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'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/rhel-8.qcow2 => (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'}) TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:36:12 +0000 (0:00:00.110) 0:00:48.468 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:36:12 +0000 (0:00:00.071) 0:00:48.539 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:36:12 +0000 (0:00:00.047) 0:00:48.586 ********** ok: [/cache/rhel-8.qcow2] => (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, "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" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:36:13 +0000 (0:00:00.746) 0:00:49.332 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:36:13 +0000 (0:00:00.092) 0:00:49.425 ********** skipping: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create files output configuration file output-files-default_files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 22:36:13 +0000 (0:00:00.052) 0:00:49.477 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:36:13 +0000 (0:00:00.071) 0:00:49.548 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:36:13 +0000 (0:00:00.047) 0:00:49.595 ********** ok: [/cache/rhel-8.qcow2] => (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, "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" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:36:14 +0000 (0:00:00.751) 0:00:50.347 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:36:14 +0000 (0:00:00.092) 0:00:50.439 ********** skipping: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:36:14 +0000 (0:00:00.108) 0:00:50.548 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:36:14 +0000 (0:00:00.072) 0:00:50.620 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:13 Tuesday 26 July 2022 22:36:14 +0000 (0:00:00.056) 0:00:50.676 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:20 Tuesday 26 July 2022 22:36:14 +0000 (0:00:00.055) 0:00:50.732 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:27 Tuesday 26 July 2022 22:36:14 +0000 (0:00:00.052) 0:00:50.784 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:36:14 +0000 (0:00:00.136) 0:00:50.921 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:36:14 +0000 (0:00:00.062) 0:00:50.983 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:36:15 +0000 (0:00:00.077) 0:00:51.061 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-7.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:36:16 +0000 (0:00:01.690) 0:00:52.751 ********** changed: [/cache/rhel-8.qcow2] => (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-1658874976.8403838-256597-198252001071414/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658874977.537605-256597-137356607426986/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:36:18 +0000 (0:00:01.446) 0:00:54.198 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874976.8403838-256597-198252001071414/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-1658874976.8403838-256597-198252001071414/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874977.537605-256597-137356607426986/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-1658874977.537605-256597-137356607426986/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:36:18 +0000 (0:00:00.161) 0:00:54.359 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Tuesday 26 July 2022 22:36:18 +0000 (0:00:00.060) 0:00:54.419 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d (no_log)] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Tuesday 26 July 2022 22:36:18 +0000 (0:00:00.053) 0:00:54.472 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:8 Tuesday 26 July 2022 22:36:18 +0000 (0:00:00.086) 0:00:54.559 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d with no_log] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:17 Tuesday 26 July 2022 22:36:18 +0000 (0:00:00.049) 0:00:54.609 ********** changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:36 Tuesday 26 July 2022 22:36:19 +0000 (0:00:00.818) 0:00:55.427 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874976.8403838-256597-198252001071414/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-1658874976.8403838-256597-198252001071414/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874977.537605-256597-137356607426986/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-1658874977.537605-256597-137356607426986/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874978.7573555-256660-228266489729177/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-1658874978.7573555-256660-228266489729177/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d with no_log] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:40 Tuesday 26 July 2022 22:36:19 +0000 (0:00:00.100) 0:00:55.528 ********** skipping: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:36:19 +0000 (0:00:00.127) 0:00:55.656 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:36:19 +0000 (0:00:00.076) 0:00:55.732 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:13 Tuesday 26 July 2022 22:36:19 +0000 (0:00:00.056) 0:00:55.789 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:20 Tuesday 26 July 2022 22:36:19 +0000 (0:00:00.058) 0:00:55.848 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:27 Tuesday 26 July 2022 22:36:19 +0000 (0:00:00.057) 0:00:55.905 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:36:20 +0000 (0:00:00.098) 0:00:56.004 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:36:20 +0000 (0:00:00.057) 0:00:56.061 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:36:20 +0000 (0:00:00.077) 0:00:56.139 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:36:21 +0000 (0:00:01.284) 0:00:57.424 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:36:22 +0000 (0:00:01.356) 0:00:58.780 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874976.8403838-256597-198252001071414/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-1658874976.8403838-256597-198252001071414/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874977.537605-256597-137356607426986/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-1658874977.537605-256597-137356607426986/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874978.7573555-256660-228266489729177/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-1658874978.7573555-256660-228266489729177/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:36:22 +0000 (0:00:00.160) 0:00:58.941 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Tuesday 26 July 2022 22:36:23 +0000 (0:00:00.124) 0:00:59.066 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d (no_log)] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Tuesday 26 July 2022 22:36:23 +0000 (0:00:00.053) 0:00:59.119 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:8 Tuesday 26 July 2022 22:36:23 +0000 (0:00:00.082) 0:00:59.202 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d with no_log] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:17 Tuesday 26 July 2022 22:36:23 +0000 (0:00:00.047) 0:00:59.249 ********** changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:36 Tuesday 26 July 2022 22:36:24 +0000 (0:00:00.823) 0:01:00.072 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874934.9738123-255610-162905469027144/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-1658874934.9738123-255610-162905469027144/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874935.6899784-255610-128904658589029/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-1658874935.6899784-255610-128904658589029/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874937.4345882-255685-153372670827594/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-1658874937.4345882-255685-153372670827594/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.0179336-255755-80701077243343/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-1658874941.0179336-255755-80701077243343/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874941.7929645-255755-216560155035100/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-1658874941.7929645-255755-216560155035100/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874942.5084915-255755-44597921070607/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-1658874942.5084915-255755-44597921070607/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.21988-255755-176631829156077/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-1658874943.21988-255755-176631829156077/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874943.926592-255755-178433077275417/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-1658874943.926592-255755-178433077275417/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874945.0670257-255891-122247103812351/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-1658874945.0670257-255891-122247103812351/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "29a5e8b574e7e797a480560373ecdf510da1143a", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9576be7a338a5a8e887d65a5736d383d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1309, "src": "/root/.ansible/tmp/ansible-tmp-1658874955.3200815-256093-163982613247460/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.0.2.15';\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": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9691c2ed81b63fd7cf08042cf6300c72", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1285, "src": "/root/.ansible/tmp/ansible-tmp-1658874963.265602-256290-125788904936481/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-default_files.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874976.8403838-256597-198252001071414/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-1658874976.8403838-256597-198252001071414/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874977.537605-256597-137356607426986/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-1658874977.537605-256597-137356607426986/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874978.7573555-256660-228266489729177/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-1658874978.7573555-256660-228266489729177/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658874983.4008837-256775-22650199526922/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-1658874983.4008837-256775-22650199526922/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d with no_log] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:40 Tuesday 26 July 2022 22:36:24 +0000 (0:00:00.099) 0:01:00.172 ********** skipping: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 22:36:24 +0000 (0:00:00.125) 0:01:00.297 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 22:36:24 +0000 (0:00:00.055) 0:01:00.353 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 22:36:24 +0000 (0:00:00.058) 0:01:00.411 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 22:36:24 +0000 (0:00:00.042) 0:01:00.453 ********** skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 22:36:24 +0000 (0:00:00.071) 0:01:00.524 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:36:24 +0000 (0:00:00.053) 0:01:00.578 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:36:24 +0000 (0:00:00.100) 0:01:00.678 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 22:36:24 +0000 (0:00:00.055) 0:01:00.734 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:35:09 EDT", "ActiveEnterTimestampMonotonic": "806651733", "ActiveExitTimestamp": "Tue 2022-07-26 18:35:09 EDT", "ActiveExitTimestampMonotonic": "806216983", "ActiveState": "active", "After": "basic.target system.slice network.target network-online.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:35:09 EDT", "AssertTimestampMonotonic": "806646192", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:35:09 EDT", "ConditionTimestampMonotonic": "806646192", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "124269", "ExecMainStartTimestamp": "Tue 2022-07-26 18:35:09 EDT", "ExecMainStartTimestampMonotonic": "806647528", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:35:09 EDT] ; stop_time=[n/a] ; pid=124269 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 18:35:09 EDT", "InactiveEnterTimestampMonotonic": "806645213", "InactiveExitTimestamp": "Tue 2022-07-26 18:35:09 EDT", "InactiveExitTimestampMonotonic": "806647586", "InvocationID": "798a81cfd3a542958385b408eb76cbf5", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "124269", "MemoryAccounting": "yes", "MemoryCurrent": "1228800", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:35:09 EDT", "StateChangeTimestampMonotonic": "806651733", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 18:35:09 EDT", "WatchdogTimestampMonotonic": "806651732", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 22:36:25 +0000 (0:00:00.830) 0:01:01.564 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 22:36:25 +0000 (0:00:00.048) 0:01:01.613 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: role_complete for /cache/rhel-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:83 Tuesday 26 July 2022 22:36:25 +0000 (0:00:00.079) 0:01:01.693 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:36:25 +0000 (0:00:00.000) 0:01:01.693 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:35:09 EDT", "ActiveEnterTimestampMonotonic": "806651733", "ActiveExitTimestamp": "Tue 2022-07-26 18:35:09 EDT", "ActiveExitTimestampMonotonic": "806216983", "ActiveState": "active", "After": "basic.target system.slice network.target network-online.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:35:09 EDT", "AssertTimestampMonotonic": "806646192", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:35:09 EDT", "ConditionTimestampMonotonic": "806646192", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "124269", "ExecMainStartTimestamp": "Tue 2022-07-26 18:35:09 EDT", "ExecMainStartTimestampMonotonic": "806647528", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:35:09 EDT] ; stop_time=[n/a] ; pid=124269 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 18:35:09 EDT", "InactiveEnterTimestampMonotonic": "806645213", "InactiveExitTimestamp": "Tue 2022-07-26 18:35:09 EDT", "InactiveExitTimestampMonotonic": "806647586", "InvocationID": "798a81cfd3a542958385b408eb76cbf5", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "124269", "MemoryAccounting": "yes", "MemoryCurrent": "1224704", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:35:09 EDT", "StateChangeTimestampMonotonic": "806651733", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 18:35:09 EDT", "WatchdogTimestampMonotonic": "806651732", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:86 Tuesday 26 July 2022 22:36:26 +0000 (0:00:00.848) 0:01:02.542 ********** included: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml for /cache/rhel-8.qcow2 TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:36:26 +0000 (0:00:00.055) 0:01:02.598 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658874985.7704635, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658874934.0294635, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 990909, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658874933.6574636, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "4184260133", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get file counts in /etc/rsyslog.d] *************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:36:27 +0000 (0:00:00.447) 0:01:03.045 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 18, "files": [ { "atime": 1658874430.1774635, "ctime": 1658874398.8504636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8388868, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648826340.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": 1658874891.2704635, "ctime": 1658874887.8944635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 31078, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874887.6244636, "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": 1658874891.2704635, "ctime": 1658874888.9114635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26230397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874888.6494637, "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": 1658874985.7704635, "ctime": 1658874934.8904636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26230399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874934.6214635, "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": 1658874985.7704635, "ctime": 1658874935.6114635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16825069, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874935.3464634, "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": 1658874985.7704635, "ctime": 1658874937.3404636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245704, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874937.0734634, "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": 1658874951.2694635, "ctime": 1658874940.9534636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17574168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874940.6604636, "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": 1658874951.9414635, "ctime": 1658874941.7164636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245720, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874941.4474635, "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": 1658874952.5744636, "ctime": 1658874942.4334636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 366148, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874942.1614635, "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": 1658874953.2224636, "ctime": 1658874943.1404636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26229834, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874942.8684635, "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": 1658874953.8514636, "ctime": 1658874943.8434637, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17574169, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874943.5694635, "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": 1658874985.7704635, "ctime": 1658874944.9944634, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245721, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874944.6994636, "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": 1658874985.7704635, "ctime": 1658874955.2404635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26335736, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874954.9544635, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1309, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658874985.7704635, "ctime": 1658874963.1844635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26335737, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874962.9144635, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1285, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658874981.1074636, "ctime": 1658874976.7484636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8442014, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874976.4844635, "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": 1658874981.7594635, "ctime": 1658874977.4374635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 998060, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874977.1704636, "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": 1658874985.7704635, "ctime": 1658874978.6664636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26335738, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658874978.3974636, "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": 1658874985.7704635, "ctime": 1658874983.3164635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17061839, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658874983.0314636, "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, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:36:27 +0000 (0:00:00.500) 0:01:03.545 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:36:27 +0000 (0:00:00.053) 0:01:03.599 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:36:27 +0000 (0:00:00.035) 0:01:03.635 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:36:27 +0000 (0:00:00.046) 0:01:03.681 ********** ok: [/cache/rhel-8.qcow2] => (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": 1658874985.7704635, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1658874944.9944634, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9245721, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658874944.6994636, "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": "3362967861", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658874985.7704635, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "ctime": 1658874955.2404635, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 26335736, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658874954.9544635, "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": 1309, "uid": 0, "version": "2427495562", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658874985.7704635, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "ctime": 1658874963.1844635, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 26335737, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658874962.9144635, "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": 1285, "uid": 0, "version": "1292591960", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:36:28 +0000 (0:00:01.144) 0:01:04.826 ********** skipping: [/cache/rhel-8.qcow2] => { "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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:97 Tuesday 26 July 2022 22:36:28 +0000 (0:00:00.036) 0:01:04.863 ********** ok: [/cache/rhel-8.qcow2] => (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": 1658874985.7704635, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1658874944.9944634, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9245721, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658874944.6994636, "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": "3362967861", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658874985.7704635, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "ctime": 1658874955.2404635, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 26335736, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658874954.9544635, "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": 1309, "uid": 0, "version": "2427495562", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658874985.7704635, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "ctime": 1658874963.1844635, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 26335737, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658874962.9144635, "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": 1285, "uid": 0, "version": "1292591960", "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"] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:107 Tuesday 26 July 2022 22:36:30 +0000 (0:00:01.161) 0:01:06.025 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:113 Tuesday 26 July 2022 22:36:30 +0000 (0:00:00.371) 0:01:06.397 ********** ok: [/cache/rhel-8.qcow2] => { "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.003551", "end": "2022-07-26 18:36:30.037175", "rc": 0, "start": "2022-07-26 18:36:30.033624" } 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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:119 Tuesday 26 July 2022 22:36:30 +0000 (0:00:00.393) 0:01:06.790 ********** ok: [/cache/rhel-8.qcow2] => { "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.003705", "end": "2022-07-26 18:36:30.427937", "rc": 0, "start": "2022-07-26 18:36:30.424232" } 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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:125 Tuesday 26 July 2022 22:36:31 +0000 (0:00:00.393) 0:01:07.184 ********** ok: [/cache/rhel-8.qcow2] => { "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.003564", "end": "2022-07-26 18:36:30.819752", "rc": 0, "start": "2022-07-26 18:36:30.816188" } 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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:131 Tuesday 26 July 2022 22:36:31 +0000 (0:00:00.390) 0:01:07.574 ********** ok: [/cache/rhel-8.qcow2] => { "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.003500", "end": "2022-07-26 18:36:31.225744", "rc": 0, "start": "2022-07-26 18:36:31.222244" } 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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:137 Tuesday 26 July 2022 22:36:31 +0000 (0:00:00.414) 0:01:07.989 ********** ok: [/cache/rhel-8.qcow2] => { "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.003732", "end": "2022-07-26 18:36:31.665824", "rc": 0, "start": "2022-07-26 18:36:31.662092" } 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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:143 Tuesday 26 July 2022 22:36:32 +0000 (0:00:00.431) 0:01:08.420 ********** ok: [/cache/rhel-8.qcow2] => { "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.003559", "end": "2022-07-26 18:36:32.096578", "rc": 0, "start": "2022-07-26 18:36:32.093019" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & "."; TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:149 Tuesday 26 July 2022 22:36:32 +0000 (0:00:00.427) 0:01:08.847 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003541", "end": "2022-07-26 18:36:32.491908", "rc": 0, "start": "2022-07-26 18:36:32.488367" } STDOUT: server="logging-es" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:153 Tuesday 26 July 2022 22:36:33 +0000 (0:00:00.396) 0:01:09.244 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es-ops\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003160", "end": "2022-07-26 18:36:32.878725", "rc": 0, "start": "2022-07-26 18:36:32.875565" } STDOUT: server="logging-es-ops" TASK [Check password is in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:157 Tuesday 26 July 2022 22:36:33 +0000 (0:00:00.389) 0:01:09.633 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "pwd=\"password0\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003560", "end": "2022-07-26 18:36:33.277470", "rc": 0, "start": "2022-07-26 18:36:33.273910" } STDOUT: pwd="password0" TASK [Check pwd= is not in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:161 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.400) 0:01:10.034 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "pwd=", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003159", "end": "2022-07-26 18:36:33.678446", "failed_when_result": false, "rc": 1, "start": "2022-07-26 18:36:33.675287" } MSG: non-zero return code TASK [END TEST CASE 0; Ensure basic ovirt configuration works] ***************** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:167 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.404) 0:01:10.438 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.080) 0:01:10.518 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.053) 0:01:10.572 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.064) 0:01:10.637 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.095) 0:01:10.732 ********** TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.060) 0:01:10.793 ********** TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.028) 0:01:10.822 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.060) 0:01:10.882 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.055) 0:01:10.939 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 22:36:34 +0000 (0:00:00.054) 0:01:10.993 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Use a debug var to avoid an empty dict in with_dict] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 22:36:35 +0000 (0:00:00.052) 0:01:11.045 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 22:36:35 +0000 (0:00:00.052) 0:01:11.098 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 22:36:35 +0000 (0:00:00.050) 0:01:11.148 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:36:35 +0000 (0:00:00.054) 0:01:11.202 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:36:35 +0000 (0:00:00.053) 0:01:11.255 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 22:36:35 +0000 (0:00:00.553) 0:01:11.809 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 22:36:35 +0000 (0:00:00.085) 0:01:11.894 ********** skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:36:35 +0000 (0:00:00.094) 0:01:11.989 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:36:36 +0000 (0:00:00.149) 0:01:12.138 ********** ok: [/cache/rhel-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.048037", "end": "2022-07-26 18:36:35.837892", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 18:36:35.789855" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:36:36 +0000 (0:00:00.454) 0:01:12.593 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-8.2102.0-7.el8.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-7.el8.x86_64", "Removed: rsyslog-mmjsonparse-8.2102.0-7.el8.x86_64", "Removed: rsyslog-mmnormalize-8.2102.0-7.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 22:36:38 +0000 (0:00:02.389) 0:01:14.982 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-8.2102.0-7.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 22:36:40 +0000 (0:00:01.895) 0:01:16.877 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 22:36:40 +0000 (0:00:00.045) 0:01:16.923 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "PackageKit": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "PackageKit-glib": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit-glib", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "abattis-cantarell-fonts": [ { "arch": "noarch", "epoch": null, "name": "abattis-cantarell-fonts", "release": "6.el8", "source": "rpm", "version": "0.0.25" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "3.el8", "source": "rpm", "version": "4.4.20" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "3.el8", "source": "rpm", "version": "9.11.36" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2": [ { "arch": "x86_64", "epoch": null, "name": "bzip2", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.0.el8_4", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.1" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "15.el8", "source": "rpm", "version": "21.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "cockpit-bridge": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-bridge", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "dejavu-fonts-common": [ { "arch": "noarch", "epoch": null, "name": "dejavu-fonts-common", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "dejavu-sans-mono-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-mono-fonts", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "dosfstools": [ { "arch": "x86_64", "epoch": null, "name": "dosfstools", "release": "6.el8", "source": "rpm", "version": "4.1" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "8.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "fontconfig": [ { "arch": "x86_64", "epoch": null, "name": "fontconfig", "release": "4.el8", "source": "rpm", "version": "2.13.1" } ], "fontpackages-filesystem": [ { "arch": "noarch", "epoch": null, "name": "fontpackages-filesystem", "release": "22.el8", "source": "rpm", "version": "1.44" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "4.el8_3.1", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "9.el8", "source": "rpm", "version": "1.0.3" } ], "gdk-pixbuf2": [ { "arch": "x86_64", "epoch": null, "name": "gdk-pixbuf2", "release": "5.el8", "source": "rpm", "version": "2.36.12" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "glib-networking": [ { "arch": "x86_64", "epoch": null, "name": "glib-networking", "release": "1.1.el8", "source": "rpm", "version": "2.56.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "158.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "42.el8", "source": "rpm", "version": "8.40" } ], "gsettings-desktop-schemas": [ { "arch": "x86_64", "epoch": null, "name": "gsettings-desktop-schemas", "release": "6.el8", "source": "rpm", "version": "3.32.0" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "20.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "12.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.12.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "5.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "4.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "9.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "6.el8", "source": "rpm", "version": "1.4.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "68.el8", "source": "rpm", "version": "2.0.20" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "22.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "14.el8", "source": "rpm", "version": "1.18.2" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libX11": [ { "arch": "x86_64", "epoch": null, "name": "libX11", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libX11-common": [ { "arch": "noarch", "epoch": null, "name": "libX11-common", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libXau": [ { "arch": "x86_64", "epoch": null, "name": "libXau", "release": "3.el8", "source": "rpm", "version": "1.0.9" } ], "libXext": [ { "arch": "x86_64", "epoch": null, "name": "libXext", "release": "1.el8", "source": "rpm", "version": "1.3.4" } ], "libXrender": [ { "arch": "x86_64", "epoch": null, "name": "libXrender", "release": "7.el8", "source": "rpm", "version": "0.9.10" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libappstream-glib": [ { "arch": "x86_64", "epoch": null, "name": "libappstream-glib", "release": "3.el8", "source": "rpm", "version": "0.7.14" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el8_5", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "39.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "3.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "2.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "39.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "39.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "1.el8", "source": "rpm", "version": "0.1.10" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "6.el8", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "37.2" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "39.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el8", "source": "rpm", "version": "2.4.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "2.el8", "source": "rpm", "version": "2.0.5" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodman": [ { "arch": "x86_64", "epoch": null, "name": "libmodman", "release": "17.el8", "source": "rpm", "version": "2.0.1" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "39.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libproxy": [ { "arch": "x86_64", "epoch": null, "name": "libproxy", "release": "5.2.el8", "source": "rpm", "version": "0.4.15" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "39.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el8", "source": "rpm", "version": "0.7.20" } ], "libsoup": [ { "arch": "x86_64", "epoch": null, "name": "libsoup", "release": "2.el8", "source": "rpm", "version": "2.62.3" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libstemmer": [ { "arch": "x86_64", "epoch": null, "name": "libstemmer", "release": "10.585svn.el8", "source": "rpm", "version": "0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.11.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "6.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libxcb": [ { "arch": "x86_64", "epoch": null, "name": "libxcb", "release": "1.el8", "source": "rpm", "version": "1.13.1" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "107.git6342082c.el8", "source": "rpm", "version": "20220210" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "1.el8", "source": "rpm", "version": "0.1.11" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220207" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "11.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.52.20160912git.el8", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "16.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el8", "source": "rpm", "version": "10.32" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pixman": [ { "arch": "x86_64", "epoch": null, "name": "pixman", "release": "2.el8", "source": "rpm", "version": "0.38.4" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cairo": [ { "arch": "x86_64", "epoch": null, "name": "python3-cairo", "release": "6.el8", "source": "rpm", "version": "1.16.3" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-gobject": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pexpect": [ { "arch": "noarch", "epoch": null, "name": "python3-pexpect", "release": "3.el8", "source": "rpm", "version": "4.3.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-ptyprocess": [ { "arch": "noarch", "epoch": null, "name": "python3-ptyprocess", "release": "4.el8", "source": "rpm", "version": "0.5.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pydbus": [ { "arch": "noarch", "epoch": null, "name": "python3-pydbus", "release": "5.el8", "source": "rpm", "version": "0.6.0" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-systemd": [ { "arch": "x86_64", "epoch": null, "name": "python3-systemd", "release": "8.el8", "source": "rpm", "version": "234" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "11.module+el8.6.0+14707+5aa4b42d", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-logos": [ { "arch": "x86_64", "epoch": null, "name": "redhat-logos", "release": "1.el8", "source": "rpm", "version": "84.5" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "7.el8", "source": "rpm", "version": "0.2.1" } ], "rhsm-icons": [ { "arch": "noarch", "epoch": null, "name": "rhsm-icons", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "8.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "14.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "7.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "setroubleshoot-plugins": [ { "arch": "noarch", "epoch": null, "name": "setroubleshoot-plugins", "release": "1.el8", "source": "rpm", "version": "3.3.14" } ], "setroubleshoot-server": [ { "arch": "x86_64", "epoch": null, "name": "setroubleshoot-server", "release": "3.el8", "source": "rpm", "version": "3.3.26" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "6.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "16.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "2.el8", "source": "rpm", "version": "15.5" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sos": [ { "arch": "noarch", "epoch": null, "name": "sos", "release": "15.el8", "source": "rpm", "version": "4.2" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sscg": [ { "arch": "x86_64", "epoch": null, "name": "sscg", "release": "14.el8", "source": "rpm", "version": "2.3.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-cockpit": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-cockpit", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "58.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "tcpdump": [ { "arch": "x86_64", "epoch": 14, "name": "tcpdump", "release": "3.el8", "source": "rpm", "version": "4.9.3" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "2.el8", "source": "rpm", "version": "2.18.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.13", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "13.el8", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "17.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "18.el8_5", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 22:36:42 +0000 (0:00:01.233) 0:01:18.156 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 22:36:42 +0000 (0:00:00.051) 0:01:18.207 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 22:36:42 +0000 (0:00:00.036) 0:01:18.244 ********** ok: [/cache/rhel-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 22:36:42 +0000 (0:00:00.047) 0:01:18.291 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 22:36:42 +0000 (0:00:00.046) 0:01:18.338 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create a work directory] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 22:36:42 +0000 (0:00:00.420) 0:01:18.759 ********** ok: [/cache/rhel-8.qcow2] => { "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": 58, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 22:36:43 +0000 (0:00:00.418) 0:01:19.177 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log", "secontext": "system_u:object_r:var_log_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:36:43 +0000 (0:00:00.430) 0:01:19.608 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1642153580.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658874999.5674636, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 30934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642153580.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "2783425017", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 22:36:44 +0000 (0:00:00.411) 0:01:20.019 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 22:36:44 +0000 (0:00:00.050) 0:01:20.069 ********** ok: [/cache/rhel-8.qcow2] => { "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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 22:36:44 +0000 (0:00:00.219) 0:01:20.288 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 22:36:44 +0000 (0:00:00.067) 0:01:20.355 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items skipped", "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 } ], "skipped": true } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 22:36:44 +0000 (0:00:00.060) 0:01:20.416 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include input sub-vars] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 22:36:44 +0000 (0:00:00.064) 0:01:20.481 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 22:36:44 +0000 (0:00:00.032) 0:01:20.514 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 22:36:44 +0000 (0:00:00.045) 0:01:20.559 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 22:36:44 +0000 (0:00:00.031) 0:01:20.590 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 22:36:44 +0000 (0:00:00.029) 0:01:20.620 ********** ok: [/cache/rhel-8.qcow2] => { "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.114631", "end": "2022-07-26 18:36:44.395894", "failed_when_result": false, "rc": 0, "start": "2022-07-26 18:36:44.281263" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-ovirt-local_modules.conf /etc/rsyslog.d/10-input-ovirt-main-modules.conf /etc/rsyslog.d/10-output-elasticsearch-module.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/30-output-elasticsearch.conf /etc/rsyslog.d/30-output-files-default_files.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf /etc/rsyslog.d/90-input-basics-basic_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf /etc/rsyslog.d/ovirt_engine.rulebase /etc/rsyslog.d/ovirt_vdsm.rulebase /etc/rsyslog.d/parse_json.rulebase TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 22:36:45 +0000 (0:00:00.536) 0:01:21.156 ********** changed: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (item=/etc/rsyslog.d/parse_json.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/parse_json.rulebase", "path": "/etc/rsyslog.d/parse_json.rulebase", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 22:36:51 +0000 (0:00:06.364) 0:01:27.520 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 22:36:51 +0000 (0:00:00.045) 0:01:27.566 ********** skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 22:36:51 +0000 (0:00:00.072) 0:01:27.639 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:36:51 +0000 (0:00:00.057) 0:01:27.697 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:36:51 +0000 (0:00:00.056) 0:01:27.753 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 22:36:51 +0000 (0:00:00.053) 0:01:27.806 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice sysinit.target network.target network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 22:36:52 +0000 (0:00:00.635) 0:01:28.442 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 22:36:52 +0000 (0:00:00.045) 0:01:28.487 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: role_complete for /cache/rhel-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:175 Tuesday 26 July 2022 22:36:52 +0000 (0:00:00.092) 0:01:28.580 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:36:52 +0000 (0:00:00.000) 0:01:28.580 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:36:51 EDT", "ActiveEnterTimestampMonotonic": "908525414", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice sysinit.target network.target network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:36:51 EDT", "AssertTimestampMonotonic": "908518744", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:36:51 EDT", "ConditionTimestampMonotonic": "908518744", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "138198", "ExecMainStartTimestamp": "Tue 2022-07-26 18:36:51 EDT", "ExecMainStartTimestampMonotonic": "908520129", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:36:51 EDT] ; stop_time=[n/a] ; pid=138198 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-26 18:36:51 EDT", "InactiveExitTimestampMonotonic": "908520178", "InvocationID": "35ab973936104ef08031ed52bfa7ca6f", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "138198", "MemoryAccounting": "yes", "MemoryCurrent": "1372160", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:36:51 EDT", "StateChangeTimestampMonotonic": "908525414", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 18:36:51 EDT", "WatchdogTimestampMonotonic": "908525412", "WatchdogUSec": "0" } } META: ran handlers TASK [TEST CASE 1; Ensure advanced ovirt configuration works] ****************** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:178 Tuesday 26 July 2022 22:36:53 +0000 (0:00:00.962) 0:01:29.542 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 22:36:53 +0000 (0:00:00.084) 0:01:29.627 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 22:36:53 +0000 (0:00:00.052) 0:01:29.680 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_outputs": [ { "name": "default_files", "type": "files" }, { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "server_host": [ "logging-es0", "logging-es1" ], "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" }, { "allowUnsignedCerts": true, "bulkmode": false, "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "dynSearchIndex": false, "dynbulkid": false, "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": [ "logging-es-ops0", "logging-es-ops1" ], "server_port": 9200, "type": "elasticsearch", "usehttps": false } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 22:36:53 +0000 (0:00:00.062) 0:01:29.742 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "type": "basics" }, { "name": "ovirt_collectd_input", "ovirt_collectd_port": 44514, "ovirt_elasticsearch_index_prefix": "project.ovirt-metrics", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "111-222-333", "subtype": "collectd", "type": "ovirt" }, { "name": "ovirt_engine_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "444-555-666", "ovirt_input_file": "/var/log/ovirt-engine/engine.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "engine", "type": "ovirt" }, { "name": "ovirt_vdsm_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "777-888-999", "ovirt_input_file": "/var/log/vdsm/vdsm.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "vdsm", "type": "ovirt" }, { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 22:36:53 +0000 (0:00:00.074) 0:01:29.816 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 22:36:53 +0000 (0:00:00.082) 0:01:29.899 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 22:36:53 +0000 (0:00:00.077) 0:01:29.976 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 22:36:54 +0000 (0:00:00.101) 0:01:30.078 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 22:36:54 +0000 (0:00:00.049) 0:01:30.127 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 22:36:54 +0000 (0:00:00.054) 0:01:30.181 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Use a debug var to avoid an empty dict in with_dict] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 22:36:54 +0000 (0:00:00.047) 0:01:30.229 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 22:36:54 +0000 (0:00:00.052) 0:01:30.281 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 22:36:54 +0000 (0:00:00.057) 0:01:30.339 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:36:54 +0000 (0:00:00.054) 0:01:30.393 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:36:54 +0000 (0:00:00.051) 0:01:30.445 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 22:36:54 +0000 (0:00:00.556) 0:01:31.001 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 22:36:55 +0000 (0:00:00.082) 0:01:31.084 ********** skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:36:55 +0000 (0:00:00.092) 0:01:31.177 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:36:55 +0000 (0:00:00.099) 0:01:31.277 ********** skipping: [/cache/rhel-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:36:55 +0000 (0:00:00.048) 0:01:31.326 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 22:36:55 +0000 (0:00:00.081) 0:01:31.407 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 22:36:56 +0000 (0:00:01.400) 0:01:32.807 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 22:36:56 +0000 (0:00:00.042) 0:01:32.850 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "PackageKit": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "PackageKit-glib": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit-glib", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "abattis-cantarell-fonts": [ { "arch": "noarch", "epoch": null, "name": "abattis-cantarell-fonts", "release": "6.el8", "source": "rpm", "version": "0.0.25" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "3.el8", "source": "rpm", "version": "4.4.20" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "3.el8", "source": "rpm", "version": "9.11.36" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2": [ { "arch": "x86_64", "epoch": null, "name": "bzip2", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.0.el8_4", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.1" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "15.el8", "source": "rpm", "version": "21.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "cockpit-bridge": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-bridge", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "dejavu-fonts-common": [ { "arch": "noarch", "epoch": null, "name": "dejavu-fonts-common", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "dejavu-sans-mono-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-mono-fonts", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "dosfstools": [ { "arch": "x86_64", "epoch": null, "name": "dosfstools", "release": "6.el8", "source": "rpm", "version": "4.1" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "8.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "fontconfig": [ { "arch": "x86_64", "epoch": null, "name": "fontconfig", "release": "4.el8", "source": "rpm", "version": "2.13.1" } ], "fontpackages-filesystem": [ { "arch": "noarch", "epoch": null, "name": "fontpackages-filesystem", "release": "22.el8", "source": "rpm", "version": "1.44" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "4.el8_3.1", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "9.el8", "source": "rpm", "version": "1.0.3" } ], "gdk-pixbuf2": [ { "arch": "x86_64", "epoch": null, "name": "gdk-pixbuf2", "release": "5.el8", "source": "rpm", "version": "2.36.12" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "glib-networking": [ { "arch": "x86_64", "epoch": null, "name": "glib-networking", "release": "1.1.el8", "source": "rpm", "version": "2.56.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "158.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "42.el8", "source": "rpm", "version": "8.40" } ], "gsettings-desktop-schemas": [ { "arch": "x86_64", "epoch": null, "name": "gsettings-desktop-schemas", "release": "6.el8", "source": "rpm", "version": "3.32.0" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "20.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "12.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.12.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "5.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "4.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "9.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "6.el8", "source": "rpm", "version": "1.4.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "68.el8", "source": "rpm", "version": "2.0.20" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "22.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "14.el8", "source": "rpm", "version": "1.18.2" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libX11": [ { "arch": "x86_64", "epoch": null, "name": "libX11", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libX11-common": [ { "arch": "noarch", "epoch": null, "name": "libX11-common", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libXau": [ { "arch": "x86_64", "epoch": null, "name": "libXau", "release": "3.el8", "source": "rpm", "version": "1.0.9" } ], "libXext": [ { "arch": "x86_64", "epoch": null, "name": "libXext", "release": "1.el8", "source": "rpm", "version": "1.3.4" } ], "libXrender": [ { "arch": "x86_64", "epoch": null, "name": "libXrender", "release": "7.el8", "source": "rpm", "version": "0.9.10" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libappstream-glib": [ { "arch": "x86_64", "epoch": null, "name": "libappstream-glib", "release": "3.el8", "source": "rpm", "version": "0.7.14" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el8_5", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "39.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "3.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "2.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "39.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "39.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "1.el8", "source": "rpm", "version": "0.1.10" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "6.el8", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "37.2" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "39.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el8", "source": "rpm", "version": "2.4.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "2.el8", "source": "rpm", "version": "2.0.5" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodman": [ { "arch": "x86_64", "epoch": null, "name": "libmodman", "release": "17.el8", "source": "rpm", "version": "2.0.1" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "39.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libproxy": [ { "arch": "x86_64", "epoch": null, "name": "libproxy", "release": "5.2.el8", "source": "rpm", "version": "0.4.15" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "39.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el8", "source": "rpm", "version": "0.7.20" } ], "libsoup": [ { "arch": "x86_64", "epoch": null, "name": "libsoup", "release": "2.el8", "source": "rpm", "version": "2.62.3" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libstemmer": [ { "arch": "x86_64", "epoch": null, "name": "libstemmer", "release": "10.585svn.el8", "source": "rpm", "version": "0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.11.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "6.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libxcb": [ { "arch": "x86_64", "epoch": null, "name": "libxcb", "release": "1.el8", "source": "rpm", "version": "1.13.1" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "107.git6342082c.el8", "source": "rpm", "version": "20220210" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "1.el8", "source": "rpm", "version": "0.1.11" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220207" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "11.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.52.20160912git.el8", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "16.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el8", "source": "rpm", "version": "10.32" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pixman": [ { "arch": "x86_64", "epoch": null, "name": "pixman", "release": "2.el8", "source": "rpm", "version": "0.38.4" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cairo": [ { "arch": "x86_64", "epoch": null, "name": "python3-cairo", "release": "6.el8", "source": "rpm", "version": "1.16.3" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-gobject": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pexpect": [ { "arch": "noarch", "epoch": null, "name": "python3-pexpect", "release": "3.el8", "source": "rpm", "version": "4.3.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-ptyprocess": [ { "arch": "noarch", "epoch": null, "name": "python3-ptyprocess", "release": "4.el8", "source": "rpm", "version": "0.5.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pydbus": [ { "arch": "noarch", "epoch": null, "name": "python3-pydbus", "release": "5.el8", "source": "rpm", "version": "0.6.0" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-systemd": [ { "arch": "x86_64", "epoch": null, "name": "python3-systemd", "release": "8.el8", "source": "rpm", "version": "234" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "11.module+el8.6.0+14707+5aa4b42d", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-logos": [ { "arch": "x86_64", "epoch": null, "name": "redhat-logos", "release": "1.el8", "source": "rpm", "version": "84.5" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "7.el8", "source": "rpm", "version": "0.2.1" } ], "rhsm-icons": [ { "arch": "noarch", "epoch": null, "name": "rhsm-icons", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "8.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "14.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "7.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "setroubleshoot-plugins": [ { "arch": "noarch", "epoch": null, "name": "setroubleshoot-plugins", "release": "1.el8", "source": "rpm", "version": "3.3.14" } ], "setroubleshoot-server": [ { "arch": "x86_64", "epoch": null, "name": "setroubleshoot-server", "release": "3.el8", "source": "rpm", "version": "3.3.26" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "6.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "16.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "2.el8", "source": "rpm", "version": "15.5" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sos": [ { "arch": "noarch", "epoch": null, "name": "sos", "release": "15.el8", "source": "rpm", "version": "4.2" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sscg": [ { "arch": "x86_64", "epoch": null, "name": "sscg", "release": "14.el8", "source": "rpm", "version": "2.3.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-cockpit": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-cockpit", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "58.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "tcpdump": [ { "arch": "x86_64", "epoch": 14, "name": "tcpdump", "release": "3.el8", "source": "rpm", "version": "4.9.3" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "2.el8", "source": "rpm", "version": "2.18.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.13", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "13.el8", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "17.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "18.el8_5", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 22:36:58 +0000 (0:00:01.180) 0:01:34.030 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 22:36:58 +0000 (0:00:00.051) 0:01:34.082 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 22:36:58 +0000 (0:00:00.038) 0:01:34.120 ********** ok: [/cache/rhel-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 22:36:58 +0000 (0:00:00.051) 0:01:34.172 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 22:36:58 +0000 (0:00:00.082) 0:01:34.254 ********** ok: [/cache/rhel-8.qcow2] => { "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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create a work directory] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 22:36:58 +0000 (0:00:00.408) 0:01:34.662 ********** ok: [/cache/rhel-8.qcow2] => { "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": 58, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 22:36:59 +0000 (0:00:00.421) 0:01:35.084 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log", "secontext": "system_u:object_r:var_log_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:36:59 +0000 (0:00:00.410) 0:01:35.495 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658875003.2514637, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658874999.5674636, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 30934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642153580.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "2783425017", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 22:36:59 +0000 (0:00:00.423) 0:01:35.918 ********** NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "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-1658875019.989117-257813-171718309539642/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 22:37:00 +0000 (0:00:00.757) 0:01:36.676 ********** ok: [/cache/rhel-8.qcow2] => { "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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 22:37:00 +0000 (0:00:00.211) 0:01:36.887 ********** changed: [/cache/rhel-8.qcow2] => (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-1658875020.975106-257843-246716265971395/source", "state": "file", "uid": 0 } skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 22:37:02 +0000 (0:00:01.683) 0:01:38.571 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 22:37:02 +0000 (0:00:00.063) 0:01:38.635 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include input sub-vars] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 22:37:02 +0000 (0:00:00.059) 0:01:38.694 ********** ok: [/cache/rhel-8.qcow2] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_collectd_input", "ovirt_collectd_port": 44514, "ovirt_elasticsearch_index_prefix": "project.ovirt-metrics", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "111-222-333", "subtype": "collectd", "type": "ovirt" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_engine_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "444-555-666", "ovirt_input_file": "/var/log/ovirt-engine/engine.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "engine", "type": "ovirt" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_vdsm_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "777-888-999", "ovirt_input_file": "/var/log/vdsm/vdsm.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "vdsm", "type": "ovirt" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 22:37:02 +0000 (0:00:00.119) 0:01:38.814 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'basic_input', 'type': 'basics'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (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'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (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'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (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'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update basics input packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:37:02 +0000 (0:00:00.140) 0:01:38.955 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:03 +0000 (0:00:00.077) 0:01:39.033 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:03 +0000 (0:00:00.047) 0:01:39.080 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:03 +0000 (0:00:00.080) 0:01:39.160 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:03 +0000 (0:00:00.063) 0:01:39.224 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:37:03 +0000 (0:00:00.046) 0:01:39.271 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:03 +0000 (0:00:00.077) 0:01:39.348 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:03 +0000 (0:00:00.047) 0:01:39.396 ********** changed: [/cache/rhel-8.qcow2] => (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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:04 +0000 (0:00:00.838) 0:01:40.234 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:04 +0000 (0:00:00.061) 0:01:40.296 ********** skipping: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:37:04 +0000 (0:00:00.149) 0:01:40.446 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:37:04 +0000 (0:00:00.072) 0:01:40.518 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:37:05 +0000 (0:00:00.618) 0:01:41.137 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:37:05 +0000 (0:00:00.146) 0:01:41.284 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:05 +0000 (0:00:00.075) 0:01:41.359 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-mmjsonparse-8.2102.0-7.el8.x86_64", "Installed: rsyslog-mmnormalize-8.2102.0-7.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:07 +0000 (0:00:01.707) 0:01:43.067 ********** changed: [/cache/rhel-8.qcow2] => (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-1658875027.1628063-257988-169433167267130/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658875027.895665-257988-2778983012494/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658875028.5948586-257988-69641302611220/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658875029.3440492-257988-211504116185040/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:10 +0000 (0:00:03.619) 0:01:46.686 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:10 +0000 (0:00:00.074) 0:01:46.761 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file input-ovirt-ovirt_collectd_input in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:37:10 +0000 (0:00:00.088) 0:01:46.850 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:10 +0000 (0:00:00.131) 0:01:46.981 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:11 +0000 (0:00:00.047) 0:01:47.029 ********** changed: [/cache/rhel-8.qcow2] => (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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:11 +0000 (0:00:00.802) 0:01:47.832 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:11 +0000 (0:00:00.072) 0:01:47.904 ********** skipping: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:37:12 +0000 (0:00:00.131) 0:01:48.036 ********** changed: [/cache/rhel-8.qcow2] => { "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.683095", "end": "2022-07-26 18:37:12.369971", "rc": 0, "start": "2022-07-26 18:37:11.686876" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:37:13 +0000 (0:00:01.089) 0:01:49.125 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:37:13 +0000 (0:00:00.072) 0:01:49.198 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:37:13 +0000 (0:00:00.621) 0:01:49.819 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:37:13 +0000 (0:00:00.136) 0:01:49.956 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:14 +0000 (0:00:00.115) 0:01:50.071 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:15 +0000 (0:00:01.365) 0:01:51.437 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:18 +0000 (0:00:03.304) 0:01:54.741 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.087) 0:01:54.829 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file input-ovirt-ovirt_engine_input in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.084) 0:01:54.913 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.083) 0:01:54.997 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.049) 0:01:55.047 ********** changed: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.0.2.15\';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.841) 0:01:55.889 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.079) 0:01:55.968 ********** skipping: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.0.2.15\';\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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:37:20 +0000 (0:00:00.123) 0:01:56.091 ********** changed: [/cache/rhel-8.qcow2] => { "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.668465", "end": "2022-07-26 18:37:20.400351", "rc": 0, "start": "2022-07-26 18:37:19.731886" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:37:21 +0000 (0:00:01.064) 0:01:57.155 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:37:21 +0000 (0:00:00.068) 0:01:57.224 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:37:21 +0000 (0:00:00.581) 0:01:57.805 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:37:21 +0000 (0:00:00.186) 0:01:57.992 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:22 +0000 (0:00:00.076) 0:01:58.069 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:23 +0000 (0:00:01.251) 0:01:59.320 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:26 +0000 (0:00:03.306) 0:02:02.626 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:26 +0000 (0:00:00.082) 0:02:02.709 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file input-ovirt-ovirt_vdsm_input in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:37:26 +0000 (0:00:00.083) 0:02:02.793 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:26 +0000 (0:00:00.116) 0:02:02.909 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:26 +0000 (0:00:00.054) 0:02:02.963 ********** changed: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.0.2.15\';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:27 +0000 (0:00:00.837) 0:02:03.801 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:27 +0000 (0:00:00.089) 0:02:03.890 ********** skipping: [/cache/rhel-8.qcow2] => (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 = \'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.0.2.15\';\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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:37:28 +0000 (0:00:00.132) 0:02:04.023 ********** changed: [/cache/rhel-8.qcow2] => { "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.678270", "end": "2022-07-26 18:37:28.369635", "rc": 0, "start": "2022-07-26 18:37:27.691365" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:37:29 +0000 (0:00:01.103) 0:02:05.126 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:37:29 +0000 (0:00:00.130) 0:02:05.256 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:37:29 +0000 (0:00:00.578) 0:02:05.835 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:37:29 +0000 (0:00:00.103) 0:02:05.938 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:30 +0000 (0:00:00.075) 0:02:06.014 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:31 +0000 (0:00:01.358) 0:02:07.372 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:34 +0000 (0:00:03.378) 0:02:10.751 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:34 +0000 (0:00:00.133) 0:02:10.885 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create oVirt input configuration file input-ovirt-ovirt_bogus_input in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:37:35 +0000 (0:00:00.163) 0:02:11.048 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:37:35 +0000 (0:00:00.052) 0:02:11.101 ********** changed: [/cache/rhel-8.qcow2] => { "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.639517", "end": "2022-07-26 18:37:35.394537", "rc": 0, "start": "2022-07-26 18:37:34.755020" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 22:37:36 +0000 (0:00:01.050) 0:02:12.151 ********** ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "server_host": [ "logging-es0", "logging-es1" ], "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" } } ok: [/cache/rhel-8.qcow2] => (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": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "allowUnsignedCerts": true, "bulkmode": false, "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "dynSearchIndex": false, "dynbulkid": false, "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": [ "logging-es-ops0", "logging-es-ops1" ], "server_port": 9200, "type": "elasticsearch", "usehttps": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 22:37:36 +0000 (0:00:00.097) 0:02:12.249 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/rhel-8.qcow2 => (item={'name': 'default_files', 'type': 'files'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/rhel-8.qcow2 => (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'}) included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/rhel-8.qcow2 => (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}) TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:37:36 +0000 (0:00:00.112) 0:02:12.361 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:36 +0000 (0:00:00.081) 0:02:12.443 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:36 +0000 (0:00:00.054) 0:02:12.498 ********** changed: [/cache/rhel-8.qcow2] => (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-1658875056.5860856-258737-242692330311310/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:37 +0000 (0:00:00.803) 0:02:13.301 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875056.5860856-258737-242692330311310/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-1658875056.5860856-258737-242692330311310/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:37 +0000 (0:00:00.092) 0:02:13.394 ********** skipping: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create files output configuration file output-files-default_files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 22:37:37 +0000 (0:00:00.057) 0:02:13.451 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:37 +0000 (0:00:00.077) 0:02:13.529 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:37 +0000 (0:00:00.048) 0:02:13.577 ********** changed: [/cache/rhel-8.qcow2] => (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-1658875057.7249906-258773-82439631132003/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:38 +0000 (0:00:00.821) 0:02:14.398 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875056.5860856-258737-242692330311310/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-1658875056.5860856-258737-242692330311310/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875057.7249906-258773-82439631132003/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-1658875057.7249906-258773-82439631132003/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:38 +0000 (0:00:00.092) 0:02:14.491 ********** skipping: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:37:38 +0000 (0:00:00.116) 0:02:14.608 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:37:38 +0000 (0:00:00.073) 0:02:14.681 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:13 Tuesday 26 July 2022 22:37:38 +0000 (0:00:00.057) 0:02:14.739 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:20 Tuesday 26 July 2022 22:37:38 +0000 (0:00:00.056) 0:02:14.796 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:27 Tuesday 26 July 2022 22:37:38 +0000 (0:00:00.089) 0:02:14.885 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:37:38 +0000 (0:00:00.058) 0:02:14.944 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:37:39 +0000 (0:00:00.058) 0:02:15.002 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:39 +0000 (0:00:00.078) 0:02:15.081 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-7.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:40 +0000 (0:00:01.620) 0:02:16.702 ********** changed: [/cache/rhel-8.qcow2] => (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-1658875060.7904747-258835-271032852676607/source", "state": "file", "uid": 0 } changed: [/cache/rhel-8.qcow2] => (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-1658875061.4868348-258835-130825872894794/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:42 +0000 (0:00:01.463) 0:02:18.165 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875056.5860856-258737-242692330311310/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-1658875056.5860856-258737-242692330311310/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875057.7249906-258773-82439631132003/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-1658875057.7249906-258773-82439631132003/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875060.7904747-258835-271032852676607/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-1658875060.7904747-258835-271032852676607/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875061.4868348-258835-130825872894794/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-1658875061.4868348-258835-130825872894794/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:42 +0000 (0:00:00.142) 0:02:18.308 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Tuesday 26 July 2022 22:37:42 +0000 (0:00:00.097) 0:02:18.405 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:42 +0000 (0:00:00.084) 0:02:18.490 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:42 +0000 (0:00:00.058) 0:02:18.548 ********** changed: [/cache/rhel-8.qcow2] => (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-1658875062.7083158-258896-182071069101787/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:43 +0000 (0:00:00.825) 0:02:19.374 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875056.5860856-258737-242692330311310/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-1658875056.5860856-258737-242692330311310/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875057.7249906-258773-82439631132003/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-1658875057.7249906-258773-82439631132003/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875060.7904747-258835-271032852676607/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-1658875060.7904747-258835-271032852676607/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875061.4868348-258835-130825872894794/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-1658875061.4868348-258835-130825872894794/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875062.7083158-258896-182071069101787/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-1658875062.7083158-258896-182071069101787/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:43 +0000 (0:00:00.101) 0:02:19.475 ********** skipping: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d (no_log)] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Tuesday 26 July 2022 22:37:43 +0000 (0:00:00.136) 0:02:19.611 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:37:43 +0000 (0:00:00.057) 0:02:19.669 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:37:43 +0000 (0:00:00.084) 0:02:19.753 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy cert on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:13 Tuesday 26 July 2022 22:37:43 +0000 (0:00:00.056) 0:02:19.809 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy key on the control host to the specified path on the target host] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:20 Tuesday 26 July 2022 22:37:43 +0000 (0:00:00.058) 0:02:19.868 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:27 Tuesday 26 July 2022 22:37:43 +0000 (0:00:00.059) 0:02:19.928 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:37:43 +0000 (0:00:00.060) 0:02:19.988 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:37:44 +0000 (0:00:00.104) 0:02:20.092 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:44 +0000 (0:00:00.080) 0:02:20.173 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:45 +0000 (0:00:01.288) 0:02:21.461 ********** ok: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:46 +0000 (0:00:01.367) 0:02:22.828 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875056.5860856-258737-242692330311310/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-1658875056.5860856-258737-242692330311310/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875057.7249906-258773-82439631132003/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-1658875057.7249906-258773-82439631132003/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875060.7904747-258835-271032852676607/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-1658875060.7904747-258835-271032852676607/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875061.4868348-258835-130825872894794/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-1658875061.4868348-258835-130825872894794/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875062.7083158-258896-182071069101787/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-1658875062.7083158-258896-182071069101787/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "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, "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 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:46 +0000 (0:00:00.098) 0:02:22.927 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Tuesday 26 July 2022 22:37:46 +0000 (0:00:00.066) 0:02:22.993 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:47 +0000 (0:00:00.088) 0:02:23.081 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:47 +0000 (0:00:00.114) 0:02:23.196 ********** changed: [/cache/rhel-8.qcow2] => (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-1658875067.3487518-259011-152151154060623/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.810) 0:02:24.006 ********** ok: [/cache/rhel-8.qcow2] => { "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, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875020.975106-257843-246716265971395/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-1658875020.975106-257843-246716265971395/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, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875021.8384223-257843-172926470229811/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-1658875021.8384223-257843-172926470229811/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875023.5715513-257918-216540185628692/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-1658875023.5715513-257918-216540185628692/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.1628063-257988-169433167267130/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-1658875027.1628063-257988-169433167267130/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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875027.895665-257988-2778983012494/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-1658875027.895665-257988-2778983012494/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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875028.5948586-257988-69641302611220/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-1658875028.5948586-257988-69641302611220/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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875029.3440492-257988-211504116185040/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-1658875029.3440492-257988-211504116185040/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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875030.0395265-257988-15065341621881/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-1658875030.0395265-257988-15065341621881/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875031.1722982-258124-192503377544215/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-1658875031.1722982-258124-192503377544215/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c7f6579c3626518aa1c0ed2273e43499", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1365, "src": "/root/.ansible/tmp/ansible-tmp-1658875039.2356036-258321-41128026163639/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "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 = 'ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.0.2.15';\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": "176de721ab68274390c753e6db2d9c3ecd971553", "content": 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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "unsafe_writes": false, "validate": null } }, "md5sum": "0f80eff8e70a519eb8c3aafc19c5c5ea", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1341, "src": "/root/.ansible/tmp/ansible-tmp-1658875047.1238608-258518-135327398558252/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "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, "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, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875056.5860856-258737-242692330311310/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-1658875056.5860856-258737-242692330311310/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875057.7249906-258773-82439631132003/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-1658875057.7249906-258773-82439631132003/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875060.7904747-258835-271032852676607/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-1658875060.7904747-258835-271032852676607/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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875061.4868348-258835-130825872894794/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-1658875061.4868348-258835-130825872894794/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875062.7083158-258896-182071069101787/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-1658875062.7083158-258896-182071069101787/source", "state": "file", "uid": 0 } ], "skipped": false }, { "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, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": 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, "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, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "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, "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 } ], "skipped": false }, { "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, "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", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875067.3487518-259011-152151154060623/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-1658875067.3487518-259011-152151154060623/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.101) 0:02:24.107 ********** skipping: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d (no_log)] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.132) 0:02:24.239 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.053) 0:02:24.293 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.045) 0:02:24.339 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.069) 0:02:24.408 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.047) 0:02:24.456 ********** skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.068) 0:02:24.524 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.052) 0:02:24.577 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.051) 0:02:24.629 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.052) 0:02:24.681 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:36:52 EDT", "ActiveEnterTimestampMonotonic": "909650656", "ActiveExitTimestamp": "Tue 2022-07-26 18:36:52 EDT", "ActiveExitTimestampMonotonic": "909235273", "ActiveState": "active", "After": "basic.target system.slice sysinit.target network.target network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:36:52 EDT", "AssertTimestampMonotonic": "909645168", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:36:52 EDT", "ConditionTimestampMonotonic": "909645168", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "138301", "ExecMainStartTimestamp": "Tue 2022-07-26 18:36:52 EDT", "ExecMainStartTimestampMonotonic": "909646380", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:36:52 EDT] ; stop_time=[n/a] ; pid=138301 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 18:36:52 EDT", "InactiveEnterTimestampMonotonic": "909644271", "InactiveExitTimestamp": "Tue 2022-07-26 18:36:52 EDT", "InactiveExitTimestampMonotonic": "909646423", "InvocationID": "ffcf2cd1c2ce47868b17de24fbb65767", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "138301", "MemoryAccounting": "yes", "MemoryCurrent": "1204224", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:36:52 EDT", "StateChangeTimestampMonotonic": "909650656", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 18:36:52 EDT", "WatchdogTimestampMonotonic": "909650655", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 22:37:49 +0000 (0:00:00.588) 0:02:25.270 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 22:37:49 +0000 (0:00:00.048) 0:02:25.319 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: role_complete for /cache/rhel-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:256 Tuesday 26 July 2022 22:37:49 +0000 (0:00:00.086) 0:02:25.405 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:37:49 +0000 (0:00:00.000) 0:02:25.405 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:36:52 EDT", "ActiveEnterTimestampMonotonic": "909650656", "ActiveExitTimestamp": "Tue 2022-07-26 18:36:52 EDT", "ActiveExitTimestampMonotonic": "909235273", "ActiveState": "active", "After": "basic.target system.slice sysinit.target network.target network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:36:52 EDT", "AssertTimestampMonotonic": "909645168", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:36:52 EDT", "ConditionTimestampMonotonic": "909645168", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "138301", "ExecMainStartTimestamp": "Tue 2022-07-26 18:36:52 EDT", "ExecMainStartTimestampMonotonic": "909646380", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:36:52 EDT] ; stop_time=[n/a] ; pid=138301 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 18:36:52 EDT", "InactiveEnterTimestampMonotonic": "909644271", "InactiveExitTimestamp": "Tue 2022-07-26 18:36:52 EDT", "InactiveExitTimestampMonotonic": "909646423", "InvocationID": "ffcf2cd1c2ce47868b17de24fbb65767", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "138301", "MemoryAccounting": "yes", "MemoryCurrent": "1204224", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:36:52 EDT", "StateChangeTimestampMonotonic": "909650656", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 18:36:52 EDT", "WatchdogTimestampMonotonic": "909650655", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:259 Tuesday 26 July 2022 22:37:50 +0000 (0:00:00.893) 0:02:26.298 ********** included: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml for /cache/rhel-8.qcow2 TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:37:50 +0000 (0:00:00.065) 0:02:26.364 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658875069.5214636, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658875019.9064636, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 26335736, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875019.6464636, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "4019767426", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get file counts in /etc/rsyslog.d] *************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:37:50 +0000 (0:00:00.396) 0:02:26.760 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 18, "files": [ { "atime": 1658874430.1774635, "ctime": 1658874398.8504636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8388868, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648826340.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": 1658875069.5214636, "ctime": 1658875020.9174635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17061839, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875020.6244636, "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": 1658875069.5214636, "ctime": 1658875021.8094635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245704, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875021.5434635, "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": 1658875069.5214636, "ctime": 1658875023.4674635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 998060, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875023.1994636, "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": 1658875035.1324635, "ctime": 1658875027.0964634, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26335737, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875026.8094635, "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": 1658875035.7804635, "ctime": 1658875027.8044636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17061849, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875027.5354636, "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": 1658875036.4484634, "ctime": 1658875028.4934635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245706, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875028.2214634, "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": 1658875037.0834637, "ctime": 1658875029.2514637, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 998061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875028.9854636, "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": 1658875037.7044635, "ctime": 1658875029.9214635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26335738, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875029.6544635, "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": 1658875069.5214636, "ctime": 1658875031.0674636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17061850, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875030.7954636, "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": 1658875069.5214636, "ctime": 1658875039.1264637, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17061851, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875038.8684635, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1365, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658875069.5214636, "ctime": 1658875047.0314636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17061852, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875046.7594635, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1341, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658875069.5214636, "ctime": 1658875056.4954636, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 998062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875056.2214634, "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": 1658875069.5214636, "ctime": 1658875057.6344635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26335739, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875057.3664637, "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": 1658875065.1454635, "ctime": 1658875060.6944635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 998063, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875060.4274635, "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": 1658875065.8004634, "ctime": 1658875061.4014635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 26335740, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875061.1274636, "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": 1658875069.5214636, "ctime": 1658875062.6124635, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 17061853, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658875062.3414636, "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": 1658875069.5214636, "ctime": 1658875067.2444634, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 9245709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658875066.9764636, "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, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:37:51 +0000 (0:00:00.441) 0:02:27.201 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:37:51 +0000 (0:00:00.047) 0:02:27.248 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:37:51 +0000 (0:00:00.032) 0:02:27.281 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:37:51 +0000 (0:00:00.043) 0:02:27.325 ********** ok: [/cache/rhel-8.qcow2] => (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": 1658875069.5214636, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1658875031.0674636, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17061850, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875030.7954636, "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": "3066067276", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658875069.5214636, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "ctime": 1658875039.1264637, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17061851, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875038.8684635, "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": 1365, "uid": 0, "version": "975714952", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658875069.5214636, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "ctime": 1658875047.0314636, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17061852, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875046.7594635, "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": 1341, "uid": 0, "version": "4279640076", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpy64iggop/tests/logging/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:37:52 +0000 (0:00:01.204) 0:02:28.529 ********** skipping: [/cache/rhel-8.qcow2] => { "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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:270 Tuesday 26 July 2022 22:37:52 +0000 (0:00:00.035) 0:02:28.564 ********** ok: [/cache/rhel-8.qcow2] => (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": 1658875069.5214636, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1658875031.0674636, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17061850, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875030.7954636, "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": "3066067276", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658875069.5214636, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "ctime": 1658875039.1264637, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17061851, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875038.8684635, "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": 1365, "uid": 0, "version": "975714952", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/rhel-8.qcow2] => (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": 1658875069.5214636, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "ctime": 1658875047.0314636, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17061852, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875046.7594635, "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": 1341, "uid": 0, "version": "4279640076", "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"] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:280 Tuesday 26 July 2022 22:37:53 +0000 (0:00:01.155) 0:02:29.720 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:286 Tuesday 26 July 2022 22:37:54 +0000 (0:00:00.379) 0:02:30.099 ********** ok: [/cache/rhel-8.qcow2] => { "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:01.004220", "end": "2022-07-26 18:37:54.743180", "rc": 0, "start": "2022-07-26 18:37:53.738960" } 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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:292 Tuesday 26 July 2022 22:37:55 +0000 (0:00:01.403) 0:02:31.503 ********** ok: [/cache/rhel-8.qcow2] => { "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.004444", "end": "2022-07-26 18:37:56.191383", "rc": 0, "start": "2022-07-26 18:37:55.186939" } 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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:298 Tuesday 26 July 2022 22:37:56 +0000 (0:00:01.448) 0:02:32.951 ********** ok: [/cache/rhel-8.qcow2] => { "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.003330", "end": "2022-07-26 18:37:56.635911", "rc": 0, "start": "2022-07-26 18:37:56.632581" } 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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:304 Tuesday 26 July 2022 22:37:57 +0000 (0:00:00.439) 0:02:33.390 ********** ok: [/cache/rhel-8.qcow2] => { "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.003236", "end": "2022-07-26 18:37:57.025641", "rc": 0, "start": "2022-07-26 18:37:57.022405" } 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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:310 Tuesday 26 July 2022 22:37:57 +0000 (0:00:00.391) 0:02:33.782 ********** ok: [/cache/rhel-8.qcow2] => { "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:01.004417", "end": "2022-07-26 18:37:58.413639", "rc": 0, "start": "2022-07-26 18:37:57.409222" } 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] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:316 Tuesday 26 July 2022 22:37:59 +0000 (0:00:01.389) 0:02:35.171 ********** ok: [/cache/rhel-8.qcow2] => { "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.003039", "end": "2022-07-26 18:37:58.803196", "rc": 0, "start": "2022-07-26 18:37:58.800157" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "777-888-999" & "."; TASK [Check default config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:322 Tuesday 26 July 2022 22:37:59 +0000 (0:00:00.386) 0:02:35.557 ********** ok: [/cache/rhel-8.qcow2] => (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.003785", "end": "2022-07-26 18:37:59.195130", "item": "dynSearchIndex=.on.", "rc": 0, "start": "2022-07-26 18:37:59.191345" } STDOUT: dynSearchIndex="on" ok: [/cache/rhel-8.qcow2] => (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.002863", "end": "2022-07-26 18:37:59.540747", "item": "bulkmode=.on.", "rc": 0, "start": "2022-07-26 18:37:59.537884" } STDOUT: bulkmode="on" ok: [/cache/rhel-8.qcow2] => (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.003173", "end": "2022-07-26 18:37:59.892760", "item": "dynbulkid=.on.", "rc": 0, "start": "2022-07-26 18:37:59.889587" } STDOUT: dynbulkid="on" ok: [/cache/rhel-8.qcow2] => (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:01.003882", "end": "2022-07-26 18:38:01.291899", "item": "allowUnsignedCerts=.off.", "rc": 0, "start": "2022-07-26 18:38:00.288017" } STDOUT: allowUnsignedCerts="off" ok: [/cache/rhel-8.qcow2] => (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.002837", "end": "2022-07-26 18:38:01.643303", "item": "usehttps=.on.", "rc": 0, "start": "2022-07-26 18:38:01.640466" } STDOUT: usehttps="on" ok: [/cache/rhel-8.qcow2] => (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.003380", "end": "2022-07-26 18:38:01.995682", "item": "retryfailures=.on.", "rc": 0, "start": "2022-07-26 18:38:01.992302" } STDOUT: retryfailures="on" TASK [Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:333 Tuesday 26 July 2022 22:38:02 +0000 (0:00:03.207) 0:02:38.764 ********** ok: [/cache/rhel-8.qcow2] => (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.003238", "end": "2022-07-26 18:38:02.415474", "item": "dynSearchIndex=.off.", "rc": 0, "start": "2022-07-26 18:38:02.412236" } STDOUT: dynSearchIndex="off" ok: [/cache/rhel-8.qcow2] => (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.003308", "end": "2022-07-26 18:38:02.839679", "item": "bulkmode=.off.", "rc": 0, "start": "2022-07-26 18:38:02.836371" } STDOUT: bulkmode="off" ok: [/cache/rhel-8.qcow2] => (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.003661", "end": "2022-07-26 18:38:03.206994", "item": "dynbulkid=.off.", "rc": 0, "start": "2022-07-26 18:38:03.203333" } STDOUT: dynbulkid="off" ok: [/cache/rhel-8.qcow2] => (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.002994", "end": "2022-07-26 18:38:03.558773", "item": "allowUnsignedCerts=.on.", "rc": 0, "start": "2022-07-26 18:38:03.555779" } STDOUT: allowUnsignedCerts="on" ok: [/cache/rhel-8.qcow2] => (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.002783", "end": "2022-07-26 18:38:03.917804", "item": "usehttps=.off.", "rc": 0, "start": "2022-07-26 18:38:03.915021" } STDOUT: usehttps="off" ok: [/cache/rhel-8.qcow2] => (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.003391", "end": "2022-07-26 18:38:04.275269", "item": "retryfailures=.off.", "rc": 0, "start": "2022-07-26 18:38:04.271878" } STDOUT: retryfailures="off" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:344 Tuesday 26 July 2022 22:38:05 +0000 (0:00:02.270) 0:02:41.035 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "server=\\[\"logging-es0\", \"logging-es1\"\\]", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003176", "end": "2022-07-26 18:38:04.752034", "rc": 0, "start": "2022-07-26 18:38:04.748858" } STDOUT: server=["logging-es0", "logging-es1"] TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:350 Tuesday 26 July 2022 22:38:05 +0000 (0:00:00.474) 0:02:41.509 ********** ok: [/cache/rhel-8.qcow2] => { "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.003211", "end": "2022-07-26 18:38:05.153462", "rc": 0, "start": "2022-07-26 18:38:05.150251" } STDOUT: server=["logging-es-ops0", "logging-es-ops1"] TASK [END TEST CASE 1; Ensure basic ovirt configuration works] ***************** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:356 Tuesday 26 July 2022 22:38:05 +0000 (0:00:00.400) 0:02:41.910 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 22:38:05 +0000 (0:00:00.084) 0:02:41.994 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.057) 0:02:42.051 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.063) 0:02:42.115 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.064) 0:02:42.180 ********** TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.031) 0:02:42.212 ********** TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.030) 0:02:42.242 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.051) 0:02:42.293 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.051) 0:02:42.345 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.049) 0:02:42.394 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Use a debug var to avoid an empty dict in with_dict] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.050) 0:02:42.445 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.054) 0:02:42.500 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.070) 0:02:42.570 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.117) 0:02:42.688 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.053) 0:02:42.741 ********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 22:38:07 +0000 (0:00:00.547) 0:02:43.288 ********** ok: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 22:38:07 +0000 (0:00:00.084) 0:02:43.373 ********** skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:38:07 +0000 (0:00:00.099) 0:02:43.472 ********** included: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:38:07 +0000 (0:00:00.099) 0:02:43.572 ********** ok: [/cache/rhel-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.048220", "end": "2022-07-26 18:38:07.267773", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 18:38:07.219553" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:38:08 +0000 (0:00:00.452) 0:02:44.025 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-8.2102.0-7.el8.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-7.el8.x86_64", "Removed: rsyslog-mmjsonparse-8.2102.0-7.el8.x86_64", "Removed: rsyslog-mmnormalize-8.2102.0-7.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 22:38:10 +0000 (0:00:02.231) 0:02:46.256 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-8.2102.0-7.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 22:38:12 +0000 (0:00:01.975) 0:02:48.231 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 22:38:12 +0000 (0:00:00.046) 0:02:48.277 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "4.el8", "source": "rpm", "version": "1.36.0" } ], "PackageKit": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "PackageKit-glib": [ { "arch": "x86_64", "epoch": null, "name": "PackageKit-glib", "release": "6.el8", "source": "rpm", "version": "1.1.12" } ], "abattis-cantarell-fonts": [ { "arch": "noarch", "epoch": null, "name": "abattis-cantarell-fonts", "release": "6.el8", "source": "rpm", "version": "0.0.25" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "3.el8", "source": "rpm", "version": "1.2.2" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "3.el8", "source": "rpm", "version": "4.4.20" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "3.el8", "source": "rpm", "version": "9.11.36" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2": [ { "arch": "x86_64", "epoch": null, "name": "bzip2", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.0.el8_4", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "6.el8", "source": "rpm", "version": "1.15.12" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.1" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "15.el8", "source": "rpm", "version": "21.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "cockpit-bridge": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-bridge", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "264.1" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "12.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "6.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "18.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "dejavu-fonts-common": [ { "arch": "noarch", "epoch": null, "name": "dejavu-fonts-common", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "dejavu-sans-mono-fonts": [ { "arch": "noarch", "epoch": null, "name": "dejavu-sans-mono-fonts", "release": "7.el8", "source": "rpm", "version": "2.35" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "3.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "47.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "dosfstools": [ { "arch": "x86_64", "epoch": null, "name": "dosfstools", "release": "6.el8", "source": "rpm", "version": "4.1" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "201.git20220131.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "1.el8", "source": "rpm", "version": "0.186" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "1.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "8.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "fontconfig": [ { "arch": "x86_64", "epoch": null, "name": "fontconfig", "release": "4.el8", "source": "rpm", "version": "2.13.1" } ], "fontpackages-filesystem": [ { "arch": "noarch", "epoch": null, "name": "fontpackages-filesystem", "release": "22.el8", "source": "rpm", "version": "1.44" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "4.el8_3.1", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "15.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "9.el8", "source": "rpm", "version": "1.0.3" } ], "gdk-pixbuf2": [ { "arch": "x86_64", "epoch": null, "name": "gdk-pixbuf2", "release": "5.el8", "source": "rpm", "version": "2.36.12" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "glib-networking": [ { "arch": "x86_64", "epoch": null, "name": "glib-networking", "release": "1.1.el8", "source": "rpm", "version": "2.56.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "158.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "189.1.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "2.el8", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "123.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "42.el8", "source": "rpm", "version": "8.40" } ], "gsettings-desktop-schemas": [ { "arch": "x86_64", "epoch": null, "name": "gsettings-desktop-schemas", "release": "6.el8", "source": "rpm", "version": "3.32.0" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "20.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "12.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.12.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "5.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "4.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "9.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "6.el8", "source": "rpm", "version": "1.4.0" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "68.el8", "source": "rpm", "version": "2.0.20" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "22.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "14.el8", "source": "rpm", "version": "1.18.2" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libX11": [ { "arch": "x86_64", "epoch": null, "name": "libX11", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libX11-common": [ { "arch": "noarch", "epoch": null, "name": "libX11-common", "release": "5.el8", "source": "rpm", "version": "1.6.8" } ], "libXau": [ { "arch": "x86_64", "epoch": null, "name": "libXau", "release": "3.el8", "source": "rpm", "version": "1.0.9" } ], "libXext": [ { "arch": "x86_64", "epoch": null, "name": "libXext", "release": "1.el8", "source": "rpm", "version": "1.3.4" } ], "libXrender": [ { "arch": "x86_64", "epoch": null, "name": "libXrender", "release": "7.el8", "source": "rpm", "version": "0.9.10" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libappstream-glib": [ { "arch": "x86_64", "epoch": null, "name": "libappstream-glib", "release": "3.el8", "source": "rpm", "version": "0.7.14" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "3.el8_5", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "39.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "3.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "2.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "39.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "22.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "39.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "1.el8", "source": "rpm", "version": "0.1.10" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "6.el8", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "37.2" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "39.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.el8", "source": "rpm", "version": "2.4.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "2.el8", "source": "rpm", "version": "2.0.5" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodman": [ { "arch": "x86_64", "epoch": null, "name": "libmodman", "release": "17.el8", "source": "rpm", "version": "2.0.1" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.5.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "39.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libproxy": [ { "arch": "x86_64", "epoch": null, "name": "libproxy", "release": "5.2.el8", "source": "rpm", "version": "0.4.15" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "39.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.el8", "source": "rpm", "version": "0.7.20" } ], "libsoup": [ { "arch": "x86_64", "epoch": null, "name": "libsoup", "release": "2.el8", "source": "rpm", "version": "2.62.3" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "4.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "10.el8", "source": "rpm", "version": "8.5.0" } ], "libstemmer": [ { "arch": "x86_64", "epoch": null, "name": "libstemmer", "release": "10.585svn.el8", "source": "rpm", "version": "0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "1.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.11.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "6.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "5.el8", "source": "rpm", "version": "0.3.0" } ], "libxcb": [ { "arch": "x86_64", "epoch": null, "name": "libxcb", "release": "1.el8", "source": "rpm", "version": "1.13.1" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "107.git6342082c.el8", "source": "rpm", "version": "20220210" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "1.el8", "source": "rpm", "version": "0.1.11" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220207" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "11.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.52.20160912git.el8", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "51.el8", "source": "rpm", "version": "2.3.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "13.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "6.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "16.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "2.el8", "source": "rpm", "version": "10.32" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pixman": [ { "arch": "x86_64", "epoch": null, "name": "pixman", "release": "2.el8", "source": "rpm", "version": "0.38.4" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "6.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "2.el8.2", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cairo": [ { "arch": "x86_64", "epoch": null, "name": "python3-cairo", "release": "6.el8", "source": "rpm", "version": "1.16.3" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-gobject": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "8.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "1.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "45.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "5.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "8.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "13.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "372.9.1.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pexpect": [ { "arch": "noarch", "epoch": null, "name": "python3-pexpect", "release": "3.el8", "source": "rpm", "version": "4.3.1" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "19.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-ptyprocess": [ { "arch": "noarch", "epoch": null, "name": "python3-ptyprocess", "release": "4.el8", "source": "rpm", "version": "0.5.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pydbus": [ { "arch": "noarch", "epoch": null, "name": "python3-pydbus", "release": "5.el8", "source": "rpm", "version": "0.6.0" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "python3-systemd": [ { "arch": "x86_64", "epoch": null, "name": "python3-systemd", "release": "8.el8", "source": "rpm", "version": "234" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "11.module+el8.6.0+14707+5aa4b42d", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-logos": [ { "arch": "x86_64", "epoch": null, "name": "redhat-logos", "release": "1.el8", "source": "rpm", "version": "84.5" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.1.el8", "source": "rpm", "version": "8.6" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "7.el8", "source": "rpm", "version": "0.2.1" } ], "rhsm-icons": [ { "arch": "noarch", "epoch": null, "name": "rhsm-icons", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "8.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "14.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "7.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "95.el8", "source": "rpm", "version": "3.14.3" } ], "setroubleshoot-plugins": [ { "arch": "noarch", "epoch": null, "name": "setroubleshoot-plugins", "release": "1.el8", "source": "rpm", "version": "3.3.14" } ], "setroubleshoot-server": [ { "arch": "x86_64", "epoch": null, "name": "setroubleshoot-server", "release": "3.el8", "source": "rpm", "version": "3.3.26" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "6.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "5.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "16.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "2.el8", "source": "rpm", "version": "15.5" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sos": [ { "arch": "noarch", "epoch": null, "name": "sos", "release": "15.el8", "source": "rpm", "version": "4.2" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sscg": [ { "arch": "x86_64", "epoch": null, "name": "sscg", "release": "14.el8", "source": "rpm", "version": "2.3.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "3.el8", "source": "rpm", "version": "2.6.2" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-cockpit": [ { "arch": "noarch", "epoch": null, "name": "subscription-manager-cockpit", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "3.el8", "source": "rpm", "version": "1.28.29" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "58.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "58.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "tcpdump": [ { "arch": "x86_64", "epoch": 14, "name": "tcpdump", "release": "3.el8", "source": "rpm", "version": "4.9.3" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "2.el8", "source": "rpm", "version": "2.18.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.13", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "13.el8", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "17.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "3.el8", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "8.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "11.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "18.el8_5", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 22:38:13 +0000 (0:00:01.221) 0:02:49.498 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 22:38:13 +0000 (0:00:00.055) 0:02:49.554 ********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 22:38:13 +0000 (0:00:00.084) 0:02:49.639 ********** ok: [/cache/rhel-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 22:38:13 +0000 (0:00:00.052) 0:02:49.692 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 22:38:13 +0000 (0:00:00.047) 0:02:49.740 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create a work directory] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.418) 0:02:50.158 ********** ok: [/cache/rhel-8.qcow2] => { "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": 58, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.424) 0:02:50.582 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log", "secontext": "system_u:object_r:var_log_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.410) 0:02:50.993 ********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1642153580.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658875090.8874636, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 30934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642153580.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "148409929", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 22:38:15 +0000 (0:00:00.411) 0:02:51.404 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 22:38:15 +0000 (0:00:00.048) 0:02:51.452 ********** ok: [/cache/rhel-8.qcow2] => { "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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 22:38:15 +0000 (0:00:00.166) 0:02:51.619 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 22:38:15 +0000 (0:00:00.067) 0:02:51.687 ********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items skipped", "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 } ], "skipped": true } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 22:38:15 +0000 (0:00:00.110) 0:02:51.798 ********** skipping: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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 [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include input sub-vars] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 22:38:15 +0000 (0:00:00.104) 0:02:51.902 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 22:38:15 +0000 (0:00:00.032) 0:02:51.935 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 22:38:15 +0000 (0:00:00.046) 0:02:51.982 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 22:38:16 +0000 (0:00:00.034) 0:02:52.016 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 22:38:16 +0000 (0:00:00.031) 0:02:52.048 ********** ok: [/cache/rhel-8.qcow2] => { "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.108291", "end": "2022-07-26 18:38:15.789084", "failed_when_result": false, "rc": 0, "start": "2022-07-26 18:38:15.680793" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-ovirt-local_modules.conf /etc/rsyslog.d/10-input-ovirt-main-modules.conf /etc/rsyslog.d/10-output-elasticsearch-module.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/30-output-elasticsearch.conf /etc/rsyslog.d/30-output-files-default_files.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf /etc/rsyslog.d/90-input-basics-basic_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf /etc/rsyslog.d/ovirt_engine.rulebase /etc/rsyslog.d/ovirt_vdsm.rulebase /etc/rsyslog.d/parse_json.rulebase TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 22:38:16 +0000 (0:00:00.500) 0:02:52.548 ********** changed: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (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: [/cache/rhel-8.qcow2] => (item=/etc/rsyslog.d/parse_json.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/parse_json.rulebase", "path": "/etc/rsyslog.d/parse_json.rulebase", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 22:38:22 +0000 (0:00:06.335) 0:02:58.884 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 22:38:22 +0000 (0:00:00.090) 0:02:58.974 ********** skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 22:38:23 +0000 (0:00:00.072) 0:02:59.047 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:38:23 +0000 (0:00:00.055) 0:02:59.102 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:38:23 +0000 (0:00:00.054) 0:02:59.156 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 22:38:23 +0000 (0:00:00.055) 0:02:59.211 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target basic.target system.slice network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 22:38:23 +0000 (0:00:00.570) 0:02:59.782 ********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 22:38:23 +0000 (0:00:00.050) 0:02:59.832 ********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: role_complete for /cache/rhel-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:364 Tuesday 26 July 2022 22:38:23 +0000 (0:00:00.084) 0:02:59.917 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:38:23 +0000 (0:00:00.000) 0:02:59.917 ********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 18:38:23 EDT", "ActiveEnterTimestampMonotonic": "999894081", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target sysinit.target basic.target system.slice network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 18:38:23 EDT", "AssertTimestampMonotonic": "999887097", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 18:38:23 EDT", "ConditionTimestampMonotonic": "999887097", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "151586", "ExecMainStartTimestamp": "Tue 2022-07-26 18:38:23 EDT", "ExecMainStartTimestampMonotonic": "999888614", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 18:38:23 EDT] ; stop_time=[n/a] ; pid=151586 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-26 18:38:23 EDT", "InactiveExitTimestampMonotonic": "999888661", "InvocationID": "eeb0b8fd385e4be5bf98da1c49202a3a", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "151586", "MemoryAccounting": "yes", "MemoryCurrent": "5283840", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-26 18:38:23 EDT", "StateChangeTimestampMonotonic": "999894081", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 18:38:23 EDT", "WatchdogTimestampMonotonic": "999894080", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=282 changed=46 unreachable=0 failed=0 skipped=180 rescued=0 ignored=0 Tuesday 26 July 2022 22:38:24 +0000 (0:00:00.891) 0:03:00.808 ********** =============================================================================== fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state --- 6.36s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state --- 6.34s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 3.71s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 3.62s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd --- 3.60s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 3.38s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 3.35s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 3.32s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure collectd port is allowed for rsyslogd to listen to --- 3.32s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 3.31s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 3.30s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d --- 3.27s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Check default config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" --- 3.21s /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:322 -------------- fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent --- 2.39s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" --- 2.27s /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:333 -------------- fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent --- 2.23s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Gathering Facts --------------------------------------------------------- 2.06s /tmp/tmpy64iggop/tests/logging/tests_ovirt_elasticsearch.yml:2 ---------------- fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 1.98s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 1.90s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 1.74s /tmp/tmpsw2hsk53/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4