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/tmp0v9ep7pi 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Tuesday 26 July 2022 22:13:28 +0000 (0:00:00.018) 0:00:00.018 ********** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.192760", "end": "2022-07-26 22:13:28.579712", "rc": 0, "start": "2022-07-26 22:13:28.386952" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 26 July 2022 22:13:29 +0000 (0:00:00.757) 0:00:00.775 ********** =============================================================================== Enable HA repos --------------------------------------------------------- 0.76s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_ovirt_elasticsearch.yml **************************************** 1 plays in /tmp/tmpvqwhul7j/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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:2 Tuesday 26 July 2022 22:13:29 +0000 (0:00:00.026) 0:00:00.802 ********** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [TEST CASE 0; Ensure basic ovirt default configuration works] ************* task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:27 Tuesday 26 July 2022 22:13:30 +0000 (0:00:01.005) 0:00:01.807 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.042) 0:00:01.850 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.038) 0:00:01.888 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.049) 0:00:01.937 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.049) 0:00:01.987 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.058) 0:00:02.045 ********** skipping: [/cache/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.056) 0:00:02.102 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.036) 0:00:02.139 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.035) 0:00:02.175 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.037) 0:00:02.213 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.037) 0:00:02.250 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.037) 0:00:02.288 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.038) 0:00:02.327 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.036) 0:00:02.363 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:13:30 +0000 (0:00:00.026) 0:00:02.390 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.510) 0:00:02.900 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.052) 0:00:02.953 ********** skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.076) 0:00:03.030 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.060) 0:00:03.091 ********** skipping: [/cache/centos-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.036) 0:00:03.127 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:13:31 +0000 (0:00:00.036) 0:00:03.163 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:13:33 +0000 (0:00:02.193) 0:00:05.357 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:13:33 +0000 (0:00:00.056) 0:00:05.414 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "0.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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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": "6.el8", "source": "rpm", "version": "9.11.26" } ], "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": "82.el8", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "centos-gpg-keys": [ { "arch": "noarch", "epoch": 1, "name": "centos-gpg-keys", "release": "4.el8", "source": "rpm", "version": "8" } ], "centos-logos": [ { "arch": "x86_64", "epoch": null, "name": "centos-logos", "release": "2.el8", "source": "rpm", "version": "85.8" } ], "centos-stream-release": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-release", "release": "1.el8", "source": "rpm", "version": "8.6" } ], "centos-stream-repos": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-repos", "release": "4.el8", "source": "rpm", "version": "8" } ], "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": "11.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": "260" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "260" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "260" } ], "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": "4.el8", "source": "rpm", "version": "2.3.3" } ], "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": "5.el8", "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" } ], "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": "2.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "2.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "45.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": "1.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "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": "4.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": "12.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "2.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": "8.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": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "184.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" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5ccc5b19", "source": "rpm", "version": "8483c65d" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "9.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": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "106.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": "7.el8.0.1", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.11.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": "6.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "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": "1.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "8.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": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "67.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": "20.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": "1.el8", "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": "28.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "2.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "5.el8", "source": "rpm", "version": "2.26" } ], "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": "2.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": "5.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": "28.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": "7.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": "7.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" } ], "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": "28.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": "47.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" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "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" } ], "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": "6.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": "28.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": "2.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "7.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": "24.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": "28.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": "11.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" } ], "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": "20210608" } ], "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" } ], "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": "47.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": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "5.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "5.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": "15.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": "3.el8", "source": "rpm", "version": "0.80" } ], "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": "1.el8", "source": "rpm", "version": "0.38.4" } ], "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": "18.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "18.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "12.el8", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "12.el8", "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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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-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-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "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": "9.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "5.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-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": "5.el8", "source": "rpm", "version": "0.63.0" } ], "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": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "11.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-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "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": "358.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": "18.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": "21.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-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.24" } ], "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": "5.module_el8.6.0+1040+0ae94936", "source": "rpm", "version": "6.1.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" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "4.git.b2b7934e.el8", "source": "rpm", "version": "6.14" } ], "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": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "21.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": "10.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": "86.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "86.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": "1.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" } ], "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": "11.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "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": "55.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "55.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "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": "1.el8", "source": "rpm", "version": "2.16.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2021e" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "28.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.3", "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": "5.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "17.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:13:35 +0000 (0:00:01.449) 0:00:06.863 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:13:35 +0000 (0:00:00.046) 0:00:06.909 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:13:35 +0000 (0:00:00.035) 0:00:06.945 ********** ok: [/cache/centos-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:13:35 +0000 (0:00:00.045) 0:00:06.990 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:13:35 +0000 (0:00:00.043) 0:00:07.033 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:13:35 +0000 (0:00:00.552) 0:00:07.586 ********** ok: [/cache/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:13:36 +0000 (0:00:00.406) 0:00:07.993 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:13:36 +0000 (0:00:00.397) 0:00:08.390 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658873588.3697157, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658873584.7587159, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19203, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1653908735.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "3090123428", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:13:37 +0000 (0:00:00.540) 0:00:08.931 ********** NOTIFIED HANDLER /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-8.qcow2 changed: [/cache/centos-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-1658873617.2866464-165513-224620159449055/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:13:38 +0000 (0:00:00.850) 0:00:09.781 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:13:38 +0000 (0:00:00.107) 0:00:09.889 ********** changed: [/cache/centos-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-1658873618.2252085-165543-112983108304358/source", "state": "file", "uid": 0 } skipping: [/cache/centos-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/centos-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-1658873618.9033315-165543-132897559301848/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:13:39 +0000 (0:00:01.424) 0:00:11.313 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:13:39 +0000 (0:00:00.058) 0:00:11.372 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:13:39 +0000 (0:00:00.053) 0:00:11.426 ********** ok: [/cache/centos-8.qcow2] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } ok: [/cache/centos-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/tmpvqwhul7j/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/centos-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/tmpvqwhul7j/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/centos-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/tmpvqwhul7j/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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:13:39 +0000 (0:00:00.155) 0:00:11.581 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/basics/main.yml for /cache/centos-8.qcow2 => (item={'name': 'basic_input', 'type': 'basics'}) included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-8.qcow2 => (item={'name': 'ovirt_collectd_input', 'type': 'ovirt', 'subtype': 'collectd'}) included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-8.qcow2 => (item={'name': 'ovirt_engine_input', 'type': 'ovirt', 'subtype': 'engine'}) included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-8.qcow2 => (item={'name': 'ovirt_vdsm_input', 'type': 'ovirt', 'subtype': 'vdsm'}) included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-8.qcow2 => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.201) 0:00:11.783 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.066) 0:00:11.850 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.043) 0:00:11.893 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.043) 0:00:11.937 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.056) 0:00:11.994 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.045) 0:00:12.039 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.067) 0:00:12.107 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:40 +0000 (0:00:00.042) 0:00:12.149 ********** changed: [/cache/centos-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-1658873620.56468-165618-5304202947218/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.788) 0:00:12.938 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.057) 0:00:12.996 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.128) 0:00:13.124 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:13:41 +0000 (0:00:00.069) 0:00:13.193 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:13:42 +0000 (0:00:00.575) 0:00:13.769 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:13:42 +0000 (0:00:00.094) 0:00:13.863 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:42 +0000 (0:00:00.069) 0:00:13.933 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: liblognorm-2.0.5-2.el8.x86_64", "Installed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64", "Installed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64" ] } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:44 +0000 (0:00:02.765) 0:00:16.698 ********** changed: [/cache/centos-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-1658873625.0759706-165688-61111123165846/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658873625.7661152-165688-218427514503638/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658873626.4629693-165688-107801418185023/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658873627.17564-165688-24454230028021/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658873627.855893-165688-30524539782806/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:48 +0000 (0:00:03.566) 0:00:20.264 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:48 +0000 (0:00:00.091) 0:00:20.356 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:13:48 +0000 (0:00:00.080) 0:00:20.436 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:48 +0000 (0:00:00.073) 0:00:20.510 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:48 +0000 (0:00:00.041) 0:00:20.552 ********** changed: [/cache/centos-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-1658873628.9407053-165824-154596258475620/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:49 +0000 (0:00:00.768) 0:00:21.320 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:49 +0000 (0:00:00.067) 0:00:21.387 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:13:49 +0000 (0:00:00.109) 0:00:21.497 ********** changed: [/cache/centos-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.586728", "end": "2022-07-26 22:13:52.274981", "rc": 0, "start": "2022-07-26 22:13:49.688253" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:13:52 +0000 (0:00:03.037) 0:00:24.535 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:13:52 +0000 (0:00:00.068) 0:00:24.603 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.578) 0:00:25.181 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.097) 0:00:25.279 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:53 +0000 (0:00:00.071) 0:00:25.350 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:55 +0000 (0:00:01.834) 0:00:27.185 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:58 +0000 (0:00:03.279) 0:00:30.465 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:58 +0000 (0:00:00.141) 0:00:30.606 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:13:58 +0000 (0:00:00.084) 0:00:30.690 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:13:59 +0000 (0:00:00.077) 0:00:30.767 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:13:59 +0000 (0:00:00.046) 0:00:30.813 ********** changed: [/cache/centos-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-1658873639.2078114-166032-67166466867864/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:13:59 +0000 (0:00:00.779) 0:00:31.593 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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-1658873639.2078114-166032-67166466867864/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-1658873639.2078114-166032-67166466867864/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:13:59 +0000 (0:00:00.073) 0:00:31.666 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:14:00 +0000 (0:00:00.111) 0:00:31.778 ********** changed: [/cache/centos-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.627093", "end": "2022-07-26 22:14:00.581584", "rc": 0, "start": "2022-07-26 22:13:59.954491" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:14:01 +0000 (0:00:01.008) 0:00:32.786 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:14:01 +0000 (0:00:00.100) 0:00:32.887 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:14:01 +0000 (0:00:00.561) 0:00:33.448 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:14:01 +0000 (0:00:00.100) 0:00:33.548 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:01 +0000 (0:00:00.067) 0:00:33.615 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:03 +0000 (0:00:01.811) 0:00:35.426 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:06 +0000 (0:00:03.260) 0:00:38.687 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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-1658873639.2078114-166032-67166466867864/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-1658873639.2078114-166032-67166466867864/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:07 +0000 (0:00:00.123) 0:00:38.811 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:14:07 +0000 (0:00:00.076) 0:00:38.887 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:07 +0000 (0:00:00.075) 0:00:38.962 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:07 +0000 (0:00:00.047) 0:00:39.010 ********** changed: [/cache/centos-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-1658873647.4058635-166229-131409695312137/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:08 +0000 (0:00:00.811) 0:00:39.822 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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-1658873639.2078114-166032-67166466867864/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-1658873639.2078114-166032-67166466867864/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-1658873647.4058635-166229-131409695312137/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-1658873647.4058635-166229-131409695312137/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:08 +0000 (0:00:00.079) 0:00:39.902 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:14:08 +0000 (0:00:00.108) 0:00:40.010 ********** changed: [/cache/centos-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.663964", "end": "2022-07-26 22:14:08.868340", "rc": 0, "start": "2022-07-26 22:14:08.204376" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:14:09 +0000 (0:00:01.098) 0:00:41.108 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:14:09 +0000 (0:00:00.077) 0:00:41.186 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:14:10 +0000 (0:00:00.577) 0:00:41.764 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:14:10 +0000 (0:00:00.094) 0:00:41.858 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:10 +0000 (0:00:00.067) 0:00:41.926 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:11 +0000 (0:00:01.819) 0:00:43.746 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:15 +0000 (0:00:03.255) 0:00:47.001 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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-1658873639.2078114-166032-67166466867864/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-1658873639.2078114-166032-67166466867864/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-1658873647.4058635-166229-131409695312137/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-1658873647.4058635-166229-131409695312137/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:15 +0000 (0:00:00.122) 0:00:47.124 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:14:15 +0000 (0:00:00.115) 0:00:47.239 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:14:15 +0000 (0:00:00.055) 0:00:47.295 ********** changed: [/cache/centos-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.624627", "end": "2022-07-26 22:14:16.133741", "rc": 0, "start": "2022-07-26 22:14:15.509114" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:14:16 +0000 (0:00:01.047) 0:00:48.343 ********** ok: [/cache/centos-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/tmpvqwhul7j/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } ok: [/cache/centos-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/tmpvqwhul7j/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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:14:16 +0000 (0:00:00.094) 0:00:48.438 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/files/main.yml for /cache/centos-8.qcow2 => (item={'name': 'default_files', 'type': 'files'}) included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/centos-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/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:14:16 +0000 (0:00:00.109) 0:00:48.547 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:16 +0000 (0:00:00.069) 0:00:48.617 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:16 +0000 (0:00:00.047) 0:00:48.664 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:17 +0000 (0:00:00.729) 0:00:49.394 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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-1658873639.2078114-166032-67166466867864/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-1658873639.2078114-166032-67166466867864/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-1658873647.4058635-166229-131409695312137/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-1658873647.4058635-166229-131409695312137/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:17 +0000 (0:00:00.090) 0:00:49.484 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-default_files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:14:17 +0000 (0:00:00.053) 0:00:49.538 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:17 +0000 (0:00:00.069) 0:00:49.607 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:17 +0000 (0:00:00.046) 0:00:49.653 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:18 +0000 (0:00:00.720) 0:00:50.374 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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-1658873639.2078114-166032-67166466867864/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-1658873639.2078114-166032-67166466867864/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-1658873647.4058635-166229-131409695312137/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-1658873647.4058635-166229-131409695312137/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:18 +0000 (0:00:00.086) 0:00:50.460 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:14:18 +0000 (0:00:00.105) 0:00:50.565 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:14:18 +0000 (0:00:00.070) 0:00:50.635 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:15 Tuesday 26 July 2022 22:14:18 +0000 (0:00:00.054) 0:00:50.690 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:24 Tuesday 26 July 2022 22:14:18 +0000 (0:00:00.052) 0:00:50.743 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:14:19 +0000 (0:00:00.052) 0:00:50.795 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:49 Tuesday 26 July 2022 22:14:19 +0000 (0:00:00.052) 0:00:50.847 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:14:19 +0000 (0:00:00.110) 0:00:50.958 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:19 +0000 (0:00:00.072) 0:00:51.031 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64" ] } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:21 +0000 (0:00:02.153) 0:00:53.185 ********** changed: [/cache/centos-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-1658873661.5269473-166536-97101152332157/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658873662.2126176-166536-232413278541073/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:22 +0000 (0:00:01.421) 0:00:54.606 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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-1658873639.2078114-166032-67166466867864/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-1658873639.2078114-166032-67166466867864/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-1658873647.4058635-166229-131409695312137/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-1658873647.4058635-166229-131409695312137/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-1658873661.5269473-166536-97101152332157/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-1658873661.5269473-166536-97101152332157/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-1658873662.2126176-166536-232413278541073/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-1658873662.2126176-166536-232413278541073/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:22 +0000 (0:00:00.099) 0:00:54.706 ********** skipping: [/cache/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:17 Tuesday 26 July 2022 22:14:23 +0000 (0:00:00.060) 0:00:54.766 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:36 Tuesday 26 July 2022 22:14:23 +0000 (0:00:00.090) 0:00:54.856 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy_nolog.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy_nolog.yml:8 Tuesday 26 July 2022 22:14:23 +0000 (0:00:00.079) 0:00:54.936 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d with no_log] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy_nolog.yml:17 Tuesday 26 July 2022 22:14:23 +0000 (0:00:00.047) 0:00:54.983 ********** changed: [/cache/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy_nolog.yml:41 Tuesday 26 July 2022 22:14:24 +0000 (0:00:00.806) 0:00:55.789 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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-1658873639.2078114-166032-67166466867864/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-1658873639.2078114-166032-67166466867864/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-1658873647.4058635-166229-131409695312137/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-1658873647.4058635-166229-131409695312137/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-1658873661.5269473-166536-97101152332157/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-1658873661.5269473-166536-97101152332157/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-1658873662.2126176-166536-232413278541073/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-1658873662.2126176-166536-232413278541073/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-1658873663.385319-166599-26546634905468/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-1658873663.385319-166599-26546634905468/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d with no_log] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy_nolog.yml:46 Tuesday 26 July 2022 22:14:24 +0000 (0:00:00.093) 0:00:55.883 ********** skipping: [/cache/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:14:24 +0000 (0:00:00.115) 0:00:55.999 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:14:24 +0000 (0:00:00.071) 0:00:56.070 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:15 Tuesday 26 July 2022 22:14:24 +0000 (0:00:00.056) 0:00:56.126 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:24 Tuesday 26 July 2022 22:14:24 +0000 (0:00:00.049) 0:00:56.176 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:14:24 +0000 (0:00:00.052) 0:00:56.228 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:49 Tuesday 26 July 2022 22:14:24 +0000 (0:00:00.055) 0:00:56.283 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:14:24 +0000 (0:00:00.056) 0:00:56.339 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:14:24 +0000 (0:00:00.111) 0:00:56.451 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:14:26 +0000 (0:00:01.846) 0:00:58.298 ********** ok: [/cache/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:14:27 +0000 (0:00:01.321) 0:00:59.620 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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-1658873639.2078114-166032-67166466867864/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-1658873639.2078114-166032-67166466867864/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-1658873647.4058635-166229-131409695312137/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-1658873647.4058635-166229-131409695312137/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-1658873661.5269473-166536-97101152332157/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-1658873661.5269473-166536-97101152332157/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-1658873662.2126176-166536-232413278541073/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-1658873662.2126176-166536-232413278541073/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-1658873663.385319-166599-26546634905468/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-1658873663.385319-166599-26546634905468/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:14:27 +0000 (0:00:00.095) 0:00:59.715 ********** skipping: [/cache/centos-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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:17 Tuesday 26 July 2022 22:14:28 +0000 (0:00:00.060) 0:00:59.775 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:36 Tuesday 26 July 2022 22:14:28 +0000 (0:00:00.048) 0:00:59.824 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy_nolog.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy_nolog.yml:8 Tuesday 26 July 2022 22:14:28 +0000 (0:00:00.079) 0:00:59.903 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d with no_log] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy_nolog.yml:17 Tuesday 26 July 2022 22:14:28 +0000 (0:00:00.079) 0:00:59.983 ********** changed: [/cache/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy_nolog.yml:41 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.807) 0:01:00.790 ********** ok: [/cache/centos-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-1658873618.2252085-165543-112983108304358/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-1658873618.2252085-165543-112983108304358/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-1658873618.9033315-165543-132897559301848/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-1658873618.9033315-165543-132897559301848/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-1658873620.56468-165618-5304202947218/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-1658873620.56468-165618-5304202947218/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-1658873625.0759706-165688-61111123165846/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-1658873625.0759706-165688-61111123165846/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-1658873625.7661152-165688-218427514503638/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-1658873625.7661152-165688-218427514503638/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-1658873626.4629693-165688-107801418185023/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-1658873626.4629693-165688-107801418185023/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-1658873627.17564-165688-24454230028021/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-1658873627.17564-165688-24454230028021/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-1658873627.855893-165688-30524539782806/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-1658873627.855893-165688-30524539782806/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-1658873628.9407053-165824-154596258475620/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-1658873628.9407053-165824-154596258475620/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-1658873639.2078114-166032-67166466867864/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-1658873639.2078114-166032-67166466867864/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-1658873647.4058635-166229-131409695312137/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-1658873647.4058635-166229-131409695312137/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-1658873661.5269473-166536-97101152332157/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-1658873661.5269473-166536-97101152332157/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-1658873662.2126176-166536-232413278541073/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-1658873662.2126176-166536-232413278541073/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-1658873663.385319-166599-26546634905468/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-1658873663.385319-166599-26546634905468/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-1658873668.3842332-166714-201300947766180/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-1658873668.3842332-166714-201300947766180/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d with no_log] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy_nolog.yml:46 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.102) 0:01:00.892 ********** skipping: [/cache/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.122) 0:01:01.015 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.046) 0:01:01.062 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.059) 0:01:01.121 ********** TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.044) 0:01:01.165 ********** skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.071) 0:01:01.236 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.056) 0:01:01.292 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.053) 0:01:01.346 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:14:29 +0000 (0:00:00.054) 0:01:01.400 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:13:14 UTC", "ActiveEnterTimestampMonotonic": "844145630", "ActiveExitTimestamp": "Tue 2022-07-26 22:13:14 UTC", "ActiveExitTimestampMonotonic": "843744319", "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 22:13:14 UTC", "AssertTimestampMonotonic": "844140922", "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 22:13:14 UTC", "ConditionTimestampMonotonic": "844140922", "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": "122597", "ExecMainStartTimestamp": "Tue 2022-07-26 22:13:14 UTC", "ExecMainStartTimestampMonotonic": "844141826", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:13:14 UTC] ; stop_time=[n/a] ; pid=122597 ; 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 22:13:14 UTC", "InactiveEnterTimestampMonotonic": "844140267", "InactiveExitTimestamp": "Tue 2022-07-26 22:13:14 UTC", "InactiveExitTimestampMonotonic": "844141860", "InvocationID": "b6a65cc287c8413ebdacb03b1cf57a0d", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "122597", "MemoryAccounting": "yes", "MemoryCurrent": "1236992", "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 22:13:14 UTC", "StateChangeTimestampMonotonic": "844145630", "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": "11149", "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 22:13:14 UTC", "WatchdogTimestampMonotonic": "844145629", "WatchdogUSec": "0" } } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:14:30 +0000 (0:00:00.846) 0:01:02.247 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:14:30 +0000 (0:00:00.046) 0:01:02.293 ********** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 META: role_complete for /cache/centos-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:84 Tuesday 26 July 2022 22:14:30 +0000 (0:00:00.076) 0:01:02.370 ********** RUNNING HANDLER [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:14:30 +0000 (0:00:00.000) 0:01:02.370 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:13:14 UTC", "ActiveEnterTimestampMonotonic": "844145630", "ActiveExitTimestamp": "Tue 2022-07-26 22:13:14 UTC", "ActiveExitTimestampMonotonic": "843744319", "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 22:13:14 UTC", "AssertTimestampMonotonic": "844140922", "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 22:13:14 UTC", "ConditionTimestampMonotonic": "844140922", "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": "122597", "ExecMainStartTimestamp": "Tue 2022-07-26 22:13:14 UTC", "ExecMainStartTimestampMonotonic": "844141826", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:13:14 UTC] ; stop_time=[n/a] ; pid=122597 ; 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 22:13:14 UTC", "InactiveEnterTimestampMonotonic": "844140267", "InactiveExitTimestamp": "Tue 2022-07-26 22:13:14 UTC", "InactiveExitTimestampMonotonic": "844141860", "InvocationID": "b6a65cc287c8413ebdacb03b1cf57a0d", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "122597", "MemoryAccounting": "yes", "MemoryCurrent": "1236992", "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 22:13:14 UTC", "StateChangeTimestampMonotonic": "844145630", "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": "11149", "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 22:13:14 UTC", "WatchdogTimestampMonotonic": "844145629", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:88 Tuesday 26 July 2022 22:14:31 +0000 (0:00:00.844) 0:01:03.214 ********** included: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml for /cache/centos-8.qcow2 TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:14:31 +0000 (0:00:00.056) 0:01:03.271 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658873670.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658873617.5777159, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12596777, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873617.2237158, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "2736573710", "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/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:14:31 +0000 (0:00:00.400) 0:01:03.671 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 18, "files": [ { "atime": 1658873111.728716, "ctime": 1658873079.5197158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 13086862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1639112781.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": 1658873575.7427158, "ctime": 1658873572.3797157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 4195555, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873572.116716, "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": 1658873575.7427158, "ctime": 1658873573.3747158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16777508, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873573.1147158, "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": 1658873670.9927158, "ctime": 1658873618.3987157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 19202, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873618.1467159, "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": 1658873670.9927158, "ctime": 1658873619.1047158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12596778, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873618.840716, "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": 1658873670.991716, "ctime": 1658873620.7277157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 19203, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873620.4747157, "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": 1658873635.4207158, "ctime": 1658873625.2637157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12596781, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873624.9997158, "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": 1658873636.0887158, "ctime": 1658873625.9697158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 19208, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873625.6977158, "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": 1658873636.7547157, "ctime": 1658873626.6807158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12596782, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873626.3937159, "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": 1658873637.3787158, "ctime": 1658873627.3657157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 19209, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873627.106716, "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": 1658873637.9997158, "ctime": 1658873628.0487158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12596783, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873627.7787158, "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": 1658873670.991716, "ctime": 1658873629.1097157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 19210, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873628.853716, "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": 1658873670.991716, "ctime": 1658873639.3817158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12598821, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873639.1207159, "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": 1658873670.991716, "ctime": 1658873647.606716, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12598822, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873647.3427157, "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": 1658873666.5087159, "ctime": 1658873661.7177157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 4195819, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873661.4547157, "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": 1658873667.1377158, "ctime": 1658873662.3927157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16835008, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873662.1327157, "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": 1658873670.991716, "ctime": 1658873663.5817158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 4195820, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658873663.3087158, "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": 1658873670.991716, "ctime": 1658873668.5797157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 21820, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658873668.3127158, "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/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:14:32 +0000 (0:00:00.569) 0:01:04.240 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:14:32 +0000 (0:00:00.044) 0:01:04.285 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:14:32 +0000 (0:00:00.031) 0:01:04.317 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:14:32 +0000 (0:00:00.043) 0:01:04.361 ********** ok: [/cache/centos-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": 1658873670.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1658873629.1097157, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19210, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873628.853716, "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": "3039560675", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658873670.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "ctime": 1658873639.3817158, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12598821, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873639.1207159, "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": "1057803687", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658873670.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "ctime": 1658873647.606716, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12598822, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873647.3427157, "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": "1974014391", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:14:33 +0000 (0:00:01.111) 0:01:05.473 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:99 Tuesday 26 July 2022 22:14:33 +0000 (0:00:00.032) 0:01:05.506 ********** ok: [/cache/centos-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": 1658873670.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1658873629.1097157, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19210, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873628.853716, "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": "3039560675", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658873670.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "ctime": 1658873639.3817158, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12598821, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873639.1207159, "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": "1057803687", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658873670.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "ctime": 1658873647.606716, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12598822, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873647.3427157, "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": "1974014391", "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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:110 Tuesday 26 July 2022 22:14:34 +0000 (0:00:01.110) 0:01:06.616 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:116 Tuesday 26 July 2022 22:14:35 +0000 (0:00:00.389) 0:01:07.006 ********** ok: [/cache/centos-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.003673", "end": "2022-07-26 22:14:35.234644", "rc": 0, "start": "2022-07-26 22:14:35.230971" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:122 Tuesday 26 July 2022 22:14:35 +0000 (0:00:00.442) 0:01:07.449 ********** ok: [/cache/centos-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.004134", "end": "2022-07-26 22:14:35.659457", "rc": 0, "start": "2022-07-26 22:14:35.655323" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:129 Tuesday 26 July 2022 22:14:36 +0000 (0:00:00.418) 0:01:07.867 ********** ok: [/cache/centos-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.002849", "end": "2022-07-26 22:14:36.050203", "rc": 0, "start": "2022-07-26 22:14:36.047354" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:136 Tuesday 26 July 2022 22:14:36 +0000 (0:00:00.385) 0:01:08.253 ********** ok: [/cache/centos-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.002817", "end": "2022-07-26 22:14:36.425197", "rc": 0, "start": "2022-07-26 22:14:36.422380" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:143 Tuesday 26 July 2022 22:14:36 +0000 (0:00:00.375) 0:01:08.628 ********** ok: [/cache/centos-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.002770", "end": "2022-07-26 22:14:36.800212", "rc": 0, "start": "2022-07-26 22:14:36.797442" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:150 Tuesday 26 July 2022 22:14:37 +0000 (0:00:00.375) 0:01:09.004 ********** ok: [/cache/centos-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.003112", "end": "2022-07-26 22:14:37.190569", "rc": 0, "start": "2022-07-26 22:14:37.187457" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:157 Tuesday 26 July 2022 22:14:37 +0000 (0:00:00.389) 0:01:09.393 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:01.003672", "end": "2022-07-26 22:14:38.561190", "rc": 0, "start": "2022-07-26 22:14:37.557518" } STDOUT: server="logging-es" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:161 Tuesday 26 July 2022 22:14:39 +0000 (0:00:01.407) 0:01:10.801 ********** ok: [/cache/centos-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.002849", "end": "2022-07-26 22:14:38.981649", "rc": 0, "start": "2022-07-26 22:14:38.978800" } STDOUT: server="logging-es-ops" TASK [Check password is in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:165 Tuesday 26 July 2022 22:14:39 +0000 (0:00:00.383) 0:01:11.184 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "pwd=\"password0\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.002640", "end": "2022-07-26 22:14:39.353498", "rc": 0, "start": "2022-07-26 22:14:39.350858" } STDOUT: pwd="password0" TASK [Check pwd= is not in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:169 Tuesday 26 July 2022 22:14:39 +0000 (0:00:00.391) 0:01:11.576 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "pwd=", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.002360", "end": "2022-07-26 22:14:39.746758", "failed_when_result": false, "rc": 1, "start": "2022-07-26 22:14:39.744398" } MSG: non-zero return code TASK [END TEST CASE 0; Ensure basic ovirt configuration works] ***************** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:175 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.374) 0:01:11.950 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.078) 0:01:12.029 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.057) 0:01:12.086 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.057) 0:01:12.144 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.058) 0:01:12.203 ********** TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.027) 0:01:12.230 ********** TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.026) 0:01:12.257 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.045) 0:01:12.303 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.050) 0:01:12.353 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.049) 0:01:12.403 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.104) 0:01:12.507 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.049) 0:01:12.557 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.050) 0:01:12.607 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.050) 0:01:12.658 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:14:40 +0000 (0:00:00.049) 0:01:12.707 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:14:41 +0000 (0:00:00.543) 0:01:13.251 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:14:41 +0000 (0:00:00.077) 0:01:13.328 ********** skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:14:41 +0000 (0:00:00.098) 0:01:13.427 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:14:41 +0000 (0:00:00.081) 0:01:13.508 ********** ok: [/cache/centos-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.032640", "end": "2022-07-26 22:14:41.758560", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 22:14:41.725920" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:14:42 +0000 (0:00:00.455) 0:01:13.964 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64", "Removed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64", "Removed: rsyslog-8.2102.0-10.el8.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64" ] } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:14:44 +0000 (0:00:02.691) 0:01:16.655 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-8.2102.0-10.el8.x86_64" ] } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:14:47 +0000 (0:00:02.450) 0:01:19.106 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:14:47 +0000 (0:00:00.043) 0:01:19.149 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "0.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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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": "6.el8", "source": "rpm", "version": "9.11.26" } ], "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": "82.el8", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "centos-gpg-keys": [ { "arch": "noarch", "epoch": 1, "name": "centos-gpg-keys", "release": "4.el8", "source": "rpm", "version": "8" } ], "centos-logos": [ { "arch": "x86_64", "epoch": null, "name": "centos-logos", "release": "2.el8", "source": "rpm", "version": "85.8" } ], "centos-stream-release": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-release", "release": "1.el8", "source": "rpm", "version": "8.6" } ], "centos-stream-repos": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-repos", "release": "4.el8", "source": "rpm", "version": "8" } ], "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": "11.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": "260" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "260" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "260" } ], "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": "4.el8", "source": "rpm", "version": "2.3.3" } ], "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": "5.el8", "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" } ], "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": "2.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "2.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "45.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": "1.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "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": "4.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": "12.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "2.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": "8.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": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "184.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" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5ccc5b19", "source": "rpm", "version": "8483c65d" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "9.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": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "106.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": "7.el8.0.1", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.11.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": "6.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "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": "1.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "8.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": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "67.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": "20.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": "1.el8", "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": "28.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "2.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "5.el8", "source": "rpm", "version": "2.26" } ], "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": "2.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": "5.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": "28.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": "7.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": "7.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" } ], "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": "28.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": "47.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" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "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" } ], "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": "6.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": "28.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": "2.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "7.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": "24.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": "28.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": "11.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" } ], "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": "20210608" } ], "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" } ], "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": "47.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": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "5.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "5.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": "15.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": "3.el8", "source": "rpm", "version": "0.80" } ], "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": "1.el8", "source": "rpm", "version": "0.38.4" } ], "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": "18.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "18.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "12.el8", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "12.el8", "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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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-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-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "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": "9.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "5.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-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": "5.el8", "source": "rpm", "version": "0.63.0" } ], "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": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "11.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-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "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": "358.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": "18.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": "21.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-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.24" } ], "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": "5.module_el8.6.0+1040+0ae94936", "source": "rpm", "version": "6.1.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" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "4.git.b2b7934e.el8", "source": "rpm", "version": "6.14" } ], "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": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "21.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": "10.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": "86.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "86.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": "1.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" } ], "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": "11.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "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": "55.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "55.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "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": "1.el8", "source": "rpm", "version": "2.16.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2021e" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "28.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.3", "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": "5.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "17.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:14:48 +0000 (0:00:01.149) 0:01:20.299 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:14:48 +0000 (0:00:00.050) 0:01:20.350 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:14:48 +0000 (0:00:00.036) 0:01:20.387 ********** ok: [/cache/centos-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:14:48 +0000 (0:00:00.128) 0:01:20.515 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:14:48 +0000 (0:00:00.041) 0:01:20.557 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:14:49 +0000 (0:00:00.402) 0:01:20.960 ********** ok: [/cache/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:14:49 +0000 (0:00:00.400) 0:01:21.360 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.405) 0:01:21.765 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1653908735.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658873686.3247159, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9456, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1653908735.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "2215218222", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.401) 0:01:22.166 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.048) 0:01:22.215 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.119) 0:01:22.334 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.066) 0:01:22.401 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.059) 0:01:22.460 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.056) 0:01:22.517 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.028) 0:01:22.545 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.102) 0:01:22.647 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.031) 0:01:22.679 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:14:50 +0000 (0:00:00.029) 0:01:22.709 ********** ok: [/cache/centos-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.107131", "end": "2022-07-26 22:14:51.005151", "failed_when_result": false, "rc": 0, "start": "2022-07-26 22:14:50.898020" } 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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:14:51 +0000 (0:00:00.498) 0:01:23.208 ********** changed: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:14:57 +0000 (0:00:06.349) 0:01:29.557 ********** TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:14:57 +0000 (0:00:00.046) 0:01:29.604 ********** skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:14:57 +0000 (0:00:00.063) 0:01:29.668 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:14:58 +0000 (0:00:00.093) 0:01:29.762 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:14:58 +0000 (0:00:00.049) 0:01:29.811 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:14:58 +0000 (0:00:00.050) 0:01:29.861 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target 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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "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": "11149", "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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:14:58 +0000 (0:00:00.557) 0:01:30.419 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:14:58 +0000 (0:00:00.045) 0:01:30.464 ********** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 META: role_complete for /cache/centos-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:183 Tuesday 26 July 2022 22:14:58 +0000 (0:00:00.081) 0:01:30.545 ********** RUNNING HANDLER [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:14:58 +0000 (0:00:00.000) 0:01:30.545 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:14:58 UTC", "ActiveEnterTimestampMonotonic": "947857891", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target sysinit.target network.target network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:14:58 UTC", "AssertTimestampMonotonic": "947852058", "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 22:14:58 UTC", "ConditionTimestampMonotonic": "947852058", "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": "136163", "ExecMainStartTimestamp": "Tue 2022-07-26 22:14:58 UTC", "ExecMainStartTimestampMonotonic": "947853300", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:14:58 UTC] ; stop_time=[n/a] ; pid=136163 ; 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 22:14:58 UTC", "InactiveExitTimestampMonotonic": "947853338", "InvocationID": "f96cd29a63f540a79081e3b6a73580cc", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "136163", "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": "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 22:14:58 UTC", "StateChangeTimestampMonotonic": "947857891", "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": "11149", "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 22:14:58 UTC", "WatchdogTimestampMonotonic": "947857890", "WatchdogUSec": "0" } } META: ran handlers TASK [TEST CASE 1; Ensure advanced ovirt configuration works] ****************** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:187 Tuesday 26 July 2022 22:14:59 +0000 (0:00:00.916) 0:01:31.462 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:14:59 +0000 (0:00:00.077) 0:01:31.539 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:14:59 +0000 (0:00:00.088) 0:01:31.627 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:14:59 +0000 (0:00:00.062) 0:01:31.690 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.066) 0:01:31.757 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.073) 0:01:31.830 ********** skipping: [/cache/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.072) 0:01:31.903 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.046) 0:01:31.949 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.049) 0:01:31.998 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.050) 0:01:32.048 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.048) 0:01:32.097 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.050) 0:01:32.147 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.049) 0:01:32.197 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.050) 0:01:32.247 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:15:00 +0000 (0:00:00.047) 0:01:32.295 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.535) 0:01:32.830 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.084) 0:01:32.915 ********** skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.193) 0:01:33.108 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.079) 0:01:33.188 ********** skipping: [/cache/centos-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.046) 0:01:33.235 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:15:01 +0000 (0:00:00.047) 0:01:33.282 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:15:03 +0000 (0:00:01.873) 0:01:35.156 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:15:03 +0000 (0:00:00.042) 0:01:35.198 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "0.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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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": "6.el8", "source": "rpm", "version": "9.11.26" } ], "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": "82.el8", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "centos-gpg-keys": [ { "arch": "noarch", "epoch": 1, "name": "centos-gpg-keys", "release": "4.el8", "source": "rpm", "version": "8" } ], "centos-logos": [ { "arch": "x86_64", "epoch": null, "name": "centos-logos", "release": "2.el8", "source": "rpm", "version": "85.8" } ], "centos-stream-release": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-release", "release": "1.el8", "source": "rpm", "version": "8.6" } ], "centos-stream-repos": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-repos", "release": "4.el8", "source": "rpm", "version": "8" } ], "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": "11.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": "260" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "260" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "260" } ], "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": "4.el8", "source": "rpm", "version": "2.3.3" } ], "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": "5.el8", "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" } ], "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": "2.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "2.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "45.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": "1.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "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": "4.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": "12.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "2.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": "8.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": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "184.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" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5ccc5b19", "source": "rpm", "version": "8483c65d" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "9.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": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "106.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": "7.el8.0.1", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.11.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": "6.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "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": "1.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "8.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": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "67.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": "20.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": "1.el8", "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": "28.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "2.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "5.el8", "source": "rpm", "version": "2.26" } ], "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": "2.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": "5.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": "28.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": "7.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": "7.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" } ], "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": "28.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": "47.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" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "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" } ], "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": "6.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": "28.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": "2.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "7.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": "24.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": "28.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": "11.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" } ], "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": "20210608" } ], "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" } ], "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": "47.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": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "5.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "5.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": "15.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": "3.el8", "source": "rpm", "version": "0.80" } ], "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": "1.el8", "source": "rpm", "version": "0.38.4" } ], "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": "18.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "18.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "12.el8", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "12.el8", "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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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-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-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "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": "9.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "5.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-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": "5.el8", "source": "rpm", "version": "0.63.0" } ], "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": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "11.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-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "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": "358.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": "18.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": "21.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-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.24" } ], "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": "5.module_el8.6.0+1040+0ae94936", "source": "rpm", "version": "6.1.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" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "4.git.b2b7934e.el8", "source": "rpm", "version": "6.14" } ], "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": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "21.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": "10.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": "86.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "86.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": "1.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" } ], "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": "11.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "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": "55.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "55.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "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": "1.el8", "source": "rpm", "version": "2.16.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2021e" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "28.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.3", "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": "5.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "17.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:15:04 +0000 (0:00:01.161) 0:01:36.359 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:15:04 +0000 (0:00:00.126) 0:01:36.486 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:15:04 +0000 (0:00:00.036) 0:01:36.522 ********** ok: [/cache/centos-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:15:04 +0000 (0:00:00.048) 0:01:36.571 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:15:04 +0000 (0:00:00.043) 0:01:36.614 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:15:05 +0000 (0:00:00.396) 0:01:37.011 ********** ok: [/cache/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:15:05 +0000 (0:00:00.413) 0:01:37.425 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.412) 0:01:37.837 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658873689.9487157, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658873686.3247159, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9456, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1653908735.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "2215218222", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:15:06 +0000 (0:00:00.412) 0:01:38.250 ********** NOTIFIED HANDLER /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-8.qcow2 changed: [/cache/centos-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-1658873706.5764062-167752-186050559402603/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:15:07 +0000 (0:00:00.740) 0:01:38.991 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:15:07 +0000 (0:00:00.139) 0:01:39.131 ********** changed: [/cache/centos-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-1658873707.5221448-167782-191638570819782/source", "state": "file", "uid": 0 } skipping: [/cache/centos-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/centos-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-1658873708.231933-167782-131600024896442/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:15:08 +0000 (0:00:01.502) 0:01:40.633 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:15:08 +0000 (0:00:00.062) 0:01:40.696 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.057) 0:01:40.754 ********** ok: [/cache/centos-8.qcow2] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } ok: [/cache/centos-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/tmpvqwhul7j/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/centos-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/tmpvqwhul7j/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/centos-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/tmpvqwhul7j/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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.115) 0:01:40.869 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/basics/main.yml for /cache/centos-8.qcow2 => (item={'name': 'basic_input', 'type': 'basics'}) included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-8.qcow2 => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.140) 0:01:41.010 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.071) 0:01:41.081 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.048) 0:01:41.130 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.044) 0:01:41.174 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.060) 0:01:41.235 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.046) 0:01:41.281 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.124) 0:01:41.406 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:09 +0000 (0:00:00.046) 0:01:41.453 ********** changed: [/cache/centos-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-1658873709.8865697-167857-276337157098987/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:10 +0000 (0:00:00.823) 0:01:42.276 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:10 +0000 (0:00:00.064) 0:01:42.340 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:15:10 +0000 (0:00:00.150) 0:01:42.490 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:15:10 +0000 (0:00:00.068) 0:01:42.559 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:15:11 +0000 (0:00:00.562) 0:01:43.121 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:15:11 +0000 (0:00:00.099) 0:01:43.221 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:11 +0000 (0:00:00.069) 0:01:43.291 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64", "Installed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64" ] } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:13 +0000 (0:00:02.264) 0:01:45.555 ********** changed: [/cache/centos-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-1658873713.898164-167927-128767736490502/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658873714.569908-167927-197115959234207/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658873715.270593-167927-238715310717463/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658873715.9636269-167927-253784159018681/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658873716.6226387-167927-57634340625235/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:17 +0000 (0:00:03.472) 0:01:49.028 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:17 +0000 (0:00:00.065) 0:01:49.094 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:15:17 +0000 (0:00:00.080) 0:01:49.175 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:17 +0000 (0:00:00.080) 0:01:49.255 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:17 +0000 (0:00:00.088) 0:01:49.344 ********** changed: [/cache/centos-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-1658873717.7446346-168063-64350248448445/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:18 +0000 (0:00:00.779) 0:01:50.123 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:18 +0000 (0:00:00.069) 0:01:50.192 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:15:18 +0000 (0:00:00.115) 0:01:50.307 ********** changed: [/cache/centos-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.646354", "end": "2022-07-26 22:15:19.145536", "rc": 0, "start": "2022-07-26 22:15:18.499182" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:15:19 +0000 (0:00:01.044) 0:01:51.352 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:15:19 +0000 (0:00:00.068) 0:01:51.421 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:15:20 +0000 (0:00:00.560) 0:01:51.982 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:15:20 +0000 (0:00:00.116) 0:01:52.098 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:20 +0000 (0:00:00.103) 0:01:52.202 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:22 +0000 (0:00:01.792) 0:01:53.994 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:25 +0000 (0:00:03.179) 0:01:57.174 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:25 +0000 (0:00:00.076) 0:01:57.251 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:15:25 +0000 (0:00:00.078) 0:01:57.329 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:25 +0000 (0:00:00.077) 0:01:57.407 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:25 +0000 (0:00:00.092) 0:01:57.500 ********** changed: [/cache/centos-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-1658873725.8989038-168261-96644247582749/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:26 +0000 (0:00:00.793) 0:01:58.293 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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-1658873725.8989038-168261-96644247582749/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-1658873725.8989038-168261-96644247582749/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:26 +0000 (0:00:00.074) 0:01:58.368 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:15:26 +0000 (0:00:00.120) 0:01:58.489 ********** changed: [/cache/centos-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.617481", "end": "2022-07-26 22:15:27.305054", "rc": 0, "start": "2022-07-26 22:15:26.687573" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:15:27 +0000 (0:00:01.024) 0:01:59.513 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:15:27 +0000 (0:00:00.066) 0:01:59.580 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:15:28 +0000 (0:00:00.561) 0:02:00.141 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:15:28 +0000 (0:00:00.097) 0:02:00.238 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:28 +0000 (0:00:00.108) 0:02:00.347 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:30 +0000 (0:00:01.812) 0:02:02.159 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:33 +0000 (0:00:03.259) 0:02:05.419 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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-1658873725.8989038-168261-96644247582749/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-1658873725.8989038-168261-96644247582749/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.090) 0:02:05.509 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.081) 0:02:05.591 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.075) 0:02:05.666 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:33 +0000 (0:00:00.043) 0:02:05.710 ********** changed: [/cache/centos-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-1658873734.1549513-168458-233941940805996/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:34 +0000 (0:00:00.875) 0:02:06.585 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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-1658873725.8989038-168261-96644247582749/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-1658873725.8989038-168261-96644247582749/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-1658873734.1549513-168458-233941940805996/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-1658873734.1549513-168458-233941940805996/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:34 +0000 (0:00:00.085) 0:02:06.671 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:15:35 +0000 (0:00:00.124) 0:02:06.795 ********** changed: [/cache/centos-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.651234", "end": "2022-07-26 22:15:35.637049", "rc": 0, "start": "2022-07-26 22:15:34.985815" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:15:36 +0000 (0:00:01.052) 0:02:07.848 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:15:36 +0000 (0:00:00.069) 0:02:07.917 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml:12 Tuesday 26 July 2022 22:15:36 +0000 (0:00:00.579) 0:02:08.497 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:15:36 +0000 (0:00:00.186) 0:02:08.683 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:37 +0000 (0:00:00.079) 0:02:08.763 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:38 +0000 (0:00:01.823) 0:02:10.587 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:42 +0000 (0:00:03.220) 0:02:13.807 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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-1658873725.8989038-168261-96644247582749/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-1658873725.8989038-168261-96644247582749/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-1658873734.1549513-168458-233941940805996/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-1658873734.1549513-168458-233941940805996/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:42 +0000 (0:00:00.123) 0:02:13.931 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:17 Tuesday 26 July 2022 22:15:42 +0000 (0:00:00.078) 0:02:14.010 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 Tuesday 26 July 2022 22:15:42 +0000 (0:00:00.048) 0:02:14.058 ********** changed: [/cache/centos-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.619371", "end": "2022-07-26 22:15:42.896128", "rc": 0, "start": "2022-07-26 22:15:42.276757" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:15:43 +0000 (0:00:01.044) 0:02:15.103 ********** ok: [/cache/centos-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/tmpvqwhul7j/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } ok: [/cache/centos-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/tmpvqwhul7j/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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:15:43 +0000 (0:00:00.209) 0:02:15.312 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/files/main.yml for /cache/centos-8.qcow2 => (item={'name': 'default_files', 'type': 'files'}) included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/centos-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/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:15:43 +0000 (0:00:00.106) 0:02:15.418 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:43 +0000 (0:00:00.069) 0:02:15.488 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:43 +0000 (0:00:00.047) 0:02:15.535 ********** changed: [/cache/centos-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-1658873743.8786547-168677-49827410824790/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:44 +0000 (0:00:00.758) 0:02:16.294 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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-1658873725.8989038-168261-96644247582749/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-1658873725.8989038-168261-96644247582749/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-1658873734.1549513-168458-233941940805996/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-1658873734.1549513-168458-233941940805996/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-1658873743.8786547-168677-49827410824790/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-1658873743.8786547-168677-49827410824790/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:44 +0000 (0:00:00.088) 0:02:16.382 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-default_files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:15:44 +0000 (0:00:00.055) 0:02:16.437 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:44 +0000 (0:00:00.070) 0:02:16.508 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:44 +0000 (0:00:00.047) 0:02:16.555 ********** changed: [/cache/centos-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-1658873744.9926088-168713-137806852584421/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:45 +0000 (0:00:00.850) 0:02:17.406 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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-1658873725.8989038-168261-96644247582749/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-1658873725.8989038-168261-96644247582749/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-1658873734.1549513-168458-233941940805996/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-1658873734.1549513-168458-233941940805996/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-1658873743.8786547-168677-49827410824790/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-1658873743.8786547-168677-49827410824790/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-1658873744.9926088-168713-137806852584421/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-1658873744.9926088-168713-137806852584421/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:45 +0000 (0:00:00.094) 0:02:17.500 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:15:45 +0000 (0:00:00.117) 0:02:17.618 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:15:45 +0000 (0:00:00.074) 0:02:17.692 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:15 Tuesday 26 July 2022 22:15:46 +0000 (0:00:00.054) 0:02:17.747 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:24 Tuesday 26 July 2022 22:15:46 +0000 (0:00:00.055) 0:02:17.802 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:15:46 +0000 (0:00:00.053) 0:02:17.856 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:49 Tuesday 26 July 2022 22:15:46 +0000 (0:00:00.060) 0:02:17.916 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:15:46 +0000 (0:00:00.050) 0:02:17.966 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:46 +0000 (0:00:00.070) 0:02:18.037 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64" ] } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:48 +0000 (0:00:02.149) 0:02:20.186 ********** changed: [/cache/centos-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-1658873748.5284634-168775-34204926181222/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658873749.2057848-168775-41372090899511/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:49 +0000 (0:00:01.430) 0:02:21.617 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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-1658873725.8989038-168261-96644247582749/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-1658873725.8989038-168261-96644247582749/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-1658873734.1549513-168458-233941940805996/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-1658873734.1549513-168458-233941940805996/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-1658873743.8786547-168677-49827410824790/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-1658873743.8786547-168677-49827410824790/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-1658873744.9926088-168713-137806852584421/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-1658873744.9926088-168713-137806852584421/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-1658873748.5284634-168775-34204926181222/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-1658873748.5284634-168775-34204926181222/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-1658873749.2057848-168775-41372090899511/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-1658873749.2057848-168775-41372090899511/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:49 +0000 (0:00:00.096) 0:02:21.714 ********** skipping: [/cache/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:17 Tuesday 26 July 2022 22:15:50 +0000 (0:00:00.068) 0:02:21.782 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:50 +0000 (0:00:00.084) 0:02:21.866 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:50 +0000 (0:00:00.046) 0:02:21.912 ********** changed: [/cache/centos-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-1658873750.3604517-168836-182297574093889/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.850) 0:02:22.762 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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-1658873725.8989038-168261-96644247582749/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-1658873725.8989038-168261-96644247582749/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-1658873734.1549513-168458-233941940805996/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-1658873734.1549513-168458-233941940805996/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-1658873743.8786547-168677-49827410824790/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-1658873743.8786547-168677-49827410824790/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-1658873744.9926088-168713-137806852584421/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-1658873744.9926088-168713-137806852584421/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-1658873748.5284634-168775-34204926181222/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-1658873748.5284634-168775-34204926181222/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-1658873749.2057848-168775-41372090899511/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-1658873749.2057848-168775-41372090899511/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-1658873750.3604517-168836-182297574093889/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-1658873750.3604517-168836-182297574093889/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.178) 0:02:22.941 ********** skipping: [/cache/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:36 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.127) 0:02:23.069 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.051) 0:02:23.120 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.069) 0:02:23.190 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:15 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.055) 0:02:23.245 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:24 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.058) 0:02:23.304 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.057) 0:02:23.361 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_certs.yml:49 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.062) 0:02:23.424 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.053) 0:02:23.478 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:51 +0000 (0:00:00.069) 0:02:23.548 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:53 +0000 (0:00:01.813) 0:02:25.361 ********** ok: [/cache/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:54 +0000 (0:00:01.308) 0:02:26.670 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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-1658873725.8989038-168261-96644247582749/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-1658873725.8989038-168261-96644247582749/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-1658873734.1549513-168458-233941940805996/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-1658873734.1549513-168458-233941940805996/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-1658873743.8786547-168677-49827410824790/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-1658873743.8786547-168677-49827410824790/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-1658873744.9926088-168713-137806852584421/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-1658873744.9926088-168713-137806852584421/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-1658873748.5284634-168775-34204926181222/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-1658873748.5284634-168775-34204926181222/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-1658873749.2057848-168775-41372090899511/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-1658873749.2057848-168775-41372090899511/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-1658873750.3604517-168836-182297574093889/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-1658873750.3604517-168836-182297574093889/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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:55 +0000 (0:00:00.100) 0:02:26.770 ********** skipping: [/cache/centos-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/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:17 Tuesday 26 July 2022 22:15:55 +0000 (0:00:00.059) 0:02:26.830 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:15:55 +0000 (0:00:00.080) 0:02:26.910 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:15:55 +0000 (0:00:00.046) 0:02:26.957 ********** changed: [/cache/centos-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-1658873755.3975952-168951-13710696649011/source", "state": "file", "uid": 0 } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.863) 0:02:27.820 ********** ok: [/cache/centos-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-1658873707.5221448-167782-191638570819782/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-1658873707.5221448-167782-191638570819782/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-1658873708.231933-167782-131600024896442/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-1658873708.231933-167782-131600024896442/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-1658873709.8865697-167857-276337157098987/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-1658873709.8865697-167857-276337157098987/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-1658873713.898164-167927-128767736490502/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-1658873713.898164-167927-128767736490502/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-1658873714.569908-167927-197115959234207/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-1658873714.569908-167927-197115959234207/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-1658873715.270593-167927-238715310717463/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-1658873715.270593-167927-238715310717463/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-1658873715.9636269-167927-253784159018681/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-1658873715.9636269-167927-253784159018681/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-1658873716.6226387-167927-57634340625235/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-1658873716.6226387-167927-57634340625235/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-1658873717.7446346-168063-64350248448445/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-1658873717.7446346-168063-64350248448445/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-1658873725.8989038-168261-96644247582749/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-1658873725.8989038-168261-96644247582749/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-1658873734.1549513-168458-233941940805996/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-1658873734.1549513-168458-233941940805996/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-1658873743.8786547-168677-49827410824790/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-1658873743.8786547-168677-49827410824790/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-1658873744.9926088-168713-137806852584421/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-1658873744.9926088-168713-137806852584421/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-1658873748.5284634-168775-34204926181222/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-1658873748.5284634-168775-34204926181222/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-1658873749.2057848-168775-41372090899511/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-1658873749.2057848-168775-41372090899511/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-1658873750.3604517-168836-182297574093889/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-1658873750.3604517-168836-182297574093889/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-1658873755.3975952-168951-13710696649011/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-1658873755.3975952-168951-13710696649011/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.096) 0:02:27.917 ********** skipping: [/cache/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/outputs/elasticsearch/main.yml:36 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.133) 0:02:28.050 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.057) 0:02:28.108 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.049) 0:02:28.158 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.055) 0:02:28.213 ********** TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.043) 0:02:28.257 ********** skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.067) 0:02:28.325 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.059) 0:02:28.384 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.058) 0:02:28.443 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:15:56 +0000 (0:00:00.054) 0:02:28.497 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:14:59 UTC", "ActiveEnterTimestampMonotonic": "948897492", "ActiveExitTimestamp": "Tue 2022-07-26 22:14:58 UTC", "ActiveExitTimestampMonotonic": "948513534", "ActiveState": "active", "After": "system.slice basic.target sysinit.target network.target network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:14:59 UTC", "AssertTimestampMonotonic": "948892820", "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 22:14:59 UTC", "ConditionTimestampMonotonic": "948892820", "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": "136266", "ExecMainStartTimestamp": "Tue 2022-07-26 22:14:59 UTC", "ExecMainStartTimestampMonotonic": "948893745", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:14:59 UTC] ; stop_time=[n/a] ; pid=136266 ; 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 22:14:59 UTC", "InactiveEnterTimestampMonotonic": "948892128", "InactiveExitTimestamp": "Tue 2022-07-26 22:14:59 UTC", "InactiveExitTimestampMonotonic": "948893789", "InvocationID": "0ddde67ebd93467385b5299084ebe413", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "136266", "MemoryAccounting": "yes", "MemoryCurrent": "5369856", "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 22:14:59 UTC", "StateChangeTimestampMonotonic": "948897492", "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": "11149", "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 22:14:59 UTC", "WatchdogTimestampMonotonic": "948897491", "WatchdogUSec": "0" } } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:15:57 +0000 (0:00:00.533) 0:02:29.030 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:15:57 +0000 (0:00:00.098) 0:02:29.129 ********** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 META: role_complete for /cache/centos-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:265 Tuesday 26 July 2022 22:15:57 +0000 (0:00:00.079) 0:02:29.208 ********** RUNNING HANDLER [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:15:57 +0000 (0:00:00.000) 0:02:29.208 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:14:59 UTC", "ActiveEnterTimestampMonotonic": "948897492", "ActiveExitTimestamp": "Tue 2022-07-26 22:14:58 UTC", "ActiveExitTimestampMonotonic": "948513534", "ActiveState": "active", "After": "system.slice basic.target sysinit.target network.target network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:14:59 UTC", "AssertTimestampMonotonic": "948892820", "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 22:14:59 UTC", "ConditionTimestampMonotonic": "948892820", "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": "136266", "ExecMainStartTimestamp": "Tue 2022-07-26 22:14:59 UTC", "ExecMainStartTimestampMonotonic": "948893745", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:14:59 UTC] ; stop_time=[n/a] ; pid=136266 ; 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 22:14:59 UTC", "InactiveEnterTimestampMonotonic": "948892128", "InactiveExitTimestamp": "Tue 2022-07-26 22:14:59 UTC", "InactiveExitTimestampMonotonic": "948893789", "InvocationID": "0ddde67ebd93467385b5299084ebe413", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "136266", "MemoryAccounting": "yes", "MemoryCurrent": "5365760", "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 22:14:59 UTC", "StateChangeTimestampMonotonic": "948897492", "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": "11149", "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 22:14:59 UTC", "WatchdogTimestampMonotonic": "948897491", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:269 Tuesday 26 July 2022 22:15:58 +0000 (0:00:01.009) 0:02:30.218 ********** included: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml for /cache/centos-8.qcow2 TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:15:58 +0000 (0:00:00.064) 0:02:30.282 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658873757.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658873706.7767158, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4195555, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873706.5057158, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "796708099", "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/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:15:58 +0000 (0:00:00.376) 0:02:30.659 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 18, "files": [ { "atime": 1658873111.728716, "ctime": 1658873079.5197158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 13086862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1639112781.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": 1658873757.991716, "ctime": 1658873707.7247157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16777505, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873707.4577157, "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": 1658873757.991716, "ctime": 1658873708.422716, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 4194445, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873708.1577158, "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": 1658873757.991716, "ctime": 1658873710.0627158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16777506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873709.8007157, "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": 1658873722.2167158, "ctime": 1658873714.0717158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20974092, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873713.8027158, "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": 1658873722.840716, "ctime": 1658873714.7677157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8421576, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873714.4987159, "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": 1658873723.455716, "ctime": 1658873715.4577157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20974093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873715.182716, "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": 1658873724.0977159, "ctime": 1658873716.126716, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8421577, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873715.8727157, "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": 1658873724.7127159, "ctime": 1658873716.8117158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20974094, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873716.5387158, "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": 1658873757.991716, "ctime": 1658873717.9087157, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8421578, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873717.6507158, "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": 1658873757.991716, "ctime": 1658873726.0787158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8421579, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873725.817716, "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": 1658873757.991716, "ctime": 1658873734.3687158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8421580, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873734.0927157, "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": 1658873757.991716, "ctime": 1658873744.0757158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16777508, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873743.8057158, "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": 1658873757.991716, "ctime": 1658873745.1907158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 4194448, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873744.9177158, "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": 1658873753.567716, "ctime": 1658873748.705716, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 19205, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873748.442716, "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": 1658873754.2027159, "ctime": 1658873749.3967159, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12598821, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658873749.1257157, "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": 1658873757.991716, "ctime": 1658873750.5487158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 19208, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658873750.2637157, "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": 1658873757.991716, "ctime": 1658873755.6087158, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20974095, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658873755.3287158, "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/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:15:59 +0000 (0:00:00.411) 0:02:31.070 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:15:59 +0000 (0:00:00.042) 0:02:31.112 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:15:59 +0000 (0:00:00.065) 0:02:31.178 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:15:59 +0000 (0:00:00.042) 0:02:31.220 ********** ok: [/cache/centos-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": 1658873757.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1658873717.9087157, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8421578, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873717.6507158, "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": "3641571823", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658873757.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "ctime": 1658873726.0787158, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8421579, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873725.817716, "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": "2957572805", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658873757.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "ctime": 1658873734.3687158, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8421580, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873734.0927157, "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": "3014255205", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpvqwhul7j/tests/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:16:00 +0000 (0:00:01.120) 0:02:32.340 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:280 Tuesday 26 July 2022 22:16:00 +0000 (0:00:00.034) 0:02:32.374 ********** ok: [/cache/centos-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": 1658873757.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1658873717.9087157, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8421578, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873717.6507158, "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": "3641571823", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658873757.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "ctime": 1658873726.0787158, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8421579, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873725.817716, "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": "2957572805", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658873757.991716, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "ctime": 1658873734.3687158, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8421580, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658873734.0927157, "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": "3014255205", "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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:291 Tuesday 26 July 2022 22:16:01 +0000 (0:00:01.120) 0:02:33.495 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:297 Tuesday 26 July 2022 22:16:02 +0000 (0:00:00.374) 0:02:33.870 ********** ok: [/cache/centos-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.002884", "end": "2022-07-26 22:16:02.040223", "rc": 0, "start": "2022-07-26 22:16:02.037339" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:303 Tuesday 26 July 2022 22:16:02 +0000 (0:00:00.382) 0:02:34.252 ********** ok: [/cache/centos-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.004523", "end": "2022-07-26 22:16:03.424990", "rc": 0, "start": "2022-07-26 22:16:02.420467" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:310 Tuesday 26 July 2022 22:16:03 +0000 (0:00:01.383) 0:02:35.636 ********** ok: [/cache/centos-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.002853", "end": "2022-07-26 22:16:03.814235", "rc": 0, "start": "2022-07-26 22:16:03.811382" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:317 Tuesday 26 July 2022 22:16:04 +0000 (0:00:00.387) 0:02:36.023 ********** ok: [/cache/centos-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.003082", "end": "2022-07-26 22:16:04.249737", "rc": 0, "start": "2022-07-26 22:16:04.246655" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:324 Tuesday 26 July 2022 22:16:04 +0000 (0:00:00.433) 0:02:36.456 ********** ok: [/cache/centos-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.002796", "end": "2022-07-26 22:16:04.623999", "rc": 0, "start": "2022-07-26 22:16:04.621203" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:331 Tuesday 26 July 2022 22:16:05 +0000 (0:00:00.392) 0:02:36.848 ********** ok: [/cache/centos-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.003845", "end": "2022-07-26 22:16:05.024742", "rc": 0, "start": "2022-07-26 22:16:05.020897" } 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/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:338 Tuesday 26 July 2022 22:16:05 +0000 (0:00:00.385) 0:02:37.234 ********** ok: [/cache/centos-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.002992", "end": "2022-07-26 22:16:05.434867", "item": "dynSearchIndex=.on.", "rc": 0, "start": "2022-07-26 22:16:05.431875" } STDOUT: dynSearchIndex="on" ok: [/cache/centos-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:01.003604", "end": "2022-07-26 22:16:06.783889", "item": "bulkmode=.on.", "rc": 0, "start": "2022-07-26 22:16:05.780285" } STDOUT: bulkmode="on" ok: [/cache/centos-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.003997", "end": "2022-07-26 22:16:08.139599", "item": "dynbulkid=.on.", "rc": 0, "start": "2022-07-26 22:16:07.135602" } STDOUT: dynbulkid="on" ok: [/cache/centos-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.003101", "end": "2022-07-26 22:16:08.486068", "item": "allowUnsignedCerts=.off.", "rc": 0, "start": "2022-07-26 22:16:08.482967" } STDOUT: allowUnsignedCerts="off" ok: [/cache/centos-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.003362", "end": "2022-07-26 22:16:08.845264", "item": "usehttps=.on.", "rc": 0, "start": "2022-07-26 22:16:08.841902" } STDOUT: usehttps="on" ok: [/cache/centos-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.002845", "end": "2022-07-26 22:16:09.204789", "item": "retryfailures=.on.", "rc": 0, "start": "2022-07-26 22:16:09.201944" } STDOUT: retryfailures="on" TASK [Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:349 Tuesday 26 July 2022 22:16:09 +0000 (0:00:04.180) 0:02:41.414 ********** ok: [/cache/centos-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.002554", "end": "2022-07-26 22:16:09.584878", "item": "dynSearchIndex=.off.", "rc": 0, "start": "2022-07-26 22:16:09.582324" } STDOUT: dynSearchIndex="off" ok: [/cache/centos-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:01.004741", "end": "2022-07-26 22:16:10.933862", "item": "bulkmode=.off.", "rc": 0, "start": "2022-07-26 22:16:09.929121" } STDOUT: bulkmode="off" ok: [/cache/centos-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.003180", "end": "2022-07-26 22:16:11.288310", "item": "dynbulkid=.off.", "rc": 0, "start": "2022-07-26 22:16:11.285130" } STDOUT: dynbulkid="off" ok: [/cache/centos-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.002667", "end": "2022-07-26 22:16:11.681804", "item": "allowUnsignedCerts=.on.", "rc": 0, "start": "2022-07-26 22:16:11.679137" } STDOUT: allowUnsignedCerts="on" ok: [/cache/centos-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.002726", "end": "2022-07-26 22:16:12.024557", "item": "usehttps=.off.", "rc": 0, "start": "2022-07-26 22:16:12.021831" } STDOUT: usehttps="off" ok: [/cache/centos-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.003836", "end": "2022-07-26 22:16:12.372229", "item": "retryfailures=.off.", "rc": 0, "start": "2022-07-26 22:16:12.368393" } STDOUT: retryfailures="off" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:360 Tuesday 26 July 2022 22:16:12 +0000 (0:00:03.169) 0:02:44.584 ********** ok: [/cache/centos-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.002722", "end": "2022-07-26 22:16:12.768931", "rc": 0, "start": "2022-07-26 22:16:12.766209" } STDOUT: server=["logging-es0", "logging-es1"] TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:366 Tuesday 26 July 2022 22:16:13 +0000 (0:00:00.394) 0:02:44.979 ********** ok: [/cache/centos-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.003784", "end": "2022-07-26 22:16:13.177736", "rc": 0, "start": "2022-07-26 22:16:13.173952" } STDOUT: server=["logging-es-ops0", "logging-es-ops1"] TASK [END TEST CASE 1; Ensure basic ovirt configuration works] ***************** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:372 Tuesday 26 July 2022 22:16:13 +0000 (0:00:00.409) 0:02:45.389 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:16:13 +0000 (0:00:00.112) 0:02:45.501 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:16:13 +0000 (0:00:00.052) 0:02:45.554 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:16:13 +0000 (0:00:00.062) 0:02:45.616 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:16:13 +0000 (0:00:00.060) 0:02:45.676 ********** TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:16:13 +0000 (0:00:00.030) 0:02:45.707 ********** TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:16:13 +0000 (0:00:00.029) 0:02:45.736 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:16:14 +0000 (0:00:00.053) 0:02:45.789 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:16:14 +0000 (0:00:00.049) 0:02:45.839 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:16:14 +0000 (0:00:00.051) 0:02:45.891 ********** skipping: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:16:14 +0000 (0:00:00.048) 0:02:45.940 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:16:14 +0000 (0:00:00.052) 0:02:45.993 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:16:14 +0000 (0:00:00.050) 0:02:46.043 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:16:14 +0000 (0:00:00.061) 0:02:46.105 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:16:14 +0000 (0:00:00.053) 0:02:46.158 ********** ok: [/cache/centos-8.qcow2] TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:16:14 +0000 (0:00:00.545) 0:02:46.704 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:16:15 +0000 (0:00:00.134) 0:02:46.839 ********** skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvqwhul7j/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:16:15 +0000 (0:00:00.093) 0:02:46.932 ********** included: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:16:15 +0000 (0:00:00.080) 0:02:47.013 ********** ok: [/cache/centos-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.037339", "end": "2022-07-26 22:16:15.235725", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 22:16:15.198386" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:16:15 +0000 (0:00:00.433) 0:02:47.446 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64", "Removed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64", "Removed: rsyslog-8.2102.0-10.el8.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64" ] } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:16:18 +0000 (0:00:02.711) 0:02:50.157 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-8.2102.0-10.el8.x86_64" ] } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:16:20 +0000 (0:00:02.433) 0:02:52.591 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:16:20 +0000 (0:00:00.042) 0:02:52.633 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "0.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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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": "6.el8", "source": "rpm", "version": "9.11.26" } ], "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": "82.el8", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "centos-gpg-keys": [ { "arch": "noarch", "epoch": 1, "name": "centos-gpg-keys", "release": "4.el8", "source": "rpm", "version": "8" } ], "centos-logos": [ { "arch": "x86_64", "epoch": null, "name": "centos-logos", "release": "2.el8", "source": "rpm", "version": "85.8" } ], "centos-stream-release": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-release", "release": "1.el8", "source": "rpm", "version": "8.6" } ], "centos-stream-repos": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-repos", "release": "4.el8", "source": "rpm", "version": "8" } ], "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": "11.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": "260" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "260" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "260" } ], "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": "4.el8", "source": "rpm", "version": "2.3.3" } ], "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": "5.el8", "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" } ], "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": "2.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "2.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "45.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": "1.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "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": "4.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": "12.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "2.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": "8.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": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "184.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" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5ccc5b19", "source": "rpm", "version": "8483c65d" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "9.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": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "106.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": "7.el8.0.1", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.11.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": "6.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "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": "1.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "8.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": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "67.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": "20.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": "1.el8", "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": "28.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "2.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "5.el8", "source": "rpm", "version": "2.26" } ], "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": "2.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": "5.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": "28.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": "7.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": "7.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" } ], "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": "28.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": "47.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" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "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" } ], "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": "6.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": "28.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": "2.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "7.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": "24.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": "28.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": "11.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" } ], "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": "20210608" } ], "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" } ], "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": "47.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": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "5.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "5.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": "15.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": "3.el8", "source": "rpm", "version": "0.80" } ], "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": "1.el8", "source": "rpm", "version": "0.38.4" } ], "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": "18.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "18.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "12.el8", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "12.el8", "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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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-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-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "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": "9.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "5.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-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": "5.el8", "source": "rpm", "version": "0.63.0" } ], "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": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "11.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-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "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": "358.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": "18.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": "21.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-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.24" } ], "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": "5.module_el8.6.0+1040+0ae94936", "source": "rpm", "version": "6.1.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" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "4.git.b2b7934e.el8", "source": "rpm", "version": "6.14" } ], "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": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "21.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": "10.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": "86.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "86.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": "1.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" } ], "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": "11.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "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": "55.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "55.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "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": "1.el8", "source": "rpm", "version": "2.16.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2021e" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "28.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.3", "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": "5.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "17.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:16:22 +0000 (0:00:01.206) 0:02:53.839 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:16:22 +0000 (0:00:00.048) 0:02:53.888 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:16:22 +0000 (0:00:00.035) 0:02:53.923 ********** ok: [/cache/centos-8.qcow2] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:16:22 +0000 (0:00:00.050) 0:02:53.974 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:16:22 +0000 (0:00:00.043) 0:02:54.018 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:16:22 +0000 (0:00:00.417) 0:02:54.435 ********** ok: [/cache/centos-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/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:16:23 +0000 (0:00:00.397) 0:02:54.832 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:16:23 +0000 (0:00:00.401) 0:02:55.234 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1653908735.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658873779.8327157, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1653908735.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "825739501", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:16:23 +0000 (0:00:00.398) 0:02:55.632 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:16:23 +0000 (0:00:00.048) 0:02:55.681 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:16:24 +0000 (0:00:00.155) 0:02:55.837 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:16:24 +0000 (0:00:00.062) 0:02:55.900 ********** ok: [/cache/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:16:24 +0000 (0:00:00.058) 0:02:55.958 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:16:24 +0000 (0:00:00.063) 0:02:56.022 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:16:24 +0000 (0:00:00.030) 0:02:56.053 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:16:24 +0000 (0:00:00.046) 0:02:56.099 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:16:24 +0000 (0:00:00.027) 0:02:56.127 ********** TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:16:24 +0000 (0:00:00.027) 0:02:56.154 ********** ok: [/cache/centos-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.109928", "end": "2022-07-26 22:16:24.451545", "failed_when_result": false, "rc": 0, "start": "2022-07-26 22:16:24.341617" } 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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:16:24 +0000 (0:00:00.507) 0:02:56.662 ********** changed: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-8.qcow2 TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:16:31 +0000 (0:00:06.271) 0:03:02.934 ********** TASK [/tmp/tmpvqwhul7j/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/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:16:31 +0000 (0:00:00.042) 0:03:02.976 ********** skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:16:31 +0000 (0:00:00.133) 0:03:03.110 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:16:31 +0000 (0:00:00.047) 0:03:03.158 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:16:31 +0000 (0:00:00.046) 0:03:03.204 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:16:31 +0000 (0:00:00.051) 0:03:03.255 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target system.slice sysinit.target network-online.target basic.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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "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": "11149", "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/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:16:32 +0000 (0:00:00.576) 0:03:03.831 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:16:32 +0000 (0:00:00.047) 0:03:03.879 ********** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 META: role_complete for /cache/centos-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:380 Tuesday 26 July 2022 22:16:32 +0000 (0:00:00.081) 0:03:03.960 ********** RUNNING HANDLER [/tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpvqwhul7j/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:16:32 +0000 (0:00:00.000) 0:03:03.960 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:16:31 UTC", "ActiveEnterTimestampMonotonic": "1041263238", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice sysinit.target network-online.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:16:31 UTC", "AssertTimestampMonotonic": "1041257016", "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 22:16:31 UTC", "ConditionTimestampMonotonic": "1041257016", "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": "149558", "ExecMainStartTimestamp": "Tue 2022-07-26 22:16:31 UTC", "ExecMainStartTimestampMonotonic": "1041258358", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:16:31 UTC] ; stop_time=[n/a] ; pid=149558 ; 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 22:16:31 UTC", "InactiveExitTimestampMonotonic": "1041258426", "InvocationID": "2524ab49fc28440fb982e468a2c5b303", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "149558", "MemoryAccounting": "yes", "MemoryCurrent": "1122304", "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 22:16:31 UTC", "StateChangeTimestampMonotonic": "1041263238", "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": "11149", "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 22:16:31 UTC", "WatchdogTimestampMonotonic": "1041263236", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=282 changed=47 unreachable=0 failed=0 skipped=180 rescued=0 ignored=0 Tuesday 26 July 2022 22:16:33 +0000 (0:00:01.021) 0:03:04.982 ********** =============================================================================== /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 6.35s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:257 ------------------------ /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 6.27s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:257 ------------------------ Check default config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" --- 4.18s /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:338 ---------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd --- 3.79s /tmp/tmpvqwhul7j/roles/rsyslog/handlers/main.yml:2 ---------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.57s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.47s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.28s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.26s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.26s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.26s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.22s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.18s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:13 ---------------------------- Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" --- 3.17s /tmp/tmpvqwhul7j/tests/tests_ovirt_elasticsearch.yml:349 ---------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to --- 3.04s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/inputs/ovirt/main.yml:33 ----------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 2.77s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/deploy.yml:4 ----------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 2.71s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:23 ------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 2.69s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:23 ------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 2.45s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:33 ------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 2.43s /tmp/tmpvqwhul7j/roles/rsyslog/tasks/main_core.yml:33 ------------------------- /tmp/tmpvqwhul7j/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 2.26s /tmp/tmpvqwhul7j/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/tmp0v9ep7pi 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Tuesday 26 July 2022 22:37:16 +0000 (0:00:00.022) 0:00:00.022 ********** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.212535", "end": "2022-07-26 22:37:16.599724", "rc": 0, "start": "2022-07-26 22:37:16.387189" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 26 July 2022 22:37:17 +0000 (0:00:00.800) 0:00:00.823 ********** =============================================================================== Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_ovirt_elasticsearch.yml **************************************** 1 plays in /tmp/tmp81pyhz7o/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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:2 Tuesday 26 July 2022 22:37:17 +0000 (0:00:00.026) 0:00:00.849 ********** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [TEST CASE 0; Ensure basic ovirt default configuration works] ************* task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:26 Tuesday 26 July 2022 22:37:18 +0000 (0:00:01.051) 0:00:01.901 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.048) 0:00:01.950 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.037) 0:00:01.987 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.051) 0:00:02.038 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.048) 0:00:02.087 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.056) 0:00:02.144 ********** skipping: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.056) 0:00:02.200 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.038) 0:00:02.239 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 22:37:18 +0000 (0:00:00.038) 0:00:02.278 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.039) 0:00:02.317 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.037) 0:00:02.355 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.037) 0:00:02.393 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.037) 0:00:02.431 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.034) 0:00:02.466 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.029) 0:00:02.495 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.525) 0:00:03.021 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.056) 0:00:03.078 ********** skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.081) 0:00:03.159 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:37:19 +0000 (0:00:00.122) 0:00:03.282 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:37:20 +0000 (0:00:00.040) 0:00:03.323 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 22:37:20 +0000 (0:00:00.031) 0:00:03.354 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 22:37:22 +0000 (0:00:02.258) 0:00:05.613 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 22:37:22 +0000 (0:00:00.031) 0:00:05.645 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "0.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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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": "6.el8", "source": "rpm", "version": "9.11.26" } ], "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": "82.el8", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "centos-gpg-keys": [ { "arch": "noarch", "epoch": 1, "name": "centos-gpg-keys", "release": "4.el8", "source": "rpm", "version": "8" } ], "centos-logos": [ { "arch": "x86_64", "epoch": null, "name": "centos-logos", "release": "2.el8", "source": "rpm", "version": "85.8" } ], "centos-stream-release": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-release", "release": "1.el8", "source": "rpm", "version": "8.6" } ], "centos-stream-repos": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-repos", "release": "4.el8", "source": "rpm", "version": "8" } ], "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": "11.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": "260" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "260" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "260" } ], "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": "4.el8", "source": "rpm", "version": "2.3.3" } ], "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": "5.el8", "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" } ], "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": "2.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "2.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "45.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": "1.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "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": "4.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": "12.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "2.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": "8.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": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "184.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" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5ccc5b19", "source": "rpm", "version": "8483c65d" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "9.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": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "106.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": "7.el8.0.1", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.11.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": "6.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "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": "1.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "8.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": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "67.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": "20.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": "1.el8", "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": "28.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "2.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "5.el8", "source": "rpm", "version": "2.26" } ], "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": "2.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": "5.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": "28.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": "7.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": "7.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" } ], "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": "28.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": "47.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" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "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" } ], "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": "6.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": "28.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": "2.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "7.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": "24.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": "28.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": "11.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" } ], "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": "20210608" } ], "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" } ], "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": "47.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": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "5.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "5.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": "15.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": "3.el8", "source": "rpm", "version": "0.80" } ], "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": "1.el8", "source": "rpm", "version": "0.38.4" } ], "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": "18.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "18.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "12.el8", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "12.el8", "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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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-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-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "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": "9.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "5.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-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": "5.el8", "source": "rpm", "version": "0.63.0" } ], "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": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "11.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-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "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": "358.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": "18.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": "21.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-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.24" } ], "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": "5.module_el8.6.0+1040+0ae94936", "source": "rpm", "version": "6.1.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" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "4.git.b2b7934e.el8", "source": "rpm", "version": "6.14" } ], "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": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "21.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": "10.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": "86.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "86.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": "1.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" } ], "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": "11.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "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": "55.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "55.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "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": "1.el8", "source": "rpm", "version": "2.16.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2021e" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "28.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.3", "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": "5.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "17.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 22:37:23 +0000 (0:00:01.431) 0:00:07.076 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 22:37:23 +0000 (0:00:00.049) 0:00:07.126 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 22:37:23 +0000 (0:00:00.036) 0:00:07.162 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 22:37:23 +0000 (0:00:00.050) 0:00:07.212 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 22:37:23 +0000 (0:00:00.043) 0:00:07.256 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 22:37:24 +0000 (0:00:00.510) 0:00:07.766 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 22:37:24 +0000 (0:00:00.415) 0:00:08.182 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:37:25 +0000 (0:00:00.414) 0:00:08.596 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658875015.8761506, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658875012.0841508, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 19233, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1653908735.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "1497411921", "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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 22:37:25 +0000 (0:00:00.555) 0:00:09.151 ********** NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/centos-8.qcow2 changed: [/cache/centos-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-1658875045.97082-202419-132231507220454/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 22:37:26 +0000 (0:00:00.872) 0:00:10.024 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 22:37:26 +0000 (0:00:00.102) 0:00:10.127 ********** changed: [/cache/centos-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-1658875046.9283776-202449-50214252786422/source", "state": "file", "uid": 0 } skipping: [/cache/centos-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/centos-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-1658875047.6347747-202449-110548328316799/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 22:37:28 +0000 (0:00:01.467) 0:00:11.594 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 22:37:28 +0000 (0:00:00.059) 0:00:11.653 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 22:37:28 +0000 (0:00:00.058) 0:00:11.712 ********** ok: [/cache/centos-8.qcow2] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 22:37:28 +0000 (0:00:00.152) 0:00:11.864 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for /cache/centos-8.qcow2 => (item={'name': 'basic_input', 'type': 'basics'}) included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-8.qcow2 => (item={'name': 'ovirt_collectd_input', 'type': 'ovirt', 'subtype': 'collectd'}) included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-8.qcow2 => (item={'name': 'ovirt_engine_input', 'type': 'ovirt', 'subtype': 'engine'}) included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-8.qcow2 => (item={'name': 'ovirt_vdsm_input', 'type': 'ovirt', 'subtype': 'vdsm'}) included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:37:28 +0000 (0:00:00.169) 0:00:12.033 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:28 +0000 (0:00:00.070) 0:00:12.104 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:28 +0000 (0:00:00.044) 0:00:12.149 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:28 +0000 (0:00:00.043) 0:00:12.192 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:28 +0000 (0:00:00.062) 0:00:12.255 ********** 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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:37:29 +0000 (0:00:00.044) 0:00:12.300 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:29 +0000 (0:00:00.073) 0:00:12.373 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:29 +0000 (0:00:00.043) 0:00:12.417 ********** changed: [/cache/centos-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-1658875049.3008235-202524-16633393694947/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:29 +0000 (0:00:00.855) 0:00:13.272 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:30 +0000 (0:00:00.061) 0:00:13.334 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:37:30 +0000 (0:00:00.179) 0:00:13.514 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:37:30 +0000 (0:00:00.068) 0:00:13.583 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:37:30 +0000 (0:00:00.633) 0:00:14.216 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:37:31 +0000 (0:00:00.098) 0:00:14.315 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:31 +0000 (0:00:00.071) 0:00:14.387 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: liblognorm-2.0.5-2.el8.x86_64", "Installed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64", "Installed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:34 +0000 (0:00:02.902) 0:00:17.290 ********** changed: [/cache/centos-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-1658875054.093924-202594-216443471487684/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658875054.8199308-202594-109488527805591/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658875055.5572205-202594-98355956965247/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658875056.2698472-202594-153419470176824/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658875056.9878278-202594-227904902926475/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/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:03.650) 0:00:20.940 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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/tmp0v9ep7pi/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.105) 0:00:21.045 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:37:37 +0000 (0:00:00.119) 0:00:21.165 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/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:00:21.243 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:38 +0000 (0:00:00.047) 0:00:21.290 ********** changed: [/cache/centos-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-1658875058.1439476-202730-220088622731740/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/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.803) 0:00:22.094 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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/tmp0v9ep7pi/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.067) 0:00:22.161 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:37:38 +0000 (0:00:00.109) 0:00:22.270 ********** changed: [/cache/centos-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.717803", "end": "2022-07-26 22:37:41.164070", "rc": 0, "start": "2022-07-26 22:37:38.446267" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:37:42 +0000 (0:00:03.134) 0:00:25.404 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:37:42 +0000 (0:00:00.070) 0:00:25.475 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:37:42 +0000 (0:00:00.590) 0:00:26.065 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:37:42 +0000 (0:00:00.095) 0:00:26.160 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/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.070) 0:00:26.231 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:44 +0000 (0:00:01.912) 0:00:28.143 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/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:03.347) 0:00:31.491 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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/tmp0v9ep7pi/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.143) 0:00:31.635 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.081) 0:00:31.716 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.078) 0:00:31.795 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:48 +0000 (0:00:00.045) 0:00:31.841 ********** changed: [/cache/centos-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-1658875068.7013972-202932-228214663856291/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:49 +0000 (0:00:00.814) 0:00:32.655 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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-1658875068.7013972-202932-228214663856291/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-1658875068.7013972-202932-228214663856291/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:49 +0000 (0:00:00.073) 0:00:32.729 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:37:49 +0000 (0:00:00.115) 0:00:32.844 ********** changed: [/cache/centos-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.682491", "end": "2022-07-26 22:37:49.694080", "rc": 0, "start": "2022-07-26 22:37:49.011589" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:37:50 +0000 (0:00:01.111) 0:00:33.956 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:37:50 +0000 (0:00:00.068) 0:00:34.025 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:37:51 +0000 (0:00:00.577) 0:00:34.603 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:37:51 +0000 (0:00:00.100) 0:00:34.703 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:51 +0000 (0:00:00.074) 0:00:34.777 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:53 +0000 (0:00:01.937) 0:00:36.714 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:56 +0000 (0:00:03.333) 0:00:40.048 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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-1658875068.7013972-202932-228214663856291/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-1658875068.7013972-202932-228214663856291/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:56 +0000 (0:00:00.078) 0:00:40.126 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:37:56 +0000 (0:00:00.080) 0:00:40.206 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:57 +0000 (0:00:00.088) 0:00:40.295 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:37:57 +0000 (0:00:00.046) 0:00:40.342 ********** changed: [/cache/centos-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-1658875077.2098186-203129-218603592665476/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:37:57 +0000 (0:00:00.849) 0:00:41.191 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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-1658875068.7013972-202932-228214663856291/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-1658875068.7013972-202932-228214663856291/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-1658875077.2098186-203129-218603592665476/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-1658875077.2098186-203129-218603592665476/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:37:57 +0000 (0:00:00.080) 0:00:41.272 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:37:58 +0000 (0:00:00.111) 0:00:41.384 ********** changed: [/cache/centos-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.645471", "end": "2022-07-26 22:37:58.208626", "rc": 0, "start": "2022-07-26 22:37:57.563155" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:37:59 +0000 (0:00:01.057) 0:00:42.441 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:37:59 +0000 (0:00:00.069) 0:00:42.511 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:37:59 +0000 (0:00:00.576) 0:00:43.087 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:37:59 +0000 (0:00:00.097) 0:00:43.184 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:37:59 +0000 (0:00:00.071) 0:00:43.256 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:38:01 +0000 (0:00:01.849) 0:00:45.105 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:38:05 +0000 (0:00:03.374) 0:00:48.480 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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-1658875068.7013972-202932-228214663856291/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-1658875068.7013972-202932-228214663856291/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-1658875077.2098186-203129-218603592665476/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-1658875077.2098186-203129-218603592665476/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:38:05 +0000 (0:00:00.089) 0:00:48.570 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:38:05 +0000 (0:00:00.106) 0:00:48.677 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:38:05 +0000 (0:00:00.052) 0:00:48.729 ********** changed: [/cache/centos-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.663160", "end": "2022-07-26 22:38:05.572661", "rc": 0, "start": "2022-07-26 22:38:04.909501" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 22:38:06 +0000 (0:00:01.078) 0:00:49.807 ********** ok: [/cache/centos-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/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.128) 0:00:49.936 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/centos-8.qcow2 => (item={'name': 'default_files', 'type': 'files'}) included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.110) 0:00:50.046 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.072) 0:00:50.119 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:38:06 +0000 (0:00:00.047) 0:00:50.166 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:38:07 +0000 (0:00:00.724) 0:00:50.890 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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-1658875068.7013972-202932-228214663856291/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-1658875068.7013972-202932-228214663856291/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-1658875077.2098186-203129-218603592665476/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-1658875077.2098186-203129-218603592665476/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:38:07 +0000 (0:00:00.086) 0:00:50.977 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 22:38:07 +0000 (0:00:00.051) 0:00:51.029 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:38:07 +0000 (0:00:00.070) 0:00:51.099 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:38:07 +0000 (0:00:00.042) 0:00:51.141 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:38:08 +0000 (0:00:00.745) 0:00:51.887 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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-1658875068.7013972-202932-228214663856291/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-1658875068.7013972-202932-228214663856291/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-1658875077.2098186-203129-218603592665476/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-1658875077.2098186-203129-218603592665476/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:38:08 +0000 (0:00:00.090) 0:00:51.977 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:38:08 +0000 (0:00:00.111) 0:00:52.088 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:38:08 +0000 (0:00:00.073) 0:00:52.161 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:13 Tuesday 26 July 2022 22:38:08 +0000 (0:00:00.056) 0:00:52.217 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:20 Tuesday 26 July 2022 22:38:09 +0000 (0:00:00.096) 0:00:52.314 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:27 Tuesday 26 July 2022 22:38:09 +0000 (0:00:00.055) 0:00:52.370 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:38:09 +0000 (0:00:00.056) 0:00:52.426 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:38:09 +0000 (0:00:00.051) 0:00:52.477 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:38:09 +0000 (0:00:00.076) 0:00:52.553 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:38:11 +0000 (0:00:02.343) 0:00:54.897 ********** changed: [/cache/centos-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-1658875091.70286-203436-32571160277565/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658875092.4380631-203436-149725091486363/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:38:13 +0000 (0:00:01.507) 0:00:56.404 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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-1658875068.7013972-202932-228214663856291/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-1658875068.7013972-202932-228214663856291/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-1658875077.2098186-203129-218603592665476/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-1658875077.2098186-203129-218603592665476/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-1658875091.70286-203436-32571160277565/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-1658875091.70286-203436-32571160277565/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-1658875092.4380631-203436-149725091486363/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-1658875092.4380631-203436-149725091486363/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:38:13 +0000 (0:00:00.153) 0:00:56.557 ********** skipping: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Tuesday 26 July 2022 22:38:13 +0000 (0:00:00.061) 0:00:56.619 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Tuesday 26 July 2022 22:38:13 +0000 (0:00:00.069) 0:00:56.688 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:8 Tuesday 26 July 2022 22:38:13 +0000 (0:00:00.084) 0:00:56.773 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:17 Tuesday 26 July 2022 22:38:13 +0000 (0:00:00.047) 0:00:56.821 ********** changed: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:36 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.840) 0:00:57.661 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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-1658875068.7013972-202932-228214663856291/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-1658875068.7013972-202932-228214663856291/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-1658875077.2098186-203129-218603592665476/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-1658875077.2098186-203129-218603592665476/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-1658875091.70286-203436-32571160277565/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-1658875091.70286-203436-32571160277565/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-1658875092.4380631-203436-149725091486363/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-1658875092.4380631-203436-149725091486363/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-1658875093.6873255-203499-242337469875073/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-1658875093.6873255-203499-242337469875073/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:40 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.092) 0:00:57.753 ********** skipping: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.115) 0:00:57.869 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.072) 0:00:57.942 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:13 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.053) 0:00:57.995 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:20 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.054) 0:00:58.050 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:27 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.052) 0:00:58.102 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.100) 0:00:58.203 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:38:14 +0000 (0:00:00.056) 0:00:58.259 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:38:15 +0000 (0:00:00.078) 0:00:58.337 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:38:16 +0000 (0:00:01.930) 0:01:00.268 ********** ok: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:38:18 +0000 (0:00:01.391) 0:01:01.659 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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-1658875068.7013972-202932-228214663856291/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-1658875068.7013972-202932-228214663856291/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-1658875077.2098186-203129-218603592665476/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-1658875077.2098186-203129-218603592665476/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-1658875091.70286-203436-32571160277565/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-1658875091.70286-203436-32571160277565/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-1658875092.4380631-203436-149725091486363/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-1658875092.4380631-203436-149725091486363/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-1658875093.6873255-203499-242337469875073/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-1658875093.6873255-203499-242337469875073/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:38:18 +0000 (0:00:00.097) 0:01:01.757 ********** skipping: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Tuesday 26 July 2022 22:38:18 +0000 (0:00:00.061) 0:01:01.819 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Tuesday 26 July 2022 22:38:18 +0000 (0:00:00.053) 0:01:01.872 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:8 Tuesday 26 July 2022 22:38:18 +0000 (0:00:00.114) 0:01:01.987 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:17 Tuesday 26 July 2022 22:38:18 +0000 (0:00:00.047) 0:01:02.034 ********** changed: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:36 Tuesday 26 July 2022 22:38:19 +0000 (0:00:00.820) 0:01:02.855 ********** ok: [/cache/centos-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-1658875046.9283776-202449-50214252786422/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-1658875046.9283776-202449-50214252786422/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-1658875047.6347747-202449-110548328316799/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-1658875047.6347747-202449-110548328316799/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-1658875049.3008235-202524-16633393694947/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-1658875049.3008235-202524-16633393694947/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-1658875054.093924-202594-216443471487684/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-1658875054.093924-202594-216443471487684/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-1658875054.8199308-202594-109488527805591/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-1658875054.8199308-202594-109488527805591/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-1658875055.5572205-202594-98355956965247/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-1658875055.5572205-202594-98355956965247/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-1658875056.2698472-202594-153419470176824/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-1658875056.2698472-202594-153419470176824/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-1658875056.9878278-202594-227904902926475/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-1658875056.9878278-202594-227904902926475/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-1658875058.1439476-202730-220088622731740/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-1658875058.1439476-202730-220088622731740/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-1658875068.7013972-202932-228214663856291/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-1658875068.7013972-202932-228214663856291/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-1658875077.2098186-203129-218603592665476/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-1658875077.2098186-203129-218603592665476/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-1658875091.70286-203436-32571160277565/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-1658875091.70286-203436-32571160277565/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-1658875092.4380631-203436-149725091486363/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-1658875092.4380631-203436-149725091486363/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-1658875093.6873255-203499-242337469875073/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-1658875093.6873255-203499-242337469875073/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-1658875098.9039588-203614-195205984257574/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-1658875098.9039588-203614-195205984257574/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy_nolog.yml:40 Tuesday 26 July 2022 22:38:19 +0000 (0:00:00.099) 0:01:02.955 ********** skipping: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 22:38:19 +0000 (0:00:00.122) 0:01:03.077 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 22:38:19 +0000 (0:00:00.046) 0:01:03.124 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 22:38:19 +0000 (0:00:00.058) 0:01:03.183 ********** 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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 22:38:19 +0000 (0:00:00.042) 0:01:03.226 ********** skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 22:38:20 +0000 (0:00:00.067) 0:01:03.293 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:38:20 +0000 (0:00:00.053) 0:01:03.347 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:38:20 +0000 (0:00:00.051) 0:01:03.398 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 22:38:20 +0000 (0:00:00.054) 0:01:03.453 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:37:02 UTC", "ActiveEnterTimestampMonotonic": "857033013", "ActiveExitTimestamp": "Tue 2022-07-26 22:37:01 UTC", "ActiveExitTimestampMonotonic": "856634630", "ActiveState": "active", "After": "network-online.target sysinit.target system.slice basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:37:02 UTC", "AssertTimestampMonotonic": "857027405", "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 22:37:02 UTC", "ConditionTimestampMonotonic": "857027404", "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": "122594", "ExecMainStartTimestamp": "Tue 2022-07-26 22:37:02 UTC", "ExecMainStartTimestampMonotonic": "857028584", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:37:02 UTC] ; stop_time=[n/a] ; pid=122594 ; 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 22:37:02 UTC", "InactiveEnterTimestampMonotonic": "857026494", "InactiveExitTimestamp": "Tue 2022-07-26 22:37:02 UTC", "InactiveExitTimestampMonotonic": "857028651", "InvocationID": "91a7f728de6b4ac39f6faa3a9a730edf", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "122594", "MemoryAccounting": "yes", "MemoryCurrent": "1216512", "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 22:37:02 UTC", "StateChangeTimestampMonotonic": "857033013", "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": "11149", "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 22:37:02 UTC", "WatchdogTimestampMonotonic": "857033012", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 22:38:21 +0000 (0:00:00.857) 0:01:04.310 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 22:38:21 +0000 (0:00:00.045) 0:01:04.356 ********** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 META: role_complete for /cache/centos-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:83 Tuesday 26 July 2022 22:38:21 +0000 (0:00:00.076) 0:01:04.433 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:38:21 +0000 (0:00:00.000) 0:01:04.433 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:37:02 UTC", "ActiveEnterTimestampMonotonic": "857033013", "ActiveExitTimestamp": "Tue 2022-07-26 22:37:01 UTC", "ActiveExitTimestampMonotonic": "856634630", "ActiveState": "active", "After": "network-online.target sysinit.target system.slice basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:37:02 UTC", "AssertTimestampMonotonic": "857027405", "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 22:37:02 UTC", "ConditionTimestampMonotonic": "857027404", "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": "122594", "ExecMainStartTimestamp": "Tue 2022-07-26 22:37:02 UTC", "ExecMainStartTimestampMonotonic": "857028584", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:37:02 UTC] ; stop_time=[n/a] ; pid=122594 ; 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 22:37:02 UTC", "InactiveEnterTimestampMonotonic": "857026494", "InactiveExitTimestamp": "Tue 2022-07-26 22:37:02 UTC", "InactiveExitTimestampMonotonic": "857028651", "InvocationID": "91a7f728de6b4ac39f6faa3a9a730edf", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "122594", "MemoryAccounting": "yes", "MemoryCurrent": "1216512", "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 22:37:02 UTC", "StateChangeTimestampMonotonic": "857033013", "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": "11149", "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 22:37:02 UTC", "WatchdogTimestampMonotonic": "857033012", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:86 Tuesday 26 July 2022 22:38:21 +0000 (0:00:00.819) 0:01:05.252 ********** included: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml for /cache/centos-8.qcow2 TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:38:22 +0000 (0:00:00.059) 0:01:05.311 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658875100.9941506, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658875045.7861507, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 20971747, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875045.4231508, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "1125924739", "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/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:38:22 +0000 (0:00:00.390) 0:01:05.701 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 18, "files": [ { "atime": 1658874521.9911506, "ctime": 1658874489.0831506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 13086862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1639112781.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": 1658875002.7401507, "ctime": 1658874999.3741508, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 4195556, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658874999.1081507, "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": 1658875002.7401507, "ctime": 1658875000.4061506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16777448, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875000.1391506, "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": 1658875100.9941506, "ctime": 1658875046.6451507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8421481, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875046.3841507, "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": 1658875100.9941506, "ctime": 1658875047.3481507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20971749, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875047.0801506, "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": 1658875100.9941506, "ctime": 1658875049.0251508, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8421482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875048.7481506, "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": 1658875064.3561506, "ctime": 1658875053.8301506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20971753, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875053.5511508, "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": 1658875065.0501506, "ctime": 1658875054.5381508, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8421483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875054.2671506, "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": 1658875065.6941507, "ctime": 1658875055.2851508, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20971754, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875055.0131507, "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": 1658875066.3521507, "ctime": 1658875055.9911506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8421484, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875055.7151506, "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": 1658875066.9941506, "ctime": 1658875056.7011507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20971755, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875056.4291506, "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": 1658875100.9941506, "ctime": 1658875057.8511508, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8421485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875057.5851507, "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": 1658875100.9941506, "ctime": 1658875068.4161506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20974088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875068.1501508, "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": 1658875100.9941506, "ctime": 1658875076.9491506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20974089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875076.6751506, "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": 1658875096.4731507, "ctime": 1658875091.4411507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12597336, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875091.1631508, "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": 1658875097.1461506, "ctime": 1658875092.1621506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 218370, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875091.8771508, "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": 1658875100.9941506, "ctime": 1658875093.4021506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12597337, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658875093.1291506, "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": 1658875100.9941506, "ctime": 1658875098.6191506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8423052, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658875098.3441508, "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/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:38:22 +0000 (0:00:00.528) 0:01:06.230 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:38:22 +0000 (0:00:00.042) 0:01:06.272 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:38:23 +0000 (0:00:00.032) 0:01:06.305 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:38:23 +0000 (0:00:00.044) 0:01:06.349 ********** ok: [/cache/centos-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": 1658875100.9941506, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1658875057.8511508, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8421485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875057.5851507, "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": "1004919323", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658875100.9941506, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "ctime": 1658875068.4161506, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 20974088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875068.1501508, "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": "3406075961", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658875100.9941506, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "ctime": 1658875076.9491506, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 20974089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875076.6751506, "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": "4247672191", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:38:24 +0000 (0:00:01.164) 0:01:07.514 ********** skipping: [/cache/centos-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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:97 Tuesday 26 July 2022 22:38:24 +0000 (0:00:00.033) 0:01:07.548 ********** ok: [/cache/centos-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": 1658875100.9941506, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1658875057.8511508, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8421485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875057.5851507, "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": "1004919323", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658875100.9941506, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "29a5e8b574e7e797a480560373ecdf510da1143a", "ctime": 1658875068.4161506, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 20974088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875068.1501508, "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": "3406075961", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658875100.9941506, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9a8ac1b6d31e58b7d7672864a5e4ecc8575aacd", "ctime": 1658875076.9491506, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 20974089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875076.6751506, "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": "4247672191", "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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:107 Tuesday 26 July 2022 22:38:25 +0000 (0:00:01.142) 0:01:08.690 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:113 Tuesday 26 July 2022 22:38:25 +0000 (0:00:00.468) 0:01:09.159 ********** ok: [/cache/centos-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.003896", "end": "2022-07-26 22:38:26.305961", "rc": 0, "start": "2022-07-26 22:38:25.302065" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:119 Tuesday 26 July 2022 22:38:27 +0000 (0:00:01.380) 0:01:10.540 ********** ok: [/cache/centos-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.004774", "end": "2022-07-26 22:38:27.690367", "rc": 0, "start": "2022-07-26 22:38:26.685593" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:125 Tuesday 26 July 2022 22:38:28 +0000 (0:00:01.385) 0:01:11.925 ********** ok: [/cache/centos-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.003150", "end": "2022-07-26 22:38:28.076644", "rc": 0, "start": "2022-07-26 22:38:28.073494" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:131 Tuesday 26 July 2022 22:38:29 +0000 (0:00:00.382) 0:01:12.308 ********** ok: [/cache/centos-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.003844", "end": "2022-07-26 22:38:28.468481", "rc": 0, "start": "2022-07-26 22:38:28.464637" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:137 Tuesday 26 July 2022 22:38:29 +0000 (0:00:00.396) 0:01:12.704 ********** ok: [/cache/centos-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.003616", "end": "2022-07-26 22:38:28.860626", "rc": 0, "start": "2022-07-26 22:38:28.857010" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:143 Tuesday 26 July 2022 22:38:29 +0000 (0:00:00.391) 0:01:13.095 ********** ok: [/cache/centos-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.003366", "end": "2022-07-26 22:38:29.257320", "rc": 0, "start": "2022-07-26 22:38:29.253954" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:149 Tuesday 26 July 2022 22:38:30 +0000 (0:00:00.396) 0:01:13.492 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003048", "end": "2022-07-26 22:38:29.689789", "rc": 0, "start": "2022-07-26 22:38:29.686741" } STDOUT: server="logging-es" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:153 Tuesday 26 July 2022 22:38:30 +0000 (0:00:00.462) 0:01:13.955 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es-ops\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:01.004564", "end": "2022-07-26 22:38:31.118406", "rc": 0, "start": "2022-07-26 22:38:30.113842" } STDOUT: server="logging-es-ops" TASK [Check password is in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:157 Tuesday 26 July 2022 22:38:32 +0000 (0:00:01.400) 0:01:15.356 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "pwd=\"password0\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003101", "end": "2022-07-26 22:38:31.509758", "rc": 0, "start": "2022-07-26 22:38:31.506657" } STDOUT: pwd="password0" TASK [Check pwd= is not in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:161 Tuesday 26 July 2022 22:38:32 +0000 (0:00:00.385) 0:01:15.742 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "/bin/grep", "pwd=", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003103", "end": "2022-07-26 22:38:31.898148", "failed_when_result": false, "rc": 1, "start": "2022-07-26 22:38:31.895045" } MSG: non-zero return code TASK [END TEST CASE 0; Ensure basic ovirt configuration works] ***************** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:167 Tuesday 26 July 2022 22:38:32 +0000 (0:00:00.392) 0:01:16.134 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 22:38:32 +0000 (0:00:00.085) 0:01:16.219 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 22:38:32 +0000 (0:00:00.056) 0:01:16.276 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.161) 0:01:16.437 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.061) 0:01:16.498 ********** TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.032) 0:01:16.530 ********** TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.029) 0:01:16.560 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.063) 0:01:16.623 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.066) 0:01:16.689 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.052) 0:01:16.742 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.048) 0:01:16.791 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.049) 0:01:16.840 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.049) 0:01:16.890 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.051) 0:01:16.941 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:38:33 +0000 (0:00:00.050) 0:01:16.992 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 22:38:34 +0000 (0:00:00.552) 0:01:17.544 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 22:38:34 +0000 (0:00:00.079) 0:01:17.624 ********** skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:38:34 +0000 (0:00:00.094) 0:01:17.718 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:38:34 +0000 (0:00:00.130) 0:01:17.849 ********** ok: [/cache/centos-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.037945", "end": "2022-07-26 22:38:34.068759", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 22:38:34.030814" } 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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:38:35 +0000 (0:00:00.455) 0:01:18.304 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64", "Removed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64", "Removed: rsyslog-8.2102.0-10.el8.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 22:38:38 +0000 (0:00:02.982) 0:01:21.287 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-8.2102.0-10.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 22:38:40 +0000 (0:00:02.535) 0:01:23.822 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 22:38:40 +0000 (0:00:00.043) 0:01:23.866 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "0.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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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": "6.el8", "source": "rpm", "version": "9.11.26" } ], "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": "82.el8", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "centos-gpg-keys": [ { "arch": "noarch", "epoch": 1, "name": "centos-gpg-keys", "release": "4.el8", "source": "rpm", "version": "8" } ], "centos-logos": [ { "arch": "x86_64", "epoch": null, "name": "centos-logos", "release": "2.el8", "source": "rpm", "version": "85.8" } ], "centos-stream-release": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-release", "release": "1.el8", "source": "rpm", "version": "8.6" } ], "centos-stream-repos": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-repos", "release": "4.el8", "source": "rpm", "version": "8" } ], "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": "11.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": "260" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "260" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "260" } ], "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": "4.el8", "source": "rpm", "version": "2.3.3" } ], "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": "5.el8", "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" } ], "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": "2.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "2.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "45.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": "1.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "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": "4.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": "12.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "2.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": "8.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": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "184.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" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5ccc5b19", "source": "rpm", "version": "8483c65d" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "9.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": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "106.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": "7.el8.0.1", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.11.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": "6.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "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": "1.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "8.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": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "67.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": "20.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": "1.el8", "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": "28.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "2.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "5.el8", "source": "rpm", "version": "2.26" } ], "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": "2.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": "5.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": "28.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": "7.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": "7.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" } ], "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": "28.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": "47.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" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "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" } ], "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": "6.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": "28.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": "2.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "7.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": "24.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": "28.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": "11.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" } ], "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": "20210608" } ], "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" } ], "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": "47.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": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "5.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "5.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": "15.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": "3.el8", "source": "rpm", "version": "0.80" } ], "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": "1.el8", "source": "rpm", "version": "0.38.4" } ], "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": "18.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "18.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "12.el8", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "12.el8", "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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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-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-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "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": "9.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "5.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-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": "5.el8", "source": "rpm", "version": "0.63.0" } ], "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": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "11.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-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "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": "358.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": "18.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": "21.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-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.24" } ], "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": "5.module_el8.6.0+1040+0ae94936", "source": "rpm", "version": "6.1.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" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "4.git.b2b7934e.el8", "source": "rpm", "version": "6.14" } ], "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": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "21.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": "10.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": "86.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "86.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": "1.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" } ], "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": "11.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "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": "55.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "55.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "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": "1.el8", "source": "rpm", "version": "2.16.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2021e" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "28.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.3", "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": "5.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "17.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 22:38:41 +0000 (0:00:01.191) 0:01:25.057 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 22:38:41 +0000 (0:00:00.105) 0:01:25.163 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 22:38:41 +0000 (0:00:00.037) 0:01:25.200 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 22:38:41 +0000 (0:00:00.050) 0:01:25.251 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 22:38:42 +0000 (0:00:00.049) 0:01:25.300 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 22:38:42 +0000 (0:00:00.420) 0:01:25.720 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 22:38:42 +0000 (0:00:00.416) 0:01:26.137 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:38:43 +0000 (0:00:00.414) 0:01:26.551 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1653908735.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658875118.9901507, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9456, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1653908735.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "720770104", "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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 22:38:43 +0000 (0:00:00.424) 0:01:26.976 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 22:38:43 +0000 (0:00:00.047) 0:01:27.024 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 22:38:43 +0000 (0:00:00.149) 0:01:27.173 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 22:38:43 +0000 (0:00:00.062) 0:01:27.236 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 22:38:44 +0000 (0:00:00.107) 0:01:27.343 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 22:38:44 +0000 (0:00:00.057) 0:01:27.401 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 22:38:44 +0000 (0:00:00.028) 0:01:27.429 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 22:38:44 +0000 (0:00:00.041) 0:01:27.470 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 22:38:44 +0000 (0:00:00.029) 0:01:27.499 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 22:38:44 +0000 (0:00:00.030) 0:01:27.530 ********** ok: [/cache/centos-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.111386", "end": "2022-07-26 22:38:43.809503", "failed_when_result": false, "rc": 0, "start": "2022-07-26 22:38:43.698117" } 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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 22:38:44 +0000 (0:00:00.512) 0:01:28.043 ********** changed: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 22:38:51 +0000 (0:00:06.389) 0:01:34.432 ********** 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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 22:38:51 +0000 (0:00:00.043) 0:01:34.476 ********** skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 22:38:51 +0000 (0:00:00.066) 0:01:34.542 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:38:51 +0000 (0:00:00.056) 0:01:34.598 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:38:51 +0000 (0:00:00.051) 0:01:34.650 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 22:38:51 +0000 (0:00:00.051) 0:01:34.702 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target network.target basic.target system.slice sysinit.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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "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": "11149", "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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 22:38:51 +0000 (0:00:00.560) 0:01:35.262 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 22:38:52 +0000 (0:00:00.076) 0:01:35.339 ********** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 META: role_complete for /cache/centos-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:175 Tuesday 26 July 2022 22:38:52 +0000 (0:00:00.078) 0:01:35.418 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:38:52 +0000 (0:00:00.000) 0:01:35.418 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:38:51 UTC", "ActiveEnterTimestampMonotonic": "965807051", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target network.target basic.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:38:51 UTC", "AssertTimestampMonotonic": "965800729", "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 22:38:51 UTC", "ConditionTimestampMonotonic": "965800728", "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": "136159", "ExecMainStartTimestamp": "Tue 2022-07-26 22:38:51 UTC", "ExecMainStartTimestampMonotonic": "965802026", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:38:51 UTC] ; stop_time=[n/a] ; pid=136159 ; 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 22:38:51 UTC", "InactiveExitTimestampMonotonic": "965802079", "InvocationID": "ba8bab69e1bc4668995a044209241811", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "136159", "MemoryAccounting": "yes", "MemoryCurrent": "1122304", "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 22:38:51 UTC", "StateChangeTimestampMonotonic": "965807051", "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": "11149", "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 22:38:51 UTC", "WatchdogTimestampMonotonic": "965807049", "WatchdogUSec": "0" } } META: ran handlers TASK [TEST CASE 1; Ensure advanced ovirt configuration works] ****************** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:178 Tuesday 26 July 2022 22:38:53 +0000 (0:00:01.075) 0:01:36.494 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.080) 0:01:36.574 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.050) 0:01:36.625 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.059) 0:01:36.684 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.065) 0:01:36.750 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.070) 0:01:36.820 ********** skipping: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.075) 0:01:36.895 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.048) 0:01:36.944 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.106) 0:01:37.051 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.050) 0:01:37.102 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.049) 0:01:37.151 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.050) 0:01:37.201 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 22:38:53 +0000 (0:00:00.050) 0:01:37.252 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:38:54 +0000 (0:00:00.052) 0:01:37.305 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:38:54 +0000 (0:00:00.050) 0:01:37.355 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 22:38:54 +0000 (0:00:00.567) 0:01:37.923 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 22:38:54 +0000 (0:00:00.094) 0:01:38.018 ********** skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:38:54 +0000 (0:00:00.091) 0:01:38.109 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:38:54 +0000 (0:00:00.093) 0:01:38.203 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:38:54 +0000 (0:00:00.048) 0:01:38.251 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 22:38:55 +0000 (0:00:00.046) 0:01:38.298 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 22:38:56 +0000 (0:00:01.903) 0:01:40.201 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 22:38:56 +0000 (0:00:00.047) 0:01:40.248 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "0.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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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": "6.el8", "source": "rpm", "version": "9.11.26" } ], "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": "82.el8", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "centos-gpg-keys": [ { "arch": "noarch", "epoch": 1, "name": "centos-gpg-keys", "release": "4.el8", "source": "rpm", "version": "8" } ], "centos-logos": [ { "arch": "x86_64", "epoch": null, "name": "centos-logos", "release": "2.el8", "source": "rpm", "version": "85.8" } ], "centos-stream-release": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-release", "release": "1.el8", "source": "rpm", "version": "8.6" } ], "centos-stream-repos": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-repos", "release": "4.el8", "source": "rpm", "version": "8" } ], "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": "11.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": "260" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "260" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "260" } ], "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": "4.el8", "source": "rpm", "version": "2.3.3" } ], "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": "5.el8", "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" } ], "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": "2.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "2.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "45.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": "1.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "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": "4.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": "12.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "2.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": "8.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": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "184.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" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5ccc5b19", "source": "rpm", "version": "8483c65d" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "9.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": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "106.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": "7.el8.0.1", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.11.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": "6.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "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": "1.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "8.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": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "67.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": "20.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": "1.el8", "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": "28.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "2.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "5.el8", "source": "rpm", "version": "2.26" } ], "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": "2.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": "5.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": "28.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": "7.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": "7.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" } ], "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": "28.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": "47.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" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "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" } ], "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": "6.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": "28.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": "2.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "7.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": "24.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": "28.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": "11.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" } ], "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": "20210608" } ], "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" } ], "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": "47.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": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "5.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "5.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": "15.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": "3.el8", "source": "rpm", "version": "0.80" } ], "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": "1.el8", "source": "rpm", "version": "0.38.4" } ], "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": "18.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "18.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "12.el8", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "12.el8", "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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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-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-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "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": "9.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "5.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-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": "5.el8", "source": "rpm", "version": "0.63.0" } ], "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": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "11.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-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "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": "358.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": "18.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": "21.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-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.24" } ], "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": "5.module_el8.6.0+1040+0ae94936", "source": "rpm", "version": "6.1.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" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "4.git.b2b7934e.el8", "source": "rpm", "version": "6.14" } ], "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": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "21.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": "10.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": "86.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "86.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": "1.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" } ], "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": "11.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "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": "55.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "55.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "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": "1.el8", "source": "rpm", "version": "2.16.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2021e" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "28.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.3", "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": "5.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "17.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 22:38:58 +0000 (0:00:01.127) 0:01:41.375 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 22:38:58 +0000 (0:00:00.050) 0:01:41.426 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 22:38:58 +0000 (0:00:00.036) 0:01:41.463 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 22:38:58 +0000 (0:00:00.086) 0:01:41.550 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 22:38:58 +0000 (0:00:00.044) 0:01:41.594 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 22:38:58 +0000 (0:00:00.461) 0:01:42.056 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 22:38:59 +0000 (0:00:00.414) 0:01:42.470 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:38:59 +0000 (0:00:00.410) 0:01:42.881 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658875122.7251506, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658875118.9901507, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9456, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1653908735.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "720770104", "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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 22:39:00 +0000 (0:00:00.416) 0:01:43.297 ********** NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/centos-8.qcow2 changed: [/cache/centos-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-1658875140.0870805-204652-270889229174827/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 22:39:00 +0000 (0:00:00.769) 0:01:44.067 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 22:39:00 +0000 (0:00:00.150) 0:01:44.217 ********** changed: [/cache/centos-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-1658875141.0193937-204682-246827103612642/source", "state": "file", "uid": 0 } skipping: [/cache/centos-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/centos-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-1658875141.7833934-204682-75920084701553/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 22:39:02 +0000 (0:00:01.624) 0:01:45.842 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 22:39:02 +0000 (0:00:00.085) 0:01:45.928 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 22:39:02 +0000 (0:00:00.104) 0:01:46.032 ********** ok: [/cache/centos-8.qcow2] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 22:39:02 +0000 (0:00:00.131) 0:01:46.164 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for /cache/centos-8.qcow2 => (item={'name': 'basic_input', 'type': 'basics'}) included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:39:03 +0000 (0:00:00.137) 0:01:46.302 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:03 +0000 (0:00:00.073) 0:01:46.375 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:03 +0000 (0:00:00.047) 0:01:46.423 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:03 +0000 (0:00:00.042) 0:01:46.465 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:03 +0000 (0:00:00.058) 0:01:46.524 ********** 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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:39:03 +0000 (0:00:00.040) 0:01:46.565 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:03 +0000 (0:00:00.073) 0:01:46.639 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:03 +0000 (0:00:00.047) 0:01:46.686 ********** changed: [/cache/centos-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-1658875143.619098-204757-55954547434678/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:04 +0000 (0:00:00.937) 0:01:47.624 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:04 +0000 (0:00:00.062) 0:01:47.686 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:39:04 +0000 (0:00:00.144) 0:01:47.831 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:39:04 +0000 (0:00:00.072) 0:01:47.904 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:39:05 +0000 (0:00:00.597) 0:01:48.501 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:39:05 +0000 (0:00:00.096) 0:01:48.598 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:05 +0000 (0:00:00.072) 0:01:48.671 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64", "Installed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:07 +0000 (0:00:02.379) 0:01:51.050 ********** changed: [/cache/centos-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-1658875147.8979683-204827-152449911174485/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658875148.5966167-204827-249279971236962/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658875149.3101523-204827-265299862649725/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658875149.993649-204827-171278721990767/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658875150.673404-204827-266227344256970/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:11 +0000 (0:00:03.613) 0:01:54.663 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:11 +0000 (0:00:00.067) 0:01:54.731 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:39:11 +0000 (0:00:00.078) 0:01:54.809 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:11 +0000 (0:00:00.077) 0:01:54.887 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:11 +0000 (0:00:00.049) 0:01:54.936 ********** changed: [/cache/centos-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-1658875151.8405724-204963-248606103706380/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:12 +0000 (0:00:00.873) 0:01:55.809 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:12 +0000 (0:00:00.101) 0:01:55.910 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:39:12 +0000 (0:00:00.144) 0:01:56.055 ********** changed: [/cache/centos-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.695562", "end": "2022-07-26 22:39:12.937818", "rc": 0, "start": "2022-07-26 22:39:12.242256" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:39:13 +0000 (0:00:01.120) 0:01:57.175 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:39:13 +0000 (0:00:00.070) 0:01:57.246 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:39:14 +0000 (0:00:00.587) 0:01:57.834 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:39:14 +0000 (0:00:00.094) 0:01:57.928 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:14 +0000 (0:00:00.070) 0:01:57.999 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:16 +0000 (0:00:01.971) 0:01:59.970 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:19 +0000 (0:00:03.288) 0:02:03.259 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:20 +0000 (0:00:00.074) 0:02:03.333 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:39:20 +0000 (0:00:00.083) 0:02:03.416 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:20 +0000 (0:00:00.080) 0:02:03.497 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:20 +0000 (0:00:00.084) 0:02:03.582 ********** changed: [/cache/centos-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-1658875160.4441166-205160-58627872442807/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:21 +0000 (0:00:00.830) 0:02:04.412 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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-1658875160.4441166-205160-58627872442807/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-1658875160.4441166-205160-58627872442807/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:21 +0000 (0:00:00.073) 0:02:04.486 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:39:21 +0000 (0:00:00.115) 0:02:04.602 ********** changed: [/cache/centos-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.703049", "end": "2022-07-26 22:39:21.501846", "rc": 0, "start": "2022-07-26 22:39:20.798797" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:39:22 +0000 (0:00:01.135) 0:02:05.737 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:39:22 +0000 (0:00:00.069) 0:02:05.807 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:39:23 +0000 (0:00:00.599) 0:02:06.407 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:39:23 +0000 (0:00:00.168) 0:02:06.576 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:23 +0000 (0:00:00.072) 0:02:06.648 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:25 +0000 (0:00:01.842) 0:02:08.491 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:28 +0000 (0:00:03.345) 0:02:11.837 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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-1658875160.4441166-205160-58627872442807/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-1658875160.4441166-205160-58627872442807/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:28 +0000 (0:00:00.081) 0:02:11.918 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:39:28 +0000 (0:00:00.085) 0:02:12.004 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:28 +0000 (0:00:00.079) 0:02:12.083 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:28 +0000 (0:00:00.045) 0:02:12.129 ********** changed: [/cache/centos-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-1658875169.0320141-205357-129797506589471/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:29 +0000 (0:00:00.872) 0:02:13.001 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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-1658875160.4441166-205160-58627872442807/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-1658875160.4441166-205160-58627872442807/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-1658875169.0320141-205357-129797506589471/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-1658875169.0320141-205357-129797506589471/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:29 +0000 (0:00:00.083) 0:02:13.084 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:39:29 +0000 (0:00:00.120) 0:02:13.205 ********** changed: [/cache/centos-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.664953", "end": "2022-07-26 22:39:30.042796", "rc": 0, "start": "2022-07-26 22:39:29.377843" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set ovirt platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:3 Tuesday 26 July 2022 22:39:30 +0000 (0:00:01.076) 0:02:14.281 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:4 Tuesday 26 July 2022 22:39:31 +0000 (0:00:00.070) 0:02:14.352 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/set_vars.yml:11 Tuesday 26 July 2022 22:39:31 +0000 (0:00:00.594) 0:02:14.947 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/CentOS_8.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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:8 Tuesday 26 July 2022 22:39:31 +0000 (0:00:00.136) 0:02:15.083 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:31 +0000 (0:00:00.091) 0:02:15.174 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:33 +0000 (0:00:01.906) 0:02:17.081 ********** ok: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:37 +0000 (0:00:03.363) 0:02:20.444 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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-1658875160.4441166-205160-58627872442807/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-1658875160.4441166-205160-58627872442807/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-1658875169.0320141-205357-129797506589471/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-1658875169.0320141-205357-129797506589471/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:37 +0000 (0:00:00.128) 0:02:20.573 ********** skipping: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:15 Tuesday 26 July 2022 22:39:37 +0000 (0:00:00.085) 0:02:20.658 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/ovirt/main.yml:30 Tuesday 26 July 2022 22:39:37 +0000 (0:00:00.049) 0:02:20.707 ********** changed: [/cache/centos-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.671654", "end": "2022-07-26 22:39:37.587355", "rc": 0, "start": "2022-07-26 22:39:36.915701" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 22:39:38 +0000 (0:00:01.113) 0:02:21.821 ********** ok: [/cache/centos-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/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/centos-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/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 22:39:38 +0000 (0:00:00.098) 0:02:21.919 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/centos-8.qcow2 => (item={'name': 'default_files', 'type': 'files'}) included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:39:38 +0000 (0:00:00.110) 0:02:22.030 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:38 +0000 (0:00:00.074) 0:02:22.104 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:38 +0000 (0:00:00.048) 0:02:22.153 ********** changed: [/cache/centos-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-1658875178.9544237-205576-73075890836552/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:39 +0000 (0:00:00.753) 0:02:22.906 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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-1658875160.4441166-205160-58627872442807/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-1658875160.4441166-205160-58627872442807/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-1658875169.0320141-205357-129797506589471/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-1658875169.0320141-205357-129797506589471/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-1658875178.9544237-205576-73075890836552/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-1658875178.9544237-205576-73075890836552/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:39 +0000 (0:00:00.154) 0:02:23.060 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 22:39:39 +0000 (0:00:00.057) 0:02:23.118 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:39 +0000 (0:00:00.074) 0:02:23.193 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:39 +0000 (0:00:00.046) 0:02:23.240 ********** changed: [/cache/centos-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-1658875180.0983481-205612-8353425176435/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:40 +0000 (0:00:00.820) 0:02:24.060 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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-1658875160.4441166-205160-58627872442807/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-1658875160.4441166-205160-58627872442807/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-1658875169.0320141-205357-129797506589471/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-1658875169.0320141-205357-129797506589471/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-1658875178.9544237-205576-73075890836552/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-1658875178.9544237-205576-73075890836552/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-1658875180.0983481-205612-8353425176435/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-1658875180.0983481-205612-8353425176435/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:40 +0000 (0:00:00.095) 0:02:24.156 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:39:40 +0000 (0:00:00.117) 0:02:24.273 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:39:41 +0000 (0:00:00.071) 0:02:24.344 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:13 Tuesday 26 July 2022 22:39:41 +0000 (0:00:00.052) 0:02:24.397 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:20 Tuesday 26 July 2022 22:39:41 +0000 (0:00:00.056) 0:02:24.453 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:27 Tuesday 26 July 2022 22:39:41 +0000 (0:00:00.055) 0:02:24.508 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:39:41 +0000 (0:00:00.053) 0:02:24.562 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:39:41 +0000 (0:00:00.089) 0:02:24.651 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:41 +0000 (0:00:00.072) 0:02:24.724 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:43 +0000 (0:00:02.268) 0:02:26.993 ********** changed: [/cache/centos-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-1658875183.797693-205674-54685243347622/source", "state": "file", "uid": 0 } changed: [/cache/centos-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-1658875184.497378-205674-2409563527547/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:45 +0000 (0:00:01.468) 0:02:28.461 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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-1658875160.4441166-205160-58627872442807/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-1658875160.4441166-205160-58627872442807/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-1658875169.0320141-205357-129797506589471/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-1658875169.0320141-205357-129797506589471/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-1658875178.9544237-205576-73075890836552/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-1658875178.9544237-205576-73075890836552/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-1658875180.0983481-205612-8353425176435/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-1658875180.0983481-205612-8353425176435/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-1658875183.797693-205674-54685243347622/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-1658875183.797693-205674-54685243347622/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-1658875184.497378-205674-2409563527547/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-1658875184.497378-205674-2409563527547/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:45 +0000 (0:00:00.128) 0:02:28.590 ********** skipping: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Tuesday 26 July 2022 22:39:45 +0000 (0:00:00.062) 0:02:28.653 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:45 +0000 (0:00:00.085) 0:02:28.738 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:45 +0000 (0:00:00.105) 0:02:28.843 ********** changed: [/cache/centos-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-1658875185.7294354-205735-274506530277289/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:46 +0000 (0:00:00.853) 0:02:29.697 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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-1658875160.4441166-205160-58627872442807/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-1658875160.4441166-205160-58627872442807/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-1658875169.0320141-205357-129797506589471/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-1658875169.0320141-205357-129797506589471/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-1658875178.9544237-205576-73075890836552/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-1658875178.9544237-205576-73075890836552/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-1658875180.0983481-205612-8353425176435/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-1658875180.0983481-205612-8353425176435/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-1658875183.797693-205674-54685243347622/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-1658875183.797693-205674-54685243347622/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-1658875184.497378-205674-2409563527547/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-1658875184.497378-205674-2409563527547/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-1658875185.7294354-205735-274506530277289/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-1658875185.7294354-205735-274506530277289/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:46 +0000 (0:00:00.095) 0:02:29.792 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Tuesday 26 July 2022 22:39:46 +0000 (0:00:00.123) 0:02:29.915 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:2 Tuesday 26 July 2022 22:39:46 +0000 (0:00:00.050) 0:02:29.966 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml for /cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:6 Tuesday 26 July 2022 22:39:46 +0000 (0:00:00.073) 0:02:30.040 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:13 Tuesday 26 July 2022 22:39:46 +0000 (0:00:00.055) 0:02:30.096 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:20 Tuesday 26 July 2022 22:39:46 +0000 (0:00:00.055) 0:02:30.151 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:27 Tuesday 26 July 2022 22:39:46 +0000 (0:00:00.060) 0:02:30.211 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_certs.yml:33 Tuesday 26 July 2022 22:39:46 +0000 (0:00:00.067) 0:02:30.279 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:9 Tuesday 26 July 2022 22:39:47 +0000 (0:00:00.056) 0:02:30.335 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:47 +0000 (0:00:00.071) 0:02:30.406 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:49 +0000 (0:00:01.936) 0:02:32.343 ********** ok: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:50 +0000 (0:00:01.361) 0:02:33.705 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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-1658875160.4441166-205160-58627872442807/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-1658875160.4441166-205160-58627872442807/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-1658875169.0320141-205357-129797506589471/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-1658875169.0320141-205357-129797506589471/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-1658875178.9544237-205576-73075890836552/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-1658875178.9544237-205576-73075890836552/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-1658875180.0983481-205612-8353425176435/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-1658875180.0983481-205612-8353425176435/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-1658875183.797693-205674-54685243347622/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-1658875183.797693-205674-54685243347622/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-1658875184.497378-205674-2409563527547/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-1658875184.497378-205674-2409563527547/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-1658875185.7294354-205735-274506530277289/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-1658875185.7294354-205735-274506530277289/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:50 +0000 (0:00:00.094) 0:02:33.799 ********** skipping: [/cache/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:16 Tuesday 26 July 2022 22:39:50 +0000 (0:00:00.061) 0:02:33.861 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:39:50 +0000 (0:00:00.082) 0:02:33.943 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:39:50 +0000 (0:00:00.047) 0:02:33.991 ********** changed: [/cache/centos-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-1658875190.9039133-205850-76720420281955/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 22:39:51 +0000 (0:00:00.876) 0:02:34.867 ********** ok: [/cache/centos-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-1658875141.0193937-204682-246827103612642/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-1658875141.0193937-204682-246827103612642/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-1658875141.7833934-204682-75920084701553/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-1658875141.7833934-204682-75920084701553/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-1658875143.619098-204757-55954547434678/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-1658875143.619098-204757-55954547434678/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-1658875147.8979683-204827-152449911174485/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-1658875147.8979683-204827-152449911174485/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-1658875148.5966167-204827-249279971236962/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-1658875148.5966167-204827-249279971236962/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-1658875149.3101523-204827-265299862649725/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-1658875149.3101523-204827-265299862649725/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-1658875149.993649-204827-171278721990767/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-1658875149.993649-204827-171278721990767/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-1658875150.673404-204827-266227344256970/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-1658875150.673404-204827-266227344256970/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-1658875151.8405724-204963-248606103706380/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-1658875151.8405724-204963-248606103706380/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-1658875160.4441166-205160-58627872442807/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-1658875160.4441166-205160-58627872442807/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-1658875169.0320141-205357-129797506589471/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-1658875169.0320141-205357-129797506589471/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-1658875178.9544237-205576-73075890836552/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-1658875178.9544237-205576-73075890836552/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-1658875180.0983481-205612-8353425176435/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-1658875180.0983481-205612-8353425176435/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-1658875183.797693-205674-54685243347622/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-1658875183.797693-205674-54685243347622/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-1658875184.497378-205674-2409563527547/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-1658875184.497378-205674-2409563527547/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-1658875185.7294354-205735-274506530277289/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-1658875185.7294354-205735-274506530277289/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-1658875190.9039133-205850-76720420281955/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-1658875190.9039133-205850-76720420281955/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 22:39:51 +0000 (0:00:00.145) 0:02:35.012 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/elasticsearch/main.yml:33 Tuesday 26 July 2022 22:39:51 +0000 (0:00:00.125) 0:02:35.138 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 22:39:51 +0000 (0:00:00.050) 0:02:35.188 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 22:39:51 +0000 (0:00:00.052) 0:02:35.240 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 22:39:52 +0000 (0:00:00.058) 0:02:35.298 ********** 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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 22:39:52 +0000 (0:00:00.042) 0:02:35.341 ********** skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 22:39:52 +0000 (0:00:00.065) 0:02:35.407 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:39:52 +0000 (0:00:00.054) 0:02:35.461 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:39:52 +0000 (0:00:00.054) 0:02:35.515 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 22:39:52 +0000 (0:00:00.052) 0:02:35.568 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:38:52 UTC", "ActiveEnterTimestampMonotonic": "967038670", "ActiveExitTimestamp": "Tue 2022-07-26 22:38:51 UTC", "ActiveExitTimestampMonotonic": "966544794", "ActiveState": "active", "After": "network-online.target network.target basic.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:38:52 UTC", "AssertTimestampMonotonic": "967030897", "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 22:38:52 UTC", "ConditionTimestampMonotonic": "967030897", "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": "136262", "ExecMainStartTimestamp": "Tue 2022-07-26 22:38:52 UTC", "ExecMainStartTimestampMonotonic": "967033111", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:38:52 UTC] ; stop_time=[n/a] ; pid=136262 ; 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 22:38:52 UTC", "InactiveEnterTimestampMonotonic": "967028699", "InactiveExitTimestamp": "Tue 2022-07-26 22:38:52 UTC", "InactiveExitTimestampMonotonic": "967033182", "InvocationID": "25b2e253f1504dfd9742675d9e9fe5a3", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "136262", "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 22:38:52 UTC", "StateChangeTimestampMonotonic": "967038670", "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": "11149", "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 22:38:52 UTC", "WatchdogTimestampMonotonic": "967038669", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 22:39:52 +0000 (0:00:00.545) 0:02:36.113 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 22:39:52 +0000 (0:00:00.047) 0:02:36.161 ********** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 META: role_complete for /cache/centos-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:256 Tuesday 26 July 2022 22:39:52 +0000 (0:00:00.082) 0:02:36.244 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:39:52 +0000 (0:00:00.000) 0:02:36.244 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:38:52 UTC", "ActiveEnterTimestampMonotonic": "967038670", "ActiveExitTimestamp": "Tue 2022-07-26 22:38:51 UTC", "ActiveExitTimestampMonotonic": "966544794", "ActiveState": "active", "After": "network-online.target network.target basic.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:38:52 UTC", "AssertTimestampMonotonic": "967030897", "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 22:38:52 UTC", "ConditionTimestampMonotonic": "967030897", "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": "136262", "ExecMainStartTimestamp": "Tue 2022-07-26 22:38:52 UTC", "ExecMainStartTimestampMonotonic": "967033111", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:38:52 UTC] ; stop_time=[n/a] ; pid=136262 ; 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 22:38:52 UTC", "InactiveEnterTimestampMonotonic": "967028699", "InactiveExitTimestamp": "Tue 2022-07-26 22:38:52 UTC", "InactiveExitTimestampMonotonic": "967033182", "InvocationID": "25b2e253f1504dfd9742675d9e9fe5a3", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "136262", "MemoryAccounting": "yes", "MemoryCurrent": "1200128", "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 22:38:52 UTC", "StateChangeTimestampMonotonic": "967038670", "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": "11149", "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 22:38:52 UTC", "WatchdogTimestampMonotonic": "967038669", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:259 Tuesday 26 July 2022 22:39:53 +0000 (0:00:01.009) 0:02:37.254 ********** included: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml for /cache/centos-8.qcow2 TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:39:54 +0000 (0:00:00.063) 0:02:37.317 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658875192.9921508, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658875139.8201506, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12597371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875139.5441506, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "370424342", "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/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:39:54 +0000 (0:00:00.409) 0:02:37.726 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 18, "files": [ { "atime": 1658874521.9911506, "ctime": 1658874489.0831506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 13086862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1639112781.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": 1658875192.9921508, "ctime": 1658875140.7311506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 218370, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875140.4631507, "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": 1658875192.9921508, "ctime": 1658875141.5411506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12597372, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875141.2461507, "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": 1658875192.9921508, "ctime": 1658875143.3431506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 218371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875143.0691507, "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": 1658875156.1851506, "ctime": 1658875147.6091506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 4195763, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875147.3421507, "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": 1658875156.8401506, "ctime": 1658875148.3161507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16835088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875148.0441506, "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": 1658875157.4761508, "ctime": 1658875149.0061507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 4195764, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875148.7491508, "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": 1658875158.1201506, "ctime": 1658875149.6861508, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16835089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875149.4241507, "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": 1658875158.7531507, "ctime": 1658875150.4211507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 4195765, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875150.1331506, "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": 1658875192.9921508, "ctime": 1658875151.5651507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16835090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875151.2931507, "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": 1658875192.9921508, "ctime": 1658875160.1671507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16835091, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875159.8871508, "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": 1658875192.9921508, "ctime": 1658875168.7571507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 16835092, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875168.4671507, "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": 1658875192.9921508, "ctime": 1658875178.6581507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 218372, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875178.3911507, "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": 1658875192.9921508, "ctime": 1658875179.8091507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12597375, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875179.5391507, "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": 1658875188.5391507, "ctime": 1658875183.5051508, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8423052, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875183.2281506, "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": 1658875189.1951506, "ctime": 1658875184.2171507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 20974088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875183.9431508, "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": 1658875192.9921508, "ctime": 1658875185.4571507, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8423053, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658875185.1811507, "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": 1658875192.9921508, "ctime": 1658875190.6231506, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 4195766, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1658875190.3511508, "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/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:39:54 +0000 (0:00:00.400) 0:02:38.127 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:39:54 +0000 (0:00:00.047) 0:02:38.174 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:39:54 +0000 (0:00:00.032) 0:02:38.207 ********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:39:54 +0000 (0:00:00.047) 0:02:38.254 ********** ok: [/cache/centos-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": 1658875192.9921508, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1658875151.5651507, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16835090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875151.2931507, "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": "1412319921", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658875192.9921508, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "ctime": 1658875160.1671507, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16835091, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875159.8871508, "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": "1074826601", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658875192.9921508, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "ctime": 1658875168.7571507, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16835092, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875168.4671507, "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": "1519349487", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmp81pyhz7o/tests/logging/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:39:56 +0000 (0:00:01.219) 0:02:39.473 ********** skipping: [/cache/centos-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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:270 Tuesday 26 July 2022 22:39:56 +0000 (0:00:00.068) 0:02:39.542 ********** ok: [/cache/centos-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": 1658875192.9921508, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1658875151.5651507, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16835090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875151.2931507, "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": "1412319921", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658875192.9921508, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9abd243dc41b4c0894972e676ebbadcdbabfd441", "ctime": 1658875160.1671507, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16835091, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875159.8871508, "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": "1074826601", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-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": 1658875192.9921508, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "176de721ab68274390c753e6db2d9c3ecd971553", "ctime": 1658875168.7571507, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16835092, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875168.4671507, "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": "1519349487", "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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:280 Tuesday 26 July 2022 22:39:57 +0000 (0:00:01.151) 0:02:40.693 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:286 Tuesday 26 July 2022 22:39:57 +0000 (0:00:00.399) 0:02:41.093 ********** ok: [/cache/centos-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.003732", "end": "2022-07-26 22:39:57.255199", "rc": 0, "start": "2022-07-26 22:39:57.251467" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:292 Tuesday 26 July 2022 22:39:58 +0000 (0:00:00.401) 0:02:41.494 ********** ok: [/cache/centos-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.003579", "end": "2022-07-26 22:39:57.658013", "rc": 0, "start": "2022-07-26 22:39:57.654434" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:298 Tuesday 26 July 2022 22:39:58 +0000 (0:00:00.401) 0:02:41.895 ********** ok: [/cache/centos-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.003430", "end": "2022-07-26 22:39:58.048178", "rc": 0, "start": "2022-07-26 22:39:58.044748" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:304 Tuesday 26 July 2022 22:39:59 +0000 (0:00:00.389) 0:02:42.285 ********** ok: [/cache/centos-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.003346", "end": "2022-07-26 22:39:58.435820", "rc": 0, "start": "2022-07-26 22:39:58.432474" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:310 Tuesday 26 July 2022 22:39:59 +0000 (0:00:00.385) 0:02:42.671 ********** ok: [/cache/centos-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.003168", "end": "2022-07-26 22:39:58.858288", "rc": 0, "start": "2022-07-26 22:39:58.855120" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:316 Tuesday 26 July 2022 22:39:59 +0000 (0:00:00.422) 0:02:43.093 ********** ok: [/cache/centos-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.004715", "end": "2022-07-26 22:39:59.271435", "rc": 0, "start": "2022-07-26 22:39:59.266720" } 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/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:322 Tuesday 26 July 2022 22:40:00 +0000 (0:00:00.419) 0:02:43.512 ********** ok: [/cache/centos-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:01.004680", "end": "2022-07-26 22:40:00.722298", "item": "dynSearchIndex=.on.", "rc": 0, "start": "2022-07-26 22:39:59.717618" } STDOUT: dynSearchIndex="on" ok: [/cache/centos-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.002896", "end": "2022-07-26 22:40:01.089962", "item": "bulkmode=.on.", "rc": 0, "start": "2022-07-26 22:40:01.087066" } STDOUT: bulkmode="on" ok: [/cache/centos-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.003372", "end": "2022-07-26 22:40:01.456735", "item": "dynbulkid=.on.", "rc": 0, "start": "2022-07-26 22:40:01.453363" } STDOUT: dynbulkid="on" ok: [/cache/centos-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.003200", "end": "2022-07-26 22:40:01.813695", "item": "allowUnsignedCerts=.off.", "rc": 0, "start": "2022-07-26 22:40:01.810495" } STDOUT: allowUnsignedCerts="off" ok: [/cache/centos-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.003776", "end": "2022-07-26 22:40:02.166646", "item": "usehttps=.on.", "rc": 0, "start": "2022-07-26 22:40:02.162870" } STDOUT: usehttps="on" ok: [/cache/centos-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.003296", "end": "2022-07-26 22:40:02.520576", "item": "retryfailures=.on.", "rc": 0, "start": "2022-07-26 22:40:02.517280" } STDOUT: retryfailures="on" TASK [Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:333 Tuesday 26 July 2022 22:40:03 +0000 (0:00:03.245) 0:02:46.758 ********** ok: [/cache/centos-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.003689", "end": "2022-07-26 22:40:02.918528", "item": "dynSearchIndex=.off.", "rc": 0, "start": "2022-07-26 22:40:02.914839" } STDOUT: dynSearchIndex="off" ok: [/cache/centos-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.003991", "end": "2022-07-26 22:40:03.276504", "item": "bulkmode=.off.", "rc": 0, "start": "2022-07-26 22:40:03.272513" } STDOUT: bulkmode="off" ok: [/cache/centos-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.003902", "end": "2022-07-26 22:40:03.638862", "item": "dynbulkid=.off.", "rc": 0, "start": "2022-07-26 22:40:03.634960" } STDOUT: dynbulkid="off" ok: [/cache/centos-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.003806", "end": "2022-07-26 22:40:03.989250", "item": "allowUnsignedCerts=.on.", "rc": 0, "start": "2022-07-26 22:40:03.985444" } STDOUT: allowUnsignedCerts="on" ok: [/cache/centos-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.003707", "end": "2022-07-26 22:40:04.350931", "item": "usehttps=.off.", "rc": 0, "start": "2022-07-26 22:40:04.347224" } STDOUT: usehttps="off" ok: [/cache/centos-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.003335", "end": "2022-07-26 22:40:04.700661", "item": "retryfailures=.off.", "rc": 0, "start": "2022-07-26 22:40:04.697326" } STDOUT: retryfailures="off" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:344 Tuesday 26 July 2022 22:40:05 +0000 (0:00:02.181) 0:02:48.939 ********** ok: [/cache/centos-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.003015", "end": "2022-07-26 22:40:05.096710", "rc": 0, "start": "2022-07-26 22:40:05.093695" } STDOUT: server=["logging-es0", "logging-es1"] TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:350 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.393) 0:02:49.333 ********** ok: [/cache/centos-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.002954", "end": "2022-07-26 22:40:05.488293", "rc": 0, "start": "2022-07-26 22:40:05.485339" } STDOUT: server=["logging-es-ops0", "logging-es-ops1"] TASK [END TEST CASE 1; Ensure basic ovirt configuration works] ***************** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:356 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.389) 0:02:49.723 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.080) 0:02:49.803 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.106) 0:02:49.910 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.059) 0:02:49.969 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.060) 0:02:50.030 ********** TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.034) 0:02:50.064 ********** TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.030) 0:02:50.095 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.050) 0:02:50.146 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.050) 0:02:50.196 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 22:40:06 +0000 (0:00:00.054) 0:02:50.251 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 22:40:07 +0000 (0:00:00.053) 0:02:50.304 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 22:40:07 +0000 (0:00:00.050) 0:02:50.354 ********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 22:40:07 +0000 (0:00:00.050) 0:02:50.404 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:40:07 +0000 (0:00:00.051) 0:02:50.456 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:40:07 +0000 (0:00:00.048) 0:02:50.505 ********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 22:40:07 +0000 (0:00:00.540) 0:02:51.046 ********** ok: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 22:40:07 +0000 (0:00:00.078) 0:02:51.124 ********** skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=/tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:40:08 +0000 (0:00:00.181) 0:02:51.305 ********** included: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:40:08 +0000 (0:00:00.095) 0:02:51.401 ********** ok: [/cache/centos-8.qcow2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.037619", "end": "2022-07-26 22:40:07.606722", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 22:40:07.569103" } 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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:40:08 +0000 (0:00:00.444) 0:02:51.846 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64", "Removed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64", "Removed: rsyslog-8.2102.0-10.el8.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 22:40:11 +0000 (0:00:02.917) 0:02:54.763 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-8.2102.0-10.el8.x86_64" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 22:40:14 +0000 (0:00:02.557) 0:02:57.321 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 22:40:14 +0000 (0:00:00.044) 0:02:57.366 ********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "0.4.el8", "source": "rpm", "version": "1.36.0" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "0.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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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": "6.el8", "source": "rpm", "version": "9.11.26" } ], "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": "82.el8", "source": "rpm", "version": "2021.2.50" } ], "cairo": [ { "arch": "x86_64", "epoch": null, "name": "cairo", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "cairo-gobject": [ { "arch": "x86_64", "epoch": null, "name": "cairo-gobject", "release": "3.el8", "source": "rpm", "version": "1.15.12" } ], "centos-gpg-keys": [ { "arch": "noarch", "epoch": 1, "name": "centos-gpg-keys", "release": "4.el8", "source": "rpm", "version": "8" } ], "centos-logos": [ { "arch": "x86_64", "epoch": null, "name": "centos-logos", "release": "2.el8", "source": "rpm", "version": "85.8" } ], "centos-stream-release": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-release", "release": "1.el8", "source": "rpm", "version": "8.6" } ], "centos-stream-repos": [ { "arch": "noarch", "epoch": null, "name": "centos-stream-repos", "release": "4.el8", "source": "rpm", "version": "8" } ], "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": "11.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": "260" } ], "cockpit-system": [ { "arch": "noarch", "epoch": null, "name": "cockpit-system", "release": "1.el8", "source": "rpm", "version": "260" } ], "cockpit-ws": [ { "arch": "x86_64", "epoch": null, "name": "cockpit-ws", "release": "1.el8", "source": "rpm", "version": "260" } ], "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": "4.el8", "source": "rpm", "version": "2.3.3" } ], "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": "5.el8", "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" } ], "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": "2.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "2.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "45.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "45.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": "1.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "191.git20210920.el8", "source": "rpm", "version": "049" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "2.el8", "source": "rpm", "version": "1.45.6" } ], "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": "4.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": "12.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "2.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": "8.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": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-all-langpacks": [ { "arch": "x86_64", "epoch": null, "name": "glibc-all-langpacks", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "184.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "184.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" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5ccc5b19", "source": "rpm", "version": "8483c65d" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "9.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": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "106.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "106.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": "7.el8.0.1", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.11.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": "6.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.15" } ], "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": "1.el8", "source": "rpm", "version": "5.15.0" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "8.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": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "358.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "67.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": "20.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": "1.el8", "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": "28.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "2.el8", "source": "rpm", "version": "0.4.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "5.el8", "source": "rpm", "version": "2.26" } ], "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": "2.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": "5.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": "28.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": "7.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": "7.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" } ], "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": "28.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": "47.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" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "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" } ], "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": "6.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": "28.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": "2.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "7.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": "24.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": "28.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": "11.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" } ], "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": "20210608" } ], "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" } ], "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": "47.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": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "12.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "5.el8_5", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "5.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": "15.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": "3.el8", "source": "rpm", "version": "0.80" } ], "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": "1.el8", "source": "rpm", "version": "0.38.4" } ], "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": "18.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "18.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "12.el8", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "12.el8", "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": "0.17.20191104git1c2f876.el8", "source": "rpm", "version": "3.0" } ], "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-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-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "5.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "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": "9.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "5.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-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": "5.el8", "source": "rpm", "version": "0.63.0" } ], "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": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "11.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-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "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": "358.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": "18.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": "21.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-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.24" } ], "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": "5.module_el8.6.0+1040+0ae94936", "source": "rpm", "version": "6.1.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" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "4.git.b2b7934e.el8", "source": "rpm", "version": "6.14" } ], "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": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "21.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "21.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": "10.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": "86.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "86.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": "1.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" } ], "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": "11.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": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.el8", "source": "rpm", "version": "2.6.1" } ], "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": "55.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "55.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "55.el8", "source": "rpm", "version": "239" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "5.el8", "source": "rpm", "version": "1.30" } ], "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": "1.el8", "source": "rpm", "version": "2.16.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el8", "source": "rpm", "version": "2021e" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "17.el8", "source": "rpm", "version": "1.7.3" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "28.el8", "source": "rpm", "version": "2.32.1" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "16.el8_5.3", "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": "5.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "8.el8", "source": "rpm", "version": "4.0.21" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "17.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 22:40:15 +0000 (0:00:01.230) 0:02:58.596 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 22:40:15 +0000 (0:00:00.046) 0:02:58.643 ********** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 22:40:15 +0000 (0:00:00.035) 0:02:58.679 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 22:40:15 +0000 (0:00:00.060) 0:02:58.739 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 22:40:15 +0000 (0:00:00.044) 0:02:58.784 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 22:40:15 +0000 (0:00:00.448) 0:02:59.233 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 22:40:16 +0000 (0:00:00.414) 0:02:59.647 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:40:16 +0000 (0:00:00.433) 0:03:00.081 ********** ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1653908735.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1658875212.4731507, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1653908735.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "2212399552", "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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 22:40:17 +0000 (0:00:00.434) 0:03:00.515 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 22:40:17 +0000 (0:00:00.051) 0:03:00.567 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 22:40:17 +0000 (0:00:00.191) 0:03:00.759 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 22:40:17 +0000 (0:00:00.061) 0:03:00.820 ********** ok: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 22:40:17 +0000 (0:00:00.062) 0:03:00.882 ********** skipping: [/cache/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 22:40:17 +0000 (0:00:00.059) 0:03:00.941 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 22:40:17 +0000 (0:00:00.028) 0:03:00.970 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 22:40:17 +0000 (0:00:00.042) 0:03:01.013 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 22:40:17 +0000 (0:00:00.030) 0:03:01.043 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 22:40:17 +0000 (0:00:00.029) 0:03:01.073 ********** ok: [/cache/centos-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.110754", "end": "2022-07-26 22:40:17.355963", "failed_when_result": false, "rc": 0, "start": "2022-07-26 22:40:17.245209" } 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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 22:40:18 +0000 (0:00:00.518) 0:03:01.592 ********** changed: [/cache/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 22:40:24 +0000 (0:00:06.438) 0:03:08.030 ********** 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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 22:40:24 +0000 (0:00:00.043) 0:03:08.073 ********** skipping: [/cache/centos-8.qcow2] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 22:40:24 +0000 (0:00:00.066) 0:03:08.139 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:40:24 +0000 (0:00:00.050) 0:03:08.190 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:40:24 +0000 (0:00:00.052) 0:03:08.243 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 22:40:25 +0000 (0:00:00.051) 0:03:08.294 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target network-online.target basic.target system.slice 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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "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": "11149", "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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 22:40:25 +0000 (0:00:00.576) 0:03:08.870 ********** skipping: [/cache/centos-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/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 22:40:25 +0000 (0:00:00.047) 0:03:08.918 ********** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 META: role_complete for /cache/centos-8.qcow2 TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:364 Tuesday 26 July 2022 22:40:25 +0000 (0:00:00.079) 0:03:08.998 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:40:25 +0000 (0:00:00.000) 0:03:08.998 ********** changed: [/cache/centos-8.qcow2] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:40:24 UTC", "ActiveEnterTimestampMonotonic": "1059411323", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target network-online.target basic.target system.slice network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:40:24 UTC", "AssertTimestampMonotonic": "1059403651", "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 22:40:24 UTC", "ConditionTimestampMonotonic": "1059403651", "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": "149553", "ExecMainStartTimestamp": "Tue 2022-07-26 22:40:24 UTC", "ExecMainStartTimestampMonotonic": "1059405659", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:40:24 UTC] ; stop_time=[n/a] ; pid=149553 ; 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 22:40:24 UTC", "InactiveExitTimestampMonotonic": "1059405739", "InvocationID": "749f5da1e0374931bfa99d62055e387e", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "149553", "MemoryAccounting": "yes", "MemoryCurrent": "1331200", "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 22:40:24 UTC", "StateChangeTimestampMonotonic": "1059411323", "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": "11149", "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 22:40:24 UTC", "WatchdogTimestampMonotonic": "1059411319", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=282 changed=47 unreachable=0 failed=0 skipped=180 rescued=0 ignored=0 Tuesday 26 July 2022 22:40:26 +0000 (0:00:01.046) 0:03:10.045 ********** =============================================================================== fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state --- 6.44s /tmp/tmp0v9ep7pi/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.39s /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd --- 3.95s /tmp/tmp0v9ep7pi/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.65s /tmp/tmp0v9ep7pi/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.61s /tmp/tmp0v9ep7pi/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.37s /tmp/tmp0v9ep7pi/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.36s /tmp/tmp0v9ep7pi/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/tmp0v9ep7pi/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/tmp0v9ep7pi/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.33s /tmp/tmp0v9ep7pi/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.29s /tmp/tmp0v9ep7pi/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.25s /tmp/tmp81pyhz7o/tests/logging/tests_ovirt_elasticsearch.yml:322 -------------- fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure collectd port is allowed for rsyslogd to listen to --- 3.13s /tmp/tmp0v9ep7pi/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 : Reset original confs - logging package is absent --- 2.98s /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent --- 2.92s /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 2.90s /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 2.56s /tmp/tmp0v9ep7pi/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 --- 2.54s /tmp/tmp0v9ep7pi/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 --- 2.38s /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 2.34s /tmp/tmp0v9ep7pi/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4