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/tmprpwa1_ne 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: tests_combination.yml ************************************************ 1 plays in /tmp/tmpmjip1uv7/tests/tests_combination.yml PLAY [Combination test - test for (2 types of inputs) x (2 types of outputs) combination] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:2 Tuesday 26 July 2022 22:53:06 +0000 (0:00:00.013) 0:00:00.013 ********** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Generate an input log dir /var/log/inputdirectory] *********************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:16 Tuesday 26 July 2022 22:53:07 +0000 (0:00:01.044) 0:00:01.057 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/log/inputdirectory", "secontext": "unconfined_u:object_r:var_log_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [TEST CASE 0; Ensure that the role runs with complicated flows - M x N combinations] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:23 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.438) 0:00:01.496 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.046) 0:00:01.542 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.038) 0:00:01.580 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [ { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } ] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.050) 0:00:01.631 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [ { "endmsg_regex": "xyz", "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" }, { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "name": "basic_input", "ratelimit_burst": 44444, "type": "basics" } ] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.049) 0:00:01.680 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "ansible_loop_var": "item", "changed": false, "item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.069) 0:00:01.749 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_0', 'inputs': ['basic_input'], 'outputs': ['files_test0', 'files_test1', 'forwards_severity_and_facility', 'forwards_facility_only']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_0", "outputs": [ "files_test0", "files_test1", "forwards_severity_and_facility", "forwards_facility_only" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_1', 'inputs': ['files_input'], 'outputs': ['files_test0', 'files_test1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "files_input" ], "name": "flow_1", "outputs": [ "files_test0", "files_test1" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.060) 0:00:01.809 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.038) 0:00:01.848 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.038) 0:00:01.886 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.038) 0:00:01.925 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.045) 0:00:01.970 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.038) 0:00:02.009 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:53:08 +0000 (0:00:00.046) 0:00:02.055 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:53:09 +0000 (0:00:00.056) 0:00:02.112 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:53:09 +0000 (0:00:00.044) 0:00:02.157 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:53:09 +0000 (0:00:00.505) 0:00:02.662 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:53:09 +0000 (0:00:00.062) 0:00:02.725 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:53:09 +0000 (0:00:00.078) 0:00:02.803 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:53:09 +0000 (0:00:00.067) 0:00:02.871 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:53:09 +0000 (0:00:00.042) 0:00:02.914 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:53:09 +0000 (0:00:00.033) 0:00:02.947 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "rsyslog-8.24.0-57.el7_9.3.x86_64 providing rsyslog is already installed" ] } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:53:10 +0000 (0:00:00.707) 0:00:03.655 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:53:10 +0000 (0:00:00.029) 0:00:03.684 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:53:11 +0000 (0:00:01.140) 0:00:04.824 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:53:11 +0000 (0:00:00.043) 0:00:04.868 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:53:11 +0000 (0:00:00.042) 0:00:04.911 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:53:11 +0000 (0:00:00.030) 0:00:04.941 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:53:11 +0000 (0:00:00.036) 0:00:04.977 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "directory", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:53:12 +0000 (0:00:00.325) 0:00:05.303 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/lib/rsyslog", "secontext": "system_u:object_r:syslogd_var_lib_t:s0", "size": 29, "state": "directory", "uid": 0 } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:53:12 +0000 (0:00:00.326) 0:00:05.630 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:53:12 +0000 (0:00:00.336) 0:00:05.966 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658875979.4156709, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658875976.6506708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "18446744071644027516", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:53:13 +0000 (0:00:00.442) 0:00:06.409 ********** NOTIFIED HANDLER /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "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-1658875993.3678281-226140-21743322683001/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:53:14 +0000 (0:00:00.726) 0:00:07.135 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:53:14 +0000 (0:00:00.146) 0:00:07.282 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-1658875994.2594604-226170-148921918222146/source", "state": "file", "uid": 0 } skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-1658875994.835492-226170-157821226738214/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:53:15 +0000 (0:00:01.190) 0:00:08.472 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:53:15 +0000 (0:00:00.055) 0:00:08.527 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:53:15 +0000 (0:00:00.055) 0:00:08.583 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log', 'endmsg_regex': 'xyz'}) => { "ansible_facts": { "__rsyslog_conf_imfile_modules": [ { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" } ], "__rsyslog_files_input_packages": [], "__rsyslog_files_input_rules": [ "{{ __rsyslog_conf_imfile_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "endmsg_regex": "xyz", "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 44444}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "ratelimit_burst": 44444, "type": "basics" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:53:15 +0000 (0:00:00.085) 0:00:08.669 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 44444}) => { "ansible_loop": { "allitems": [ { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "name": "basic_input", "ratelimit_burst": 44444, "type": "basics" }, { "endmsg_regex": "xyz", "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } ], "first": false, "index": 2, "index0": 1, "last": false, "length": 3, "nextitem": { "endmsg_regex": "xyz", "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" }, "previtem": { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, "revindex": 2, "revindex0": 1 }, "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "ratelimit_burst": 44444, "type": "basics" }, "skip_reason": "Conditional result was False" } included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log', 'endmsg_regex': 'xyz'}) TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:53:15 +0000 (0:00:00.111) 0:00:08.781 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:15 +0000 (0:00:00.073) 0:00:08.855 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:15 +0000 (0:00:00.045) 0:00:08.900 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:15 +0000 (0:00:00.040) 0:00:08.940 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:15 +0000 (0:00:00.056) 0:00:08.997 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:53:15 +0000 (0:00:00.038) 0:00:09.036 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:15 +0000 (0:00:00.063) 0:00:09.099 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:16 +0000 (0:00:00.042) 0:00:09.142 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:16 +0000 (0:00:00.688) 0:00:09.830 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:16 +0000 (0:00:00.059) 0:00:09.889 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml:3 Tuesday 26 July 2022 22:53:16 +0000 (0:00:00.121) 0:00:10.011 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:16 +0000 (0:00:00.067) 0:00:10.079 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:17 +0000 (0:00:00.047) 0:00:10.126 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:17 +0000 (0:00:00.601) 0:00:10.727 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658875997.0998127-226281-273881358413705/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:17 +0000 (0:00:00.055) 0:00:10.783 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files input configuration file input-files-files_input in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml:12 Tuesday 26 July 2022 22:53:17 +0000 (0:00:00.049) 0:00:10.832 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:17 +0000 (0:00:00.065) 0:00:10.898 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:17 +0000 (0:00:00.038) 0:00:10.937 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n endmsg.regex="xyz"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:18 +0000 (0:00:00.698) 0:00:11.635 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658875997.0998127-226281-273881358413705/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:18 +0000 (0:00:00.057) 0:00:11.693 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n endmsg.regex="xyz"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:53:18 +0000 (0:00:00.119) 0:00:11.813 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "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/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "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/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:53:18 +0000 (0:00:00.101) 0:00:11.915 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:53:18 +0000 (0:00:00.093) 0:00:12.009 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:18 +0000 (0:00:00.060) 0:00:12.069 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:19 +0000 (0:00:00.040) 0:00:12.110 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:19 +0000 (0:00:00.552) 0:00:12.662 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658875997.0998127-226281-273881358413705/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:19 +0000 (0:00:00.060) 0:00:12.722 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-files_test0 in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:53:19 +0000 (0:00:00.051) 0:00:12.774 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:19 +0000 (0:00:00.064) 0:00:12.839 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:19 +0000 (0:00:00.043) 0:00:12.883 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:20 +0000 (0:00:00.698) 0:00:13.582 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658875997.0998127-226281-273881358413705/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:20 +0000 (0:00:00.059) 0:00:13.641 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:53:20 +0000 (0:00:00.092) 0:00:13.733 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:20 +0000 (0:00:00.061) 0:00:13.794 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:20 +0000 (0:00:00.044) 0:00:13.838 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:21 +0000 (0:00:00.569) 0:00:14.408 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658875997.0998127-226281-273881358413705/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:21 +0000 (0:00:00.063) 0:00:14.472 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-files_test1 in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:53:21 +0000 (0:00:00.051) 0:00:14.524 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:21 +0000 (0:00:00.065) 0:00:14.589 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:21 +0000 (0:00:00.045) 0:00:14.634 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:22 +0000 (0:00:00.664) 0:00:15.299 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658875997.0998127-226281-273881358413705/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:22 +0000 (0:00:00.066) 0:00:15.366 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 22:53:22 +0000 (0:00:00.126) 0:00:15.492 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:22 +0000 (0:00:00.123) 0:00:15.615 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:22 +0000 (0:00:00.044) 0:00:15.660 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876002.6329176-226491-59448540361943/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:23 +0000 (0:00:00.617) 0:00:16.277 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658875997.0998127-226281-273881358413705/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876002.6329176-226491-59448540361943/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876002.6329176-226491-59448540361943/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:23 +0000 (0:00:00.064) 0:00:16.342 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create forwards output configuration file output-forwards-forwards_severity_and_facility in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:11 Tuesday 26 July 2022 22:53:23 +0000 (0:00:00.047) 0:00:16.390 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:23 +0000 (0:00:00.061) 0:00:16.451 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:23 +0000 (0:00:00.038) 0:00:16.490 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876003.5076523-226527-416963791397/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:24 +0000 (0:00:00.678) 0:00:17.169 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658875997.0998127-226281-273881358413705/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876002.6329176-226491-59448540361943/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876002.6329176-226491-59448540361943/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876003.5076523-226527-416963791397/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876003.5076523-226527-416963791397/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:24 +0000 (0:00:00.068) 0:00:17.238 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 22:53:24 +0000 (0:00:00.091) 0:00:17.329 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:24 +0000 (0:00:00.062) 0:00:17.391 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:24 +0000 (0:00:00.052) 0:00:17.444 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:24 +0000 (0:00:00.610) 0:00:18.054 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658875997.0998127-226281-273881358413705/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876002.6329176-226491-59448540361943/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876002.6329176-226491-59448540361943/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876003.5076523-226527-416963791397/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876003.5076523-226527-416963791397/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:25 +0000 (0:00:00.065) 0:00:18.119 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create forwards output configuration file output-forwards-forwards_facility_only in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:11 Tuesday 26 July 2022 22:53:25 +0000 (0:00:00.051) 0:00:18.171 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:25 +0000 (0:00:00.064) 0:00:18.236 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:25 +0000 (0:00:00.045) 0:00:18.281 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658876005.296175-226594-209048116251044/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:25 +0000 (0:00:00.678) 0:00:18.960 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658875994.2594604-226170-148921918222146/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-1658875994.2594604-226170-148921918222146/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-1658875994.835492-226170-157821226738214/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-1658875994.835492-226170-157821226738214/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658875996.2070842-226245-239843914853698/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658875996.2070842-226245-239843914853698/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658875997.0998127-226281-273881358413705/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658875997.0998127-226281-273881358413705/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658875998.005823-226317-20478364936993/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658875999.9353151-226388-237873648277379/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876001.6512072-226455-83502558396534/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876002.6329176-226491-59448540361943/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876002.6329176-226491-59448540361943/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876003.5076523-226527-416963791397/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876003.5076523-226527-416963791397/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876005.296175-226594-209048116251044/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658876005.296175-226594-209048116251044/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:25 +0000 (0:00:00.072) 0:00:19.033 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:53:26 +0000 (0:00:00.092) 0:00:19.125 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:53:26 +0000 (0:00:00.043) 0:00:19.168 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:53:26 +0000 (0:00:00.050) 0:00:19.219 ********** TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:53:26 +0000 (0:00:00.037) 0:00:19.256 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:53:26 +0000 (0:00:00.056) 0:00:19.313 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:53:26 +0000 (0:00:00.045) 0:00:19.358 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:53:26 +0000 (0:00:00.044) 0:00:19.402 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:53:26 +0000 (0:00:00.073) 0:00:19.476 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:53:05 UTC", "ActiveEnterTimestampMonotonic": "257689756", "ActiveExitTimestamp": "Tue 2022-07-26 22:53:05 UTC", "ActiveExitTimestampMonotonic": "257682328", "ActiveState": "active", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:53:05 UTC", "AssertTimestampMonotonic": "257684466", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:53:05 UTC", "ConditionTimestampMonotonic": "257684466", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "24720", "ExecMainStartTimestamp": "Tue 2022-07-26 22:53:05 UTC", "ExecMainStartTimestampMonotonic": "257685158", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:53:05 UTC] ; stop_time=[n/a] ; pid=24720 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 22:53:05 UTC", "InactiveEnterTimestampMonotonic": "257684126", "InactiveExitTimestamp": "Tue 2022-07-26 22:53:05 UTC", "InactiveExitTimestampMonotonic": "257685198", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "24720", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 22:53:05 UTC", "WatchdogTimestampMonotonic": "257689731", "WatchdogUSec": "0" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:53:27 +0000 (0:00:00.646) 0:00:20.122 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:53:27 +0000 (0:00:00.044) 0:00:20.167 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:78 Tuesday 26 July 2022 22:53:27 +0000 (0:00:00.068) 0:00:20.235 ********** RUNNING HANDLER [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:53:27 +0000 (0:00:00.000) 0:00:20.235 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:53:05 UTC", "ActiveEnterTimestampMonotonic": "257689756", "ActiveExitTimestamp": "Tue 2022-07-26 22:53:05 UTC", "ActiveExitTimestampMonotonic": "257682328", "ActiveState": "active", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:53:05 UTC", "AssertTimestampMonotonic": "257684466", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:53:05 UTC", "ConditionTimestampMonotonic": "257684466", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "24720", "ExecMainStartTimestamp": "Tue 2022-07-26 22:53:05 UTC", "ExecMainStartTimestampMonotonic": "257685158", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:53:05 UTC] ; stop_time=[n/a] ; pid=24720 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 22:53:05 UTC", "InactiveEnterTimestampMonotonic": "257684126", "InactiveExitTimestamp": "Tue 2022-07-26 22:53:05 UTC", "InactiveExitTimestampMonotonic": "257685198", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "24720", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 22:53:05 UTC", "WatchdogTimestampMonotonic": "257689731", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:82 Tuesday 26 July 2022 22:53:27 +0000 (0:00:00.429) 0:00:20.665 ********** included: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml for /cache/centos-7.qcow2c.snap TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:53:27 +0000 (0:00:00.053) 0:00:20.718 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658876007.5576708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658875994.0336707, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12583259, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875993.6966708, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "1747264571", "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/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:53:27 +0000 (0:00:00.318) 0:00:21.037 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "examined": 14, "files": [ { "atime": 1658875970.4796708, "ctime": 1658875958.8886707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875747.5906708, "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": 1658875971.3506708, "ctime": 1658875958.8886707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431914, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875790.6476707, "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": 1658875984.5576708, "ctime": 1658875958.8886707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 9132297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1576682095.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": 1658876007.5576708, "ctime": 1658875994.7996707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875994.5916708, "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": 1658876007.5576708, "ctime": 1658875995.3706708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244453, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875995.1666708, "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": 1658876007.5576708, "ctime": 1658875996.7236707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7125, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875996.5156708, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 879, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876007.5576708, "ctime": 1658875997.6266708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583260, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875997.4206707, "nlink": 1, "path": "/etc/rsyslog.d/10-input-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 95, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876007.5576708, "ctime": 1658875998.5356708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658875998.3266706, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876007.5576708, "ctime": 1658876000.4796708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876000.2586708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876007.5576708, "ctime": 1658876002.1916707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431907, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876001.9736707, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 92, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876004.7406707, "ctime": 1658876003.1726708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876002.9606707, "nlink": 1, "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876007.5576708, "ctime": 1658876004.0666707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876003.8486707, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876007.5576708, "ctime": 1658876005.8526707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876005.6156707, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 257, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 13, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:53:28 +0000 (0:00:00.470) 0:00:21.508 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:53:28 +0000 (0:00:00.041) 0:00:21.550 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:53:28 +0000 (0:00:00.071) 0:00:21.621 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:53:28 +0000 (0:00:00.039) 0:00:21.661 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "stat": { "atime": 1658876007.5576708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "ctime": 1658876000.4796708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876000.2586708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "version": "18446744072250266757", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "stat": { "atime": 1658876007.5576708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "ctime": 1658876004.0666707, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876003.8486707, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "18446744073234914182", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-files-files_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-files-files_input.conf", "stat": { "atime": 1658876007.5576708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "ctime": 1658875998.5356708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8431906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875998.3266706, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "version": "1572225917", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:53:29 +0000 (0:00:00.927) 0:00:22.589 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the files config exists] **************************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:93 Tuesday 26 July 2022 22:53:29 +0000 (0:00:00.028) 0:00:22.617 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1658876007.5576708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "ctime": 1658876000.4796708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876000.2586708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "version": "18446744072250266757", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check the filter and action in the files output config] ****************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:100 Tuesday 26 July 2022 22:53:29 +0000 (0:00:00.328) 0:00:22.946 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "\\*.info;authpriv.none;auth.none;cron.none;mail.none.*/var/log/messages", "/etc/rsyslog.d/30-output-files-files_test0.conf" ], "delta": "0:00:00.003817", "end": "2022-07-26 22:53:30.292182", "rc": 0, "start": "2022-07-26 22:53:30.288365" } STDOUT: *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages TASK [Ensure logger message is logged in a file] ******************************* task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:108 Tuesday 26 July 2022 22:53:30 +0000 (0:00:00.442) 0:00:23.389 ********** included: /tmp/tmpmjip1uv7/tests/tasks/test_logger.yml for /cache/centos-7.qcow2c.snap TASK [Run logger to generate a test log message] ******************************* task path: /tmp/tmpmjip1uv7/tests/tasks/test_logger.yml:2 Tuesday 26 July 2022 22:53:30 +0000 (0:00:00.052) 0:00:23.441 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/logger", "-i", "-p", "local6.info", "-t", "testTag0", "testMessage0" ], "delta": "0:00:00.003856", "end": "2022-07-26 22:53:30.660890", "rc": 0, "start": "2022-07-26 22:53:30.657034" } TASK [Check the test log message in /var/log/messages] ************************* task path: /tmp/tmpmjip1uv7/tests/tasks/test_logger.yml:10 Tuesday 26 July 2022 22:53:30 +0000 (0:00:00.319) 0:00:23.761 ********** ok: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": false, "cmd": [ "/bin/grep", "testMessage0", "/var/log/messages" ], "delta": "0:00:00.004407", "end": "2022-07-26 22:53:30.979388", "rc": 0, "start": "2022-07-26 22:53:30.974981" } STDOUT: 2022-07-26T22:49:12.631996+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/logger -i -p local6.info -t testTag0 testMessage0 removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T22:49:12.634736+00:00 ibm-p8-kvm-03-guest-02 testTag0[2891]: testMessage0 2022-07-26T22:49:12.939959+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/grep "testMessage0" "/var/log/messages" removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T22:51:16.218367+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/logger -i -p local6.info -t testTag0 testMessage0 removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T22:51:16.226529+00:00 ibm-p8-kvm-03-guest-02 testTag0[14660]: testMessage0 2022-07-26T22:51:16.527947+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/grep "testMessage0" "/var/log/messages" removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T22:53:30.657242+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/logger -i -p local6.info -t testTag0 testMessage0 removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T22:53:30.660881+00:00 ibm-p8-kvm-03-guest-02 testTag0[27008]: testMessage0 2022-07-26T22:53:30.975524+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/grep "testMessage0" "/var/log/messages" removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None TASK [Generate a file to check severity_and_facility] ************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:114 Tuesday 26 July 2022 22:53:30 +0000 (0:00:00.319) 0:00:24.081 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "checksum": "e54e538a08d63b687dff2f5c504e9cf8fec6a858", "dest": "/tmp/__testfile__", "gid": 0, "group": "root", "md5sum": "8600fad6bbb0cd832d5237150ec64404", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 274, "src": "/root/.ansible/tmp/ansible-tmp-1658876011.0591252-226831-122128240894474/source", "state": "file", "uid": 0 } TASK [Check severity_and_facility] ********************************************* task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:132 Tuesday 26 July 2022 22:53:31 +0000 (0:00:00.647) 0:00:24.729 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "diff", "-B", "/tmp/__testfile__", "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf" ], "delta": "0:00:00.003815", "end": "2022-07-26 22:53:31.950006", "rc": 0, "start": "2022-07-26 22:53:31.946191" } TASK [Check if the input files config exists] ********************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:136 Tuesday 26 July 2022 22:53:31 +0000 (0:00:00.321) 0:00:25.050 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1658876007.5576708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "ctime": 1658875998.5356708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8431906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658875998.3266706, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "version": "1572225917", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check the input call with tag=files_input] ******************************* task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:142 Tuesday 26 July 2022 22:53:32 +0000 (0:00:00.336) 0:00:25.386 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=type="imfile") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "type=\"imfile\"" } ok: [/cache/centos-7.qcow2c.snap] => (item=file="/var/log/inputdirectory/*.log") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "file=\"/var/log/inputdirectory/*.log\"" } ok: [/cache/centos-7.qcow2c.snap] => (item=tag="files_input") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "tag=\"files_input\"" } TASK [Create a test log file with a log message in /var/log/inputdirectory] **** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:156 Tuesday 26 July 2022 22:53:33 +0000 (0:00:01.036) 0:00:26.423 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\necho '<167>Mar 20 01:00:00 11.22.33.44 tag msgnum:00000000:26:abcdefghijklmnopqrstuvwxyz' > /var/log/inputdirectory/test.log", "delta": "0:00:00.004303", "end": "2022-07-26 22:53:33.635367", "rc": 0, "start": "2022-07-26 22:53:33.631064" } TASK [Check the fake test log message in /var/log/messages] ******************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:163 Tuesday 26 July 2022 22:53:33 +0000 (0:00:00.312) 0:00:26.735 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "files_input .*abcdefghijklmnopqrstuvwxyz$", "/var/log/messages" ], "delta": "0:00:00.004049", "end": "2022-07-26 22:53:33.951172", "rc": 0, "start": "2022-07-26 22:53:33.947123" } STDOUT: 2022-07-26T22:53:33.635351+00:00 ibm-p8-kvm-03-guest-02 files_input <167>Mar 20 01:00:00 11.22.33.44 tag msgnum:00000000:26:abcdefghijklmnopqrstuvwxyz TASK [Create a test log file with a log message in /var/log/inputdirectory which will not be logged due to the regex condition] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:170 Tuesday 26 July 2022 22:53:33 +0000 (0:00:00.315) 0:00:27.050 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\necho '<167>Jul 22 01:00:00 11.22.33.44 tag msgnum:00000000:24:test message 0123456789' > /var/log/inputdirectory/test.log", "delta": "0:00:00.004138", "end": "2022-07-26 22:53:34.270839", "rc": 0, "start": "2022-07-26 22:53:34.266701" } TASK [Check the fake second test log message is not in /var/log/messages] ****** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:178 Tuesday 26 July 2022 22:53:34 +0000 (0:00:00.318) 0:00:27.369 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "files_input .*test message 0123456789$", "/var/log/messages" ], "delta": "0:00:00.003945", "end": "2022-07-26 22:53:34.587531", "failed_when_result": false, "rc": 1, "start": "2022-07-26 22:53:34.583586" } MSG: non-zero return code TASK [END TEST CASE 0; Clean up the deployed config] *************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:186 Tuesday 26 July 2022 22:53:34 +0000 (0:00:00.315) 0:00:27.684 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:53:34 +0000 (0:00:00.066) 0:00:27.751 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:53:34 +0000 (0:00:00.085) 0:00:27.836 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:53:34 +0000 (0:00:00.055) 0:00:27.891 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:53:34 +0000 (0:00:00.053) 0:00:27.945 ********** TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:53:34 +0000 (0:00:00.027) 0:00:27.972 ********** TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:53:34 +0000 (0:00:00.026) 0:00:27.999 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:53:34 +0000 (0:00:00.045) 0:00:28.044 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:53:34 +0000 (0:00:00.047) 0:00:28.091 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:53:35 +0000 (0:00:00.044) 0:00:28.136 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:53:35 +0000 (0:00:00.045) 0:00:28.181 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:53:35 +0000 (0:00:00.048) 0:00:28.230 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:53:35 +0000 (0:00:00.046) 0:00:28.276 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:53:35 +0000 (0:00:00.047) 0:00:28.323 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:53:35 +0000 (0:00:00.044) 0:00:28.367 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:53:35 +0000 (0:00:00.426) 0:00:28.794 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:53:35 +0000 (0:00:00.086) 0:00:28.880 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:53:35 +0000 (0:00:00.089) 0:00:28.970 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:53:35 +0000 (0:00:00.083) 0:00:29.053 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.067544", "end": "2022-07-26 22:53:36.407264", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 22:53:36.339720" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:53:36 +0000 (0:00:00.452) 0:00:29.505 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "removed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n rsyslog x86_64 8.24.0-57.el7_9.3 @updates 1.9 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \nwarning: /etc/rsyslog.conf saved as /etc/rsyslog.conf.rpmsave\n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nRemoved:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:53:37 +0000 (0:00:01.281) 0:00:30.787 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.cs.vt.edu\n * extras: centos-distro.cavecreek.net\n * updates: mirror.math.princeton.edu\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n rsyslog x86_64 8.24.0-57.el7_9.3 updates 622 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 622 k\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nInstalled:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:53:39 +0000 (0:00:01.755) 0:00:32.543 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:53:39 +0000 (0:00:00.039) 0:00:32.582 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:53:40 +0000 (0:00:00.831) 0:00:33.414 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:53:40 +0000 (0:00:00.044) 0:00:33.458 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:53:40 +0000 (0:00:00.080) 0:00:33.539 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:53:40 +0000 (0:00:00.064) 0:00:33.603 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:53:40 +0000 (0:00:00.040) 0:00:33.644 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:53:40 +0000 (0:00:00.348) 0:00:33.992 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "state": "directory", "uid": 0 } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:53:41 +0000 (0:00:00.339) 0:00:34.332 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:53:41 +0000 (0:00:00.337) 0:00:34.670 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1642101032.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658876019.1786706, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7124, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "689414424", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:53:41 +0000 (0:00:00.346) 0:00:35.016 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:53:41 +0000 (0:00:00.044) 0:00:35.060 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:53:42 +0000 (0:00:00.112) 0:00:35.173 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:53:42 +0000 (0:00:00.058) 0:00:35.231 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:53:42 +0000 (0:00:00.050) 0:00:35.282 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:53:42 +0000 (0:00:00.049) 0:00:35.332 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:53:42 +0000 (0:00:00.025) 0:00:35.358 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:53:42 +0000 (0:00:00.039) 0:00:35.397 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:53:42 +0000 (0:00:00.027) 0:00:35.425 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:53:42 +0000 (0:00:00.023) 0:00:35.449 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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.452740", "end": "2022-07-26 22:53:43.184458", "failed_when_result": false, "rc": 0, "start": "2022-07-26 22:53:42.731718" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-files-modules.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/10-output-forwards-modules.conf /etc/rsyslog.d/30-output-files-default_files.conf /etc/rsyslog.d/30-output-files-files_test0.conf /etc/rsyslog.d/30-output-files-files_test1.conf /etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf /etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf /etc/rsyslog.d/90-input-basics-basic_input.conf /etc/rsyslog.d/90-input-files-files_input.conf TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:53:43 +0000 (0:00:00.833) 0:00:36.283 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-input-files-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-files-modules.conf", "path": "/etc/rsyslog.d/10-input-files-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-output-forwards-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-forwards-modules.conf", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test1.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-files_test1.conf", "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-files-files_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-files-files_input.conf", "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "state": "absent" } NOTIFIED HANDLER /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:53:46 +0000 (0:00:03.589) 0:00:39.872 ********** TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:53:46 +0000 (0:00:00.038) 0:00:39.911 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:53:46 +0000 (0:00:00.055) 0:00:39.966 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:53:46 +0000 (0:00:00.044) 0:00:40.011 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:53:46 +0000 (0:00:00.050) 0:00:40.062 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:53:47 +0000 (0:00:00.048) 0:00:40.110 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice network.target network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:53:47 +0000 (0:00:00.426) 0:00:40.537 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:53:47 +0000 (0:00:00.039) 0:00:40.577 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:194 Tuesday 26 July 2022 22:53:47 +0000 (0:00:00.069) 0:00:40.647 ********** RUNNING HANDLER [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:53:47 +0000 (0:00:00.000) 0:00:40.647 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ActiveEnterTimestampMonotonic": "299988590", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:53:47 UTC", "AssertTimestampMonotonic": "299982950", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ConditionTimestampMonotonic": "299982950", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28877", "ExecMainStartTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ExecMainStartTimestampMonotonic": "299983825", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:53:47 UTC] ; stop_time=[n/a] ; pid=28877 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-26 22:53:47 UTC", "InactiveExitTimestampMonotonic": "299983866", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28877", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 22:53:47 UTC", "WatchdogTimestampMonotonic": "299988550", "WatchdogUSec": "0" } } META: ran handlers TASK [TEST CASE 1; Ensure that the role runs with complicated flows - N x M combinations] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:199 Tuesday 26 July 2022 22:53:47 +0000 (0:00:00.423) 0:00:41.070 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.099) 0:00:41.170 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.048) 0:00:41.218 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [ { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } ] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.061) 0:00:41.280 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } ] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.058) 0:00:41.338 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "ansible_loop_var": "item", "changed": false, "item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.078) 0:00:41.416 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_0', 'inputs': ['basic_input', 'files_input'], 'outputs': ['files_test0']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input", "files_input" ], "name": "flow_0", "outputs": [ "files_test0" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_1', 'inputs': ['basic_input', 'files_input'], 'outputs': ['files_test1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input", "files_input" ], "name": "flow_1", "outputs": [ "files_test1" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_2', 'inputs': ['basic_input'], 'outputs': ['forwards_severity_and_facility']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_2", "outputs": [ "forwards_severity_and_facility" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_3', 'inputs': ['basic_input'], 'outputs': ['forwards_facility_only']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_3", "outputs": [ "forwards_facility_only" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.086) 0:00:41.502 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.044) 0:00:41.547 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.042) 0:00:41.589 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.046) 0:00:41.636 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.046) 0:00:41.683 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.045) 0:00:41.729 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.047) 0:00:41.777 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.047) 0:00:41.824 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:53:48 +0000 (0:00:00.043) 0:00:41.867 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:53:49 +0000 (0:00:00.409) 0:00:42.277 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:53:49 +0000 (0:00:00.081) 0:00:42.358 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:53:49 +0000 (0:00:00.092) 0:00:42.451 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:53:49 +0000 (0:00:00.080) 0:00:42.532 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:53:49 +0000 (0:00:00.108) 0:00:42.640 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:53:49 +0000 (0:00:00.042) 0:00:42.682 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "rsyslog-8.24.0-57.el7_9.3.x86_64 providing rsyslog is already installed" ] } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:53:50 +0000 (0:00:00.526) 0:00:43.209 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:53:50 +0000 (0:00:00.036) 0:00:43.245 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:53:50 +0000 (0:00:00.856) 0:00:44.102 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:53:51 +0000 (0:00:00.042) 0:00:44.144 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:53:51 +0000 (0:00:00.042) 0:00:44.187 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:53:51 +0000 (0:00:00.029) 0:00:44.217 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:53:51 +0000 (0:00:00.038) 0:00:44.255 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 50, "state": "directory", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:53:51 +0000 (0:00:00.330) 0:00:44.585 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "state": "directory", "uid": 0 } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:53:51 +0000 (0:00:00.381) 0:00:44.967 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:53:52 +0000 (0:00:00.361) 0:00:45.328 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658876021.9026709, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658876019.1786706, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7124, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "689414424", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:53:52 +0000 (0:00:00.335) 0:00:45.663 ********** NOTIFIED HANDLER /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "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-1658876032.6233115-227586-154642847422424/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:53:53 +0000 (0:00:00.612) 0:00:46.276 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:53:53 +0000 (0:00:00.097) 0:00:46.374 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-1658876033.3483646-227616-135913084525821/source", "state": "file", "uid": 0 } skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-1658876033.9178438-227616-165575111193103/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:53:54 +0000 (0:00:01.184) 0:00:47.558 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:53:54 +0000 (0:00:00.053) 0:00:47.612 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:53:54 +0000 (0:00:00.049) 0:00:47.661 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log'}) => { "ansible_facts": { "__rsyslog_conf_imfile_modules": [ { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" } ], "__rsyslog_files_input_packages": [], "__rsyslog_files_input_rules": [ "{{ __rsyslog_conf_imfile_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:53:54 +0000 (0:00:00.108) 0:00:47.770 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log'}) TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:53:54 +0000 (0:00:00.089) 0:00:47.859 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:54 +0000 (0:00:00.093) 0:00:47.953 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:54 +0000 (0:00:00.041) 0:00:47.995 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:54 +0000 (0:00:00.036) 0:00:48.032 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:54 +0000 (0:00:00.056) 0:00:48.088 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:53:55 +0000 (0:00:00.042) 0:00:48.131 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:55 +0000 (0:00:00.069) 0:00:48.200 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:55 +0000 (0:00:00.044) 0:00:48.245 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:55 +0000 (0:00:00.696) 0:00:48.941 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:55 +0000 (0:00:00.059) 0:00:49.000 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml:3 Tuesday 26 July 2022 22:53:56 +0000 (0:00:00.122) 0:00:49.122 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:56 +0000 (0:00:00.063) 0:00:49.186 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:56 +0000 (0:00:00.044) 0:00:49.231 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:56 +0000 (0:00:00.582) 0:00:49.813 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876036.2026389-227727-215303601796355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:56 +0000 (0:00:00.093) 0:00:49.907 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files input configuration file input-files-files_input in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml:12 Tuesday 26 July 2022 22:53:56 +0000 (0:00:00.081) 0:00:49.989 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:56 +0000 (0:00:00.073) 0:00:50.063 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:57 +0000 (0:00:00.046) 0:00:50.109 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:57 +0000 (0:00:00.688) 0:00:50.798 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876036.2026389-227727-215303601796355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:57 +0000 (0:00:00.056) 0:00:50.855 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:53:57 +0000 (0:00:00.124) 0:00:50.979 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "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/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "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/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:53:57 +0000 (0:00:00.103) 0:00:51.083 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:53:58 +0000 (0:00:00.094) 0:00:51.178 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:58 +0000 (0:00:00.059) 0:00:51.237 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:58 +0000 (0:00:00.044) 0:00:51.281 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-1658876038.2609253-227803-71644952069185/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:58 +0000 (0:00:00.619) 0:00:51.900 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876036.2026389-227727-215303601796355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "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-1658876038.2609253-227803-71644952069185/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-1658876038.2609253-227803-71644952069185/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:58 +0000 (0:00:00.133) 0:00:52.034 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-files_test0 in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:53:58 +0000 (0:00:00.056) 0:00:52.090 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:59 +0000 (0:00:00.063) 0:00:52.154 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:53:59 +0000 (0:00:00.043) 0:00:52.197 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:53:59 +0000 (0:00:00.644) 0:00:52.841 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876036.2026389-227727-215303601796355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "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-1658876038.2609253-227803-71644952069185/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-1658876038.2609253-227803-71644952069185/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:53:59 +0000 (0:00:00.063) 0:00:52.905 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:53:59 +0000 (0:00:00.094) 0:00:53.000 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:53:59 +0000 (0:00:00.067) 0:00:53.067 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:00 +0000 (0:00:00.047) 0:00:53.115 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:00 +0000 (0:00:00.569) 0:00:53.684 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876036.2026389-227727-215303601796355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "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-1658876038.2609253-227803-71644952069185/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-1658876038.2609253-227803-71644952069185/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:00 +0000 (0:00:00.063) 0:00:53.748 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-files_test1 in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:54:00 +0000 (0:00:00.053) 0:00:53.801 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:00 +0000 (0:00:00.097) 0:00:53.898 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:00 +0000 (0:00:00.041) 0:00:53.940 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:01 +0000 (0:00:00.636) 0:00:54.576 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876036.2026389-227727-215303601796355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "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-1658876038.2609253-227803-71644952069185/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-1658876038.2609253-227803-71644952069185/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:01 +0000 (0:00:00.066) 0:00:54.642 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 22:54:01 +0000 (0:00:00.102) 0:00:54.745 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:01 +0000 (0:00:00.066) 0:00:54.812 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:01 +0000 (0:00:00.045) 0:00:54.858 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876041.8331861-227942-52802945127814/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:02 +0000 (0:00:00.609) 0:00:55.468 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876036.2026389-227727-215303601796355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "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-1658876038.2609253-227803-71644952069185/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-1658876038.2609253-227803-71644952069185/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876041.8331861-227942-52802945127814/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876041.8331861-227942-52802945127814/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:02 +0000 (0:00:00.063) 0:00:55.531 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create forwards output configuration file output-forwards-forwards_severity_and_facility in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:11 Tuesday 26 July 2022 22:54:02 +0000 (0:00:00.062) 0:00:55.594 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:02 +0000 (0:00:00.065) 0:00:55.659 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:02 +0000 (0:00:00.040) 0:00:55.699 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876042.7599037-227978-97461976517611/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:03 +0000 (0:00:00.705) 0:00:56.405 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876036.2026389-227727-215303601796355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "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-1658876038.2609253-227803-71644952069185/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-1658876038.2609253-227803-71644952069185/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876041.8331861-227942-52802945127814/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876041.8331861-227942-52802945127814/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876042.7599037-227978-97461976517611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876042.7599037-227978-97461976517611/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:03 +0000 (0:00:00.064) 0:00:56.469 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 22:54:03 +0000 (0:00:00.098) 0:00:56.568 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:03 +0000 (0:00:00.071) 0:00:56.639 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:03 +0000 (0:00:00.042) 0:00:56.682 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:04 +0000 (0:00:00.571) 0:00:57.253 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876036.2026389-227727-215303601796355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "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-1658876038.2609253-227803-71644952069185/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-1658876038.2609253-227803-71644952069185/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876041.8331861-227942-52802945127814/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876041.8331861-227942-52802945127814/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876042.7599037-227978-97461976517611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876042.7599037-227978-97461976517611/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:04 +0000 (0:00:00.070) 0:00:57.324 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create forwards output configuration file output-forwards-forwards_facility_only in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:11 Tuesday 26 July 2022 22:54:04 +0000 (0:00:00.055) 0:00:57.379 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:04 +0000 (0:00:00.073) 0:00:57.453 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:04 +0000 (0:00:00.043) 0:00:57.497 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658876044.5127594-228045-137980613075347/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:05 +0000 (0:00:00.644) 0:00:58.141 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876033.3483646-227616-135913084525821/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-1658876033.3483646-227616-135913084525821/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-1658876033.9178438-227616-165575111193103/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-1658876033.9178438-227616-165575111193103/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876035.2923179-227691-64435436421058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876035.2923179-227691-64435436421058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876036.2026389-227727-215303601796355/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876036.2026389-227727-215303601796355/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876037.1578374-227763-164751851333826/source", "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-1658876038.2609253-227803-71644952069185/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-1658876038.2609253-227803-71644952069185/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876039.2119145-227839-131704197885204/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876040.9518707-227906-244385229308650/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876041.8331861-227942-52802945127814/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876041.8331861-227942-52802945127814/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876042.7599037-227978-97461976517611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876042.7599037-227978-97461976517611/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876044.5127594-228045-137980613075347/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658876044.5127594-228045-137980613075347/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:05 +0000 (0:00:00.108) 0:00:58.250 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:54:05 +0000 (0:00:00.094) 0:00:58.344 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:54:05 +0000 (0:00:00.039) 0:00:58.383 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:54:05 +0000 (0:00:00.049) 0:00:58.433 ********** TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:54:05 +0000 (0:00:00.037) 0:00:58.471 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:54:05 +0000 (0:00:00.060) 0:00:58.532 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:54:05 +0000 (0:00:00.046) 0:00:58.578 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:54:05 +0000 (0:00:00.045) 0:00:58.624 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:54:05 +0000 (0:00:00.051) 0:00:58.676 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ActiveEnterTimestampMonotonic": "300518957", "ActiveExitTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ActiveExitTimestampMonotonic": "300510645", "ActiveState": "active", "After": "system.slice network.target network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:53:47 UTC", "AssertTimestampMonotonic": "300513608", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ConditionTimestampMonotonic": "300513608", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28941", "ExecMainStartTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ExecMainStartTimestampMonotonic": "300514290", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:53:47 UTC] ; stop_time=[n/a] ; pid=28941 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 22:53:47 UTC", "InactiveEnterTimestampMonotonic": "300513260", "InactiveExitTimestamp": "Tue 2022-07-26 22:53:47 UTC", "InactiveExitTimestampMonotonic": "300514335", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28941", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 22:53:47 UTC", "WatchdogTimestampMonotonic": "300518930", "WatchdogUSec": "0" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:54:06 +0000 (0:00:00.431) 0:00:59.107 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:54:06 +0000 (0:00:00.042) 0:00:59.150 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:252 Tuesday 26 July 2022 22:54:06 +0000 (0:00:00.072) 0:00:59.222 ********** RUNNING HANDLER [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:54:06 +0000 (0:00:00.000) 0:00:59.222 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ActiveEnterTimestampMonotonic": "300518957", "ActiveExitTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ActiveExitTimestampMonotonic": "300510645", "ActiveState": "active", "After": "system.slice network.target network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:53:47 UTC", "AssertTimestampMonotonic": "300513608", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ConditionTimestampMonotonic": "300513608", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28941", "ExecMainStartTimestamp": "Tue 2022-07-26 22:53:47 UTC", "ExecMainStartTimestampMonotonic": "300514290", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:53:47 UTC] ; stop_time=[n/a] ; pid=28941 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 22:53:47 UTC", "InactiveEnterTimestampMonotonic": "300513260", "InactiveExitTimestamp": "Tue 2022-07-26 22:53:47 UTC", "InactiveExitTimestampMonotonic": "300514335", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28941", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 22:53:47 UTC", "WatchdogTimestampMonotonic": "300518930", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:256 Tuesday 26 July 2022 22:54:06 +0000 (0:00:00.443) 0:00:59.666 ********** included: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml for /cache/centos-7.qcow2c.snap TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:54:06 +0000 (0:00:00.058) 0:00:59.724 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658876046.5556707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658876033.1736708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876032.9666708, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "18446744072417983357", "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/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:54:06 +0000 (0:00:00.380) 0:01:00.105 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "examined": 13, "files": [ { "atime": 1658875984.5576708, "ctime": 1658875958.8886707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 9132297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1576682095.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": 1658876046.5556707, "ctime": 1658876033.8796709, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583260, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876033.6696708, "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": 1658876046.5556707, "ctime": 1658876034.4526708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431907, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876034.2366707, "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": 1658876046.5556707, "ctime": 1658876035.8346708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244453, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876035.6106708, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 879, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876046.5556707, "ctime": 1658876036.7066708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7124, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876036.5056708, "nlink": 1, "path": "/etc/rsyslog.d/10-input-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 95, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876046.5556707, "ctime": 1658876037.6946707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876037.4836707, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 242, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876040.3646708, "ctime": 1658876038.7926707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876038.5756707, "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": 1658876046.5556707, "ctime": 1658876039.7366707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876039.5286708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876046.5556707, "ctime": 1658876041.4726708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583262, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876041.2666707, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 92, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876043.9386709, "ctime": 1658876042.3646708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876042.1596708, "nlink": 1, "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876046.5556707, "ctime": 1658876043.2916708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876043.0786707, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876046.5556707, "ctime": 1658876045.0376709, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 13049350, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876044.8266706, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 257, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 12, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:54:07 +0000 (0:00:00.317) 0:01:00.422 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:54:07 +0000 (0:00:00.042) 0:01:00.465 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:54:07 +0000 (0:00:00.027) 0:01:00.493 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:54:07 +0000 (0:00:00.040) 0:01:00.533 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "stat": { "atime": 1658876046.5556707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "ctime": 1658876039.7366707, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876039.5286708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "version": "18446744071998108593", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "stat": { "atime": 1658876046.5556707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "ctime": 1658876043.2916708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876043.0786707, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "626501012", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-files-files_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-files-files_input.conf", "stat": { "atime": 1658876046.5556707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "ctime": 1658876037.6946707, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12583261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876037.4836707, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 242, "uid": 0, "version": "18446744073140714383", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:54:08 +0000 (0:00:00.931) 0:01:01.465 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the files config stat] ********************************************* task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:267 Tuesday 26 July 2022 22:54:08 +0000 (0:00:00.029) 0:01:01.495 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1658876046.5556707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "ctime": 1658876039.7366707, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876039.5286708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "version": "18446744071998108593", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Grep output to messages line] ******************************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:274 Tuesday 26 July 2022 22:54:08 +0000 (0:00:00.316) 0:01:01.811 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "\\*.info;authpriv.none;auth.none;cron.none;mail.none.*/var/log/messages", "/etc/rsyslog.d/30-output-files-files_test0.conf" ], "delta": "0:00:00.003929", "end": "2022-07-26 22:54:09.027315", "rc": 0, "start": "2022-07-26 22:54:09.023386" } STDOUT: *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages TASK [Ensure logger message is logged in a file] ******************************* task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:282 Tuesday 26 July 2022 22:54:09 +0000 (0:00:00.319) 0:01:02.131 ********** included: /tmp/tmpmjip1uv7/tests/tasks/test_logger.yml for /cache/centos-7.qcow2c.snap TASK [Run logger to generate a test log message] ******************************* task path: /tmp/tmpmjip1uv7/tests/tasks/test_logger.yml:2 Tuesday 26 July 2022 22:54:09 +0000 (0:00:00.096) 0:01:02.227 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/logger", "-i", "-p", "local6.info", "-t", "testTag1", "testMessage1" ], "delta": "0:00:00.004083", "end": "2022-07-26 22:54:09.451677", "rc": 0, "start": "2022-07-26 22:54:09.447594" } TASK [Check the test log message in /var/log/messages] ************************* task path: /tmp/tmpmjip1uv7/tests/tasks/test_logger.yml:10 Tuesday 26 July 2022 22:54:09 +0000 (0:00:00.327) 0:01:02.554 ********** ok: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": false, "cmd": [ "/bin/grep", "testMessage1", "/var/log/messages" ], "delta": "0:00:00.004300", "end": "2022-07-26 22:54:09.777663", "rc": 0, "start": "2022-07-26 22:54:09.773363" } STDOUT: 2022-07-26T22:54:09.448635+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/logger -i -p local6.info -t testTag1 testMessage1 removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T22:54:09.451500+00:00 ibm-p8-kvm-03-guest-02 testTag1[31040]: testMessage1 2022-07-26T22:54:09.773615+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/grep "testMessage1" "/var/log/messages" removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None TASK [Check the forwarding config stat] **************************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:288 Tuesday 26 July 2022 22:54:09 +0000 (0:00:00.332) 0:01:02.887 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1658876046.5556707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "ctime": 1658876043.2916708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876043.0786707, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "626501012", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Generate a file to check severity_and_facility] ************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:294 Tuesday 26 July 2022 22:54:10 +0000 (0:00:00.327) 0:01:03.215 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "checksum": "e54e538a08d63b687dff2f5c504e9cf8fec6a858", "dest": "/tmp/__testfile__", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/__testfile__", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 274, "state": "file", "uid": 0 } TASK [Check severity_and_facility] ********************************************* task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:312 Tuesday 26 July 2022 22:54:10 +0000 (0:00:00.520) 0:01:03.735 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "diff", "-B", "/tmp/__testfile__", "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf" ], "delta": "0:00:00.003596", "end": "2022-07-26 22:54:10.953372", "rc": 0, "start": "2022-07-26 22:54:10.949776" } TASK [Check the files config stat] ********************************************* task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:316 Tuesday 26 July 2022 22:54:10 +0000 (0:00:00.319) 0:01:04.055 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1658876046.5556707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "ctime": 1658876037.6946707, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12583261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876037.4836707, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 242, "uid": 0, "version": "18446744073140714383", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check the input call with tag=files_input] ******************************* task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:322 Tuesday 26 July 2022 22:54:11 +0000 (0:00:00.324) 0:01:04.380 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=type="imfile") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "type=\"imfile\"" } ok: [/cache/centos-7.qcow2c.snap] => (item=file="/var/log/inputdirectory/*.log") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "file=\"/var/log/inputdirectory/*.log\"" } ok: [/cache/centos-7.qcow2c.snap] => (item=tag="files_input") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "tag=\"files_input\"" } TASK [Create a test log file with a log message in /var/log/inputdirectory] **** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:336 Tuesday 26 July 2022 22:54:12 +0000 (0:00:00.907) 0:01:05.287 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\necho '<167>Dec 26 01:00:00 11.22.33.44 tag msgnum:00000001:26:ABCDEFGHIJKLMNOPQRSTUVWXYZ' >> /var/log/inputdirectory/test.log", "delta": "0:00:00.004010", "end": "2022-07-26 22:54:12.503927", "rc": 0, "start": "2022-07-26 22:54:12.499917" } TASK [Check the fake test log message in /var/log/messages] ******************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:343 Tuesday 26 July 2022 22:54:12 +0000 (0:00:00.317) 0:01:05.605 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "files_input .*ABCDEFGHIJKLMNOPQRSTUVWXYZ$", "/var/log/messages" ], "delta": "0:00:00.004741", "end": "2022-07-26 22:54:12.874164", "rc": 0, "start": "2022-07-26 22:54:12.869423" } STDOUT: 2022-07-26T22:54:12.503843+00:00 ibm-p8-kvm-03-guest-02 files_input 7>Dec 26 01:00:00 11.22.33.44 tag msgnum:00000001:26:ABCDEFGHIJKLMNOPQRSTUVWXYZ TASK [END TEST CASE 1; Clean up the deployed config] *************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:349 Tuesday 26 July 2022 22:54:12 +0000 (0:00:00.372) 0:01:05.977 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:54:12 +0000 (0:00:00.109) 0:01:06.087 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.049) 0:01:06.136 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.060) 0:01:06.197 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.062) 0:01:06.259 ********** TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.030) 0:01:06.289 ********** TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.024) 0:01:06.314 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.043) 0:01:06.358 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.043) 0:01:06.402 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.043) 0:01:06.445 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.051) 0:01:06.496 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.049) 0:01:06.546 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.049) 0:01:06.596 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.045) 0:01:06.642 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.041) 0:01:06.683 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:54:13 +0000 (0:00:00.420) 0:01:07.103 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:54:14 +0000 (0:00:00.118) 0:01:07.222 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:54:14 +0000 (0:00:00.126) 0:01:07.349 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:54:14 +0000 (0:00:00.131) 0:01:07.480 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.067922", "end": "2022-07-26 22:54:14.778284", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 22:54:14.710362" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:54:14 +0000 (0:00:00.403) 0:01:07.884 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "removed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n rsyslog x86_64 8.24.0-57.el7_9.3 @updates 1.9 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \nwarning: /etc/rsyslog.conf saved as /etc/rsyslog.conf.rpmsave\n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nRemoved:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:54:16 +0000 (0:00:01.293) 0:01:09.177 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.cs.vt.edu\n * extras: centos-distro.cavecreek.net\n * updates: mirror.math.princeton.edu\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n rsyslog x86_64 8.24.0-57.el7_9.3 updates 622 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 622 k\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nInstalled:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:54:17 +0000 (0:00:01.772) 0:01:10.950 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:54:17 +0000 (0:00:00.036) 0:01:10.986 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:54:18 +0000 (0:00:00.870) 0:01:11.857 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:54:18 +0000 (0:00:00.111) 0:01:11.968 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:54:18 +0000 (0:00:00.042) 0:01:12.011 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:54:18 +0000 (0:00:00.034) 0:01:12.045 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:54:18 +0000 (0:00:00.041) 0:01:12.086 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:54:19 +0000 (0:00:00.339) 0:01:12.426 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "state": "directory", "uid": 0 } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:54:19 +0000 (0:00:00.345) 0:01:12.771 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:54:19 +0000 (0:00:00.328) 0:01:13.100 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1642101032.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658876057.5706708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7127, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "18446744072460389775", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:54:20 +0000 (0:00:00.340) 0:01:13.441 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:54:20 +0000 (0:00:00.041) 0:01:13.483 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:54:20 +0000 (0:00:00.097) 0:01:13.580 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:54:20 +0000 (0:00:00.052) 0:01:13.632 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:54:20 +0000 (0:00:00.051) 0:01:13.684 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:54:20 +0000 (0:00:00.056) 0:01:13.741 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:54:20 +0000 (0:00:00.024) 0:01:13.766 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:54:20 +0000 (0:00:00.039) 0:01:13.805 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:54:20 +0000 (0:00:00.026) 0:01:13.831 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:54:20 +0000 (0:00:00.056) 0:01:13.888 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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.426482", "end": "2022-07-26 22:54:21.541340", "failed_when_result": false, "rc": 0, "start": "2022-07-26 22:54:21.114858" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-files-modules.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/10-output-forwards-modules.conf /etc/rsyslog.d/30-output-files-files_test0.conf /etc/rsyslog.d/30-output-files-files_test1.conf /etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf /etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf /etc/rsyslog.d/90-input-basics-basic_input.conf /etc/rsyslog.d/90-input-files-files_input.conf TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:54:21 +0000 (0:00:00.756) 0:01:14.644 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-input-files-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-files-modules.conf", "path": "/etc/rsyslog.d/10-input-files-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-output-forwards-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-forwards-modules.conf", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test1.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-files_test1.conf", "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-files-files_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-files-files_input.conf", "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "state": "absent" } NOTIFIED HANDLER /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:54:24 +0000 (0:00:03.339) 0:01:17.984 ********** TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:54:24 +0000 (0:00:00.038) 0:01:18.022 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:54:24 +0000 (0:00:00.060) 0:01:18.083 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:54:25 +0000 (0:00:00.047) 0:01:18.131 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:54:25 +0000 (0:00:00.052) 0:01:18.184 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:54:25 +0000 (0:00:00.048) 0:01:18.233 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network-online.target system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:54:25 +0000 (0:00:00.455) 0:01:18.689 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:54:25 +0000 (0:00:00.044) 0:01:18.733 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:357 Tuesday 26 July 2022 22:54:25 +0000 (0:00:00.115) 0:01:18.848 ********** RUNNING HANDLER [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:54:25 +0000 (0:00:00.000) 0:01:18.849 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:54:25 UTC", "ActiveEnterTimestampMonotonic": "338135399", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network-online.target system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:54:25 UTC", "AssertTimestampMonotonic": "338127827", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:54:25 UTC", "ConditionTimestampMonotonic": "338127827", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "342", "ExecMainStartTimestamp": "Tue 2022-07-26 22:54:25 UTC", "ExecMainStartTimestampMonotonic": "338128615", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:54:25 UTC] ; stop_time=[n/a] ; pid=342 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-26 22:54:25 UTC", "InactiveExitTimestampMonotonic": "338128653", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "342", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 22:54:25 UTC", "WatchdogTimestampMonotonic": "338135362", "WatchdogUSec": "0" } } META: ran handlers TASK [TEST CASE 2; Absent state test - Running combination configured logging role twice] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:362 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.426) 0:01:19.276 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.094) 0:01:19.370 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.049) 0:01:19.419 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [ { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } ] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.059) 0:01:19.479 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } ] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.059) 0:01:19.538 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "ansible_loop_var": "item", "changed": false, "item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.079) 0:01:19.617 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_0', 'inputs': ['basic_input'], 'outputs': ['files_test0', 'files_test1', 'forwards_severity_and_facility', 'forwards_facility_only']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_0", "outputs": [ "files_test0", "files_test1", "forwards_severity_and_facility", "forwards_facility_only" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_1', 'inputs': ['files_input'], 'outputs': ['files_test0', 'files_test1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "files_input" ], "name": "flow_1", "outputs": [ "files_test0", "files_test1" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.066) 0:01:19.683 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.045) 0:01:19.729 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.046) 0:01:19.775 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.045) 0:01:19.821 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.046) 0:01:19.868 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.045) 0:01:19.913 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.049) 0:01:19.963 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.047) 0:01:20.010 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:54:26 +0000 (0:00:00.046) 0:01:20.057 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:54:27 +0000 (0:00:00.477) 0:01:20.535 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:54:27 +0000 (0:00:00.081) 0:01:20.617 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:54:27 +0000 (0:00:00.093) 0:01:20.710 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:54:27 +0000 (0:00:00.081) 0:01:20.791 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:54:27 +0000 (0:00:00.042) 0:01:20.834 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:54:27 +0000 (0:00:00.039) 0:01:20.874 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "rsyslog-8.24.0-57.el7_9.3.x86_64 providing rsyslog is already installed" ] } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:54:28 +0000 (0:00:00.558) 0:01:21.433 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:54:28 +0000 (0:00:00.040) 0:01:21.473 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:54:29 +0000 (0:00:00.894) 0:01:22.367 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:54:29 +0000 (0:00:00.044) 0:01:22.412 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:54:29 +0000 (0:00:00.045) 0:01:22.458 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:54:29 +0000 (0:00:00.036) 0:01:22.494 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:54:29 +0000 (0:00:00.048) 0:01:22.543 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 50, "state": "directory", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:54:29 +0000 (0:00:00.338) 0:01:22.881 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "state": "directory", "uid": 0 } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:54:30 +0000 (0:00:00.348) 0:01:23.230 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:54:30 +0000 (0:00:00.340) 0:01:23.570 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658876060.3246708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658876057.5706708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7127, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "18446744072460389775", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:54:30 +0000 (0:00:00.334) 0:01:23.905 ********** NOTIFIED HANDLER /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "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-1658876070.863754-228998-137092733792769/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:54:31 +0000 (0:00:00.595) 0:01:24.501 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:54:31 +0000 (0:00:00.133) 0:01:24.634 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-1658876071.6125598-229028-99892838042677/source", "state": "file", "uid": 0 } skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-1658876072.2401173-229028-18668464621273/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:54:32 +0000 (0:00:01.246) 0:01:25.881 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:54:32 +0000 (0:00:00.056) 0:01:25.937 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:54:32 +0000 (0:00:00.055) 0:01:25.993 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log'}) => { "ansible_facts": { "__rsyslog_conf_imfile_modules": [ { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" } ], "__rsyslog_files_input_packages": [], "__rsyslog_files_input_rules": [ "{{ __rsyslog_conf_imfile_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:54:33 +0000 (0:00:00.142) 0:01:26.135 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log'}) TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:54:33 +0000 (0:00:00.090) 0:01:26.225 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:33 +0000 (0:00:00.062) 0:01:26.288 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:33 +0000 (0:00:00.042) 0:01:26.330 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:33 +0000 (0:00:00.041) 0:01:26.372 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:33 +0000 (0:00:00.056) 0:01:26.429 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:54:33 +0000 (0:00:00.044) 0:01:26.473 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:33 +0000 (0:00:00.066) 0:01:26.540 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:33 +0000 (0:00:00.042) 0:01:26.582 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:34 +0000 (0:00:00.665) 0:01:27.248 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:34 +0000 (0:00:00.057) 0:01:27.305 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml:3 Tuesday 26 July 2022 22:54:34 +0000 (0:00:00.125) 0:01:27.431 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:34 +0000 (0:00:00.066) 0:01:27.498 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:34 +0000 (0:00:00.044) 0:01:27.542 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:35 +0000 (0:00:00.634) 0:01:28.176 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876074.5485928-229139-117324705521214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:35 +0000 (0:00:00.060) 0:01:28.236 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files input configuration file input-files-files_input in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml:12 Tuesday 26 July 2022 22:54:35 +0000 (0:00:00.051) 0:01:28.288 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:35 +0000 (0:00:00.067) 0:01:28.356 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:35 +0000 (0:00:00.045) 0:01:28.401 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:36 +0000 (0:00:00.717) 0:01:29.118 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876074.5485928-229139-117324705521214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:36 +0000 (0:00:00.065) 0:01:29.184 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:54:36 +0000 (0:00:00.134) 0:01:29.319 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "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/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "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/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:54:36 +0000 (0:00:00.104) 0:01:29.423 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:54:36 +0000 (0:00:00.096) 0:01:29.519 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:36 +0000 (0:00:00.059) 0:01:29.579 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:36 +0000 (0:00:00.043) 0:01:29.622 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-1658876076.652104-229215-161968141177248/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:37 +0000 (0:00:00.681) 0:01:30.304 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876074.5485928-229139-117324705521214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "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-1658876076.652104-229215-161968141177248/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-1658876076.652104-229215-161968141177248/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:37 +0000 (0:00:00.063) 0:01:30.367 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-files_test0 in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:54:37 +0000 (0:00:00.051) 0:01:30.419 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:37 +0000 (0:00:00.068) 0:01:30.487 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:37 +0000 (0:00:00.045) 0:01:30.533 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:38 +0000 (0:00:00.635) 0:01:31.168 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876074.5485928-229139-117324705521214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "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-1658876076.652104-229215-161968141177248/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-1658876076.652104-229215-161968141177248/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:38 +0000 (0:00:00.064) 0:01:31.233 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:54:38 +0000 (0:00:00.092) 0:01:31.326 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:38 +0000 (0:00:00.062) 0:01:31.389 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:38 +0000 (0:00:00.042) 0:01:31.431 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:38 +0000 (0:00:00.572) 0:01:32.004 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876074.5485928-229139-117324705521214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "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-1658876076.652104-229215-161968141177248/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-1658876076.652104-229215-161968141177248/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:38 +0000 (0:00:00.100) 0:01:32.105 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-files_test1 in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:54:39 +0000 (0:00:00.052) 0:01:32.158 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:39 +0000 (0:00:00.062) 0:01:32.220 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:39 +0000 (0:00:00.049) 0:01:32.270 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:39 +0000 (0:00:00.646) 0:01:32.917 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876074.5485928-229139-117324705521214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "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-1658876076.652104-229215-161968141177248/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-1658876076.652104-229215-161968141177248/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:39 +0000 (0:00:00.064) 0:01:32.981 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 22:54:39 +0000 (0:00:00.090) 0:01:33.072 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:40 +0000 (0:00:00.060) 0:01:33.132 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:40 +0000 (0:00:00.044) 0:01:33.176 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876080.1485791-229354-159609265902185/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:40 +0000 (0:00:00.598) 0:01:33.775 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876074.5485928-229139-117324705521214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "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-1658876076.652104-229215-161968141177248/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-1658876076.652104-229215-161968141177248/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876080.1485791-229354-159609265902185/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876080.1485791-229354-159609265902185/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:40 +0000 (0:00:00.064) 0:01:33.840 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create forwards output configuration file output-forwards-forwards_severity_and_facility in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:11 Tuesday 26 July 2022 22:54:40 +0000 (0:00:00.059) 0:01:33.899 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:40 +0000 (0:00:00.108) 0:01:34.008 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:40 +0000 (0:00:00.041) 0:01:34.049 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876081.0636847-229390-235911211816833/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:41 +0000 (0:00:00.645) 0:01:34.694 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876074.5485928-229139-117324705521214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "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-1658876076.652104-229215-161968141177248/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-1658876076.652104-229215-161968141177248/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876080.1485791-229354-159609265902185/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876080.1485791-229354-159609265902185/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876081.0636847-229390-235911211816833/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876081.0636847-229390-235911211816833/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:41 +0000 (0:00:00.077) 0:01:34.772 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 22:54:41 +0000 (0:00:00.107) 0:01:34.879 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:41 +0000 (0:00:00.071) 0:01:34.951 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:41 +0000 (0:00:00.044) 0:01:34.995 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:42 +0000 (0:00:00.573) 0:01:35.568 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876074.5485928-229139-117324705521214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "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-1658876076.652104-229215-161968141177248/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-1658876076.652104-229215-161968141177248/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876080.1485791-229354-159609265902185/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876080.1485791-229354-159609265902185/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876081.0636847-229390-235911211816833/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876081.0636847-229390-235911211816833/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:42 +0000 (0:00:00.066) 0:01:35.635 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create forwards output configuration file output-forwards-forwards_facility_only in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:11 Tuesday 26 July 2022 22:54:42 +0000 (0:00:00.052) 0:01:35.687 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:42 +0000 (0:00:00.067) 0:01:35.755 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:42 +0000 (0:00:00.042) 0:01:35.797 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658876082.860393-229457-69176963820773/source", "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:43 +0000 (0:00:00.688) 0:01:36.486 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658876071.6125598-229028-99892838042677/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-1658876071.6125598-229028-99892838042677/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-1658876072.2401173-229028-18668464621273/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-1658876072.2401173-229028-18668464621273/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658876073.6286657-229103-242430574512904/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658876073.6286657-229103-242430574512904/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658876074.5485928-229139-117324705521214/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658876074.5485928-229139-117324705521214/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658876075.458127-229175-181327578639947/source", "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-1658876076.652104-229215-161968141177248/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-1658876076.652104-229215-161968141177248/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658876077.5479417-229251-110233400975322/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658876079.2865808-229318-16184707483095/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876080.1485791-229354-159609265902185/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658876080.1485791-229354-159609265902185/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876081.0636847-229390-235911211816833/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658876081.0636847-229390-235911211816833/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658876082.860393-229457-69176963820773/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658876082.860393-229457-69176963820773/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:43 +0000 (0:00:00.071) 0:01:36.557 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:54:43 +0000 (0:00:00.096) 0:01:36.653 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:54:43 +0000 (0:00:00.043) 0:01:36.696 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:54:43 +0000 (0:00:00.049) 0:01:36.746 ********** TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:54:43 +0000 (0:00:00.040) 0:01:36.786 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:54:43 +0000 (0:00:00.062) 0:01:36.849 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:54:43 +0000 (0:00:00.047) 0:01:36.897 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:54:43 +0000 (0:00:00.049) 0:01:36.946 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:54:43 +0000 (0:00:00.052) 0:01:36.999 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:54:26 UTC", "ActiveEnterTimestampMonotonic": "338723241", "ActiveExitTimestamp": "Tue 2022-07-26 22:54:26 UTC", "ActiveExitTimestampMonotonic": "338714683", "ActiveState": "active", "After": "basic.target network-online.target system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:54:26 UTC", "AssertTimestampMonotonic": "338717901", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:54:26 UTC", "ConditionTimestampMonotonic": "338717900", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "407", "ExecMainStartTimestamp": "Tue 2022-07-26 22:54:26 UTC", "ExecMainStartTimestampMonotonic": "338718542", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:54:26 UTC] ; stop_time=[n/a] ; pid=407 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 22:54:26 UTC", "InactiveEnterTimestampMonotonic": "338717544", "InactiveExitTimestamp": "Tue 2022-07-26 22:54:26 UTC", "InactiveExitTimestampMonotonic": "338718578", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "407", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 22:54:26 UTC", "WatchdogTimestampMonotonic": "338723216", "WatchdogUSec": "0" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:54:44 +0000 (0:00:00.422) 0:01:37.422 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:54:44 +0000 (0:00:00.054) 0:01:37.477 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:413 Tuesday 26 July 2022 22:54:44 +0000 (0:00:00.075) 0:01:37.552 ********** RUNNING HANDLER [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:54:44 +0000 (0:00:00.000) 0:01:37.552 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:54:26 UTC", "ActiveEnterTimestampMonotonic": "338723241", "ActiveExitTimestamp": "Tue 2022-07-26 22:54:26 UTC", "ActiveExitTimestampMonotonic": "338714683", "ActiveState": "active", "After": "basic.target network-online.target system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:54:26 UTC", "AssertTimestampMonotonic": "338717901", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:54:26 UTC", "ConditionTimestampMonotonic": "338717900", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "407", "ExecMainStartTimestamp": "Tue 2022-07-26 22:54:26 UTC", "ExecMainStartTimestampMonotonic": "338718542", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:54:26 UTC] ; stop_time=[n/a] ; pid=407 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 22:54:26 UTC", "InactiveEnterTimestampMonotonic": "338717544", "InactiveExitTimestamp": "Tue 2022-07-26 22:54:26 UTC", "InactiveExitTimestampMonotonic": "338718578", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "407", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 22:54:26 UTC", "WatchdogTimestampMonotonic": "338723216", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:417 Tuesday 26 July 2022 22:54:44 +0000 (0:00:00.418) 0:01:37.971 ********** included: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml for /cache/centos-7.qcow2c.snap TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:54:44 +0000 (0:00:00.109) 0:01:38.080 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658876084.8586707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658876071.3966708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876071.1926708, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "18446744072218935911", "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/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:54:45 +0000 (0:00:00.311) 0:01:38.392 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "examined": 13, "files": [ { "atime": 1658875984.5576708, "ctime": 1658875958.8886707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 9132297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1576682095.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": 1658876084.8586707, "ctime": 1658876072.1606708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7147, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876071.9396708, "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": 1658876084.8586707, "ctime": 1658876072.7766707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583259, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876072.5666707, "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": 1658876084.8586707, "ctime": 1658876074.1426709, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431907, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876073.9416707, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 879, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876084.8586707, "ctime": 1658876075.0716708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244442, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876074.8636708, "nlink": 1, "path": "/etc/rsyslog.d/10-input-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 95, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876084.8586707, "ctime": 1658876076.0046709, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7148, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876075.7806706, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 242, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876078.6856709, "ctime": 1658876077.1986709, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583260, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876076.9766707, "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": 1658876084.8586707, "ctime": 1658876078.0616708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876077.8576708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876084.8586707, "ctime": 1658876079.8106709, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876079.5996706, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 92, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876082.2576706, "ctime": 1658876080.6686707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876080.4616706, "nlink": 1, "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876084.8586707, "ctime": 1658876081.5866706, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876081.3806708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876084.8586707, "ctime": 1658876083.3786707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876083.1676707, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 257, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 12, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:54:45 +0000 (0:00:00.319) 0:01:38.712 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:54:45 +0000 (0:00:00.045) 0:01:38.757 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:54:45 +0000 (0:00:00.028) 0:01:38.785 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:54:45 +0000 (0:00:00.044) 0:01:38.830 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "stat": { "atime": 1658876084.8586707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "ctime": 1658876078.0616708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8431908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876077.8576708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "version": "225835689", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "stat": { "atime": 1658876084.8586707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "ctime": 1658876081.5866706, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8431911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876081.3806708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "18446744071799295497", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-files-files_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-files-files_input.conf", "stat": { "atime": 1658876084.8586707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "ctime": 1658876076.0046709, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7148, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876075.7806706, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 242, "uid": 0, "version": "787182882", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:54:46 +0000 (0:00:00.931) 0:01:39.761 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Generate test config file to be overridden] ****************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:428 Tuesday 26 July 2022 22:54:46 +0000 (0:00:00.028) 0:01:39.790 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "checksum": "2037a21ce163b09c9f9764a89cb48ea463b387de", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "md5sum": "4fd020822a6c0e3d9c4649546ebf1c88", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 496, "src": "/root/.ansible/tmp/ansible-tmp-1658876086.7353692-229623-134597773337035/source", "state": "file", "uid": 0 } TASK [deploy reduced config to output into local files] ************************ task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:449 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.576) 0:01:40.367 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.130) 0:01:40.497 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.047) 0:01:40.544 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [ { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "state": "absent", "type": "files" }, { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "state": "absent", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, { "facility": "local2", "name": "forwards_facility_only", "state": "absent", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } ] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.058) 0:01:40.603 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "state": "absent", "type": "files" } ] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.060) 0:01:40.663 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "ansible_loop_var": "item", "changed": false, "item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure', 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "state": "absent", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514, 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "state": "absent", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514, 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local2", "name": "forwards_facility_only", "state": "absent", "target": "host.domain", "tcp_port": 2514, "type": "forwards" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.078) 0:01:40.741 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_0', 'inputs': ['basic_input'], 'outputs': ['files_test0']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_0", "outputs": [ "files_test0" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.055) 0:01:40.797 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.045) 0:01:40.843 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.046) 0:01:40.889 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.045) 0:01:40.935 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.046) 0:01:40.981 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.060) 0:01:41.042 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:54:47 +0000 (0:00:00.049) 0:01:41.091 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:54:48 +0000 (0:00:00.047) 0:01:41.139 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:54:48 +0000 (0:00:00.041) 0:01:41.181 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:54:48 +0000 (0:00:00.415) 0:01:41.596 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:54:48 +0000 (0:00:00.123) 0:01:41.720 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:54:48 +0000 (0:00:00.146) 0:01:41.866 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:54:48 +0000 (0:00:00.076) 0:01:41.942 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:54:48 +0000 (0:00:00.044) 0:01:41.986 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:54:48 +0000 (0:00:00.042) 0:01:42.029 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "rsyslog-8.24.0-57.el7_9.3.x86_64 providing rsyslog is already installed" ] } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:54:49 +0000 (0:00:00.535) 0:01:42.564 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:54:49 +0000 (0:00:00.040) 0:01:42.605 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:54:50 +0000 (0:00:00.840) 0:01:43.445 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:54:50 +0000 (0:00:00.046) 0:01:43.491 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:54:50 +0000 (0:00:00.045) 0:01:43.537 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:54:50 +0000 (0:00:00.032) 0:01:43.570 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:54:50 +0000 (0:00:00.044) 0:01:43.615 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:54:50 +0000 (0:00:00.387) 0:01:44.002 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "state": "directory", "uid": 0 } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:54:51 +0000 (0:00:00.335) 0:01:44.338 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:54:51 +0000 (0:00:00.331) 0:01:44.670 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658876084.8586707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658876071.3966708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876071.1926708, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "18446744072218935911", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:54:51 +0000 (0:00:00.350) 0:01:45.020 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "dest": "/etc/rsyslog.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/rsyslog.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 108, "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:54:52 +0000 (0:00:00.551) 0:01:45.572 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:54:52 +0000 (0:00:00.098) 0:01:45.671 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "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" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "state": "file", "uid": 0 } skipping: [/cache/centos-7.qcow2c.snap] => (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" } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "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" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:54:53 +0000 (0:00:01.096) 0:01:46.767 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:54:53 +0000 (0:00:00.095) 0:01:46.863 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:54:53 +0000 (0:00:00.054) 0:01:46.918 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log', 'state': 'absent'}) => { "ansible_facts": { "__rsyslog_conf_imfile_modules": [ { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" } ], "__rsyslog_files_input_packages": [], "__rsyslog_files_input_rules": [ "{{ __rsyslog_conf_imfile_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "state": "absent", "type": "files" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:54:53 +0000 (0:00:00.147) 0:01:47.065 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log', 'state': 'absent'}) TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 22:54:54 +0000 (0:00:00.088) 0:01:47.154 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:54 +0000 (0:00:00.060) 0:01:47.215 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:54 +0000 (0:00:00.042) 0:01:47.257 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:54 +0000 (0:00:00.041) 0:01:47.299 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:54 +0000 (0:00:00.059) 0:01:47.358 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 22:54:54 +0000 (0:00:00.041) 0:01:47.400 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:54 +0000 (0:00:00.082) 0:01:47.483 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:54 +0000 (0:00:00.043) 0:01:47.526 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } NOTIFIED HANDLER /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:55 +0000 (0:00:00.705) 0:01:48.232 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:55 +0000 (0:00:00.059) 0:01:48.292 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml:3 Tuesday 26 July 2022 22:54:55 +0000 (0:00:00.122) 0:01:48.415 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:55 +0000 (0:00:00.062) 0:01:48.477 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:55 +0000 (0:00:00.043) 0:01:48.521 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:56 +0000 (0:00:00.611) 0:01:49.132 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:56 +0000 (0:00:00.061) 0:01:49.194 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files input configuration file input-files-files_input in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/inputs/files/main.yml:12 Tuesday 26 July 2022 22:54:56 +0000 (0:00:00.056) 0:01:49.251 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:56 +0000 (0:00:00.079) 0:01:49.330 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:56 +0000 (0:00:00.045) 0:01:49.375 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'absent', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\n\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:56 +0000 (0:00:00.142) 0:01:49.517 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:56 +0000 (0:00:00.059) 0:01:49.577 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'absent', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\n\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "state": "absent" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:54:56 +0000 (0:00:00.443) 0:01:50.020 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "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/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure', 'state': 'absent'}) => { "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/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "state": "absent", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514, 'state': 'absent'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "state": "absent", "target": "host.domain", "tcp_port": 1514, "type": "forwards" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514, 'state': 'absent'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local2", "name": "forwards_facility_only", "state": "absent", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:54:57 +0000 (0:00:00.114) 0:01:50.135 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure', 'state': 'absent'}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514, 'state': 'absent'}) included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514, 'state': 'absent'}) TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:54:57 +0000 (0:00:00.098) 0:01:50.233 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:57 +0000 (0:00:00.063) 0:01:50.297 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:57 +0000 (0:00:00.042) 0:01:50.340 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:57 +0000 (0:00:00.582) 0:01:50.922 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:57 +0000 (0:00:00.063) 0:01:50.986 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-files_test0 in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:54:57 +0000 (0:00:00.051) 0:01:51.038 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:57 +0000 (0:00:00.065) 0:01:51.103 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:58 +0000 (0:00:00.045) 0:01:51.148 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:58 +0000 (0:00:00.608) 0:01:51.757 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:58 +0000 (0:00:00.069) 0:01:51.826 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 22:54:58 +0000 (0:00:00.094) 0:01:51.921 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:58 +0000 (0:00:00.065) 0:01:51.986 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:58 +0000 (0:00:00.045) 0:01:52.032 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:59 +0000 (0:00:00.563) 0:01:52.595 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:59 +0000 (0:00:00.065) 0:01:52.661 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-files_test1 in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/files/main.yml:11 Tuesday 26 July 2022 22:54:59 +0000 (0:00:00.053) 0:01:52.715 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:54:59 +0000 (0:00:00.118) 0:01:52.833 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:54:59 +0000 (0:00:00.044) 0:01:52.878 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:54:59 +0000 (0:00:00.097) 0:01:52.976 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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 skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:54:59 +0000 (0:00:00.063) 0:01:53.039 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "state": "absent" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 22:55:00 +0000 (0:00:00.393) 0:01:53.432 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:55:00 +0000 (0:00:00.065) 0:01:53.498 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:55:00 +0000 (0:00:00.044) 0:01:53.542 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:55:01 +0000 (0:00:00.597) 0:01:54.139 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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 skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:55:01 +0000 (0:00:00.066) 0:01:54.205 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create forwards output configuration file output-forwards-forwards_severity_and_facility in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:11 Tuesday 26 July 2022 22:55:01 +0000 (0:00:00.052) 0:01:54.258 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:55:01 +0000 (0:00:00.066) 0:01:54.325 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:55:01 +0000 (0:00:00.043) 0:01:54.368 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:55:01 +0000 (0:00:00.096) 0:01:54.465 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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 skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:55:01 +0000 (0:00:00.101) 0:01:54.567 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "state": "absent" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 22:55:01 +0000 (0:00:00.439) 0:01:55.006 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:55:01 +0000 (0:00:00.070) 0:01:55.077 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:55:02 +0000 (0:00:00.046) 0:01:55.123 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:55:02 +0000 (0:00:00.565) 0:01:55.689 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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 skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:55:02 +0000 (0:00:00.069) 0:01:55.758 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create forwards output configuration file output-forwards-forwards_facility_only in /etc/rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/outputs/forwards/main.yml:11 Tuesday 26 July 2022 22:55:02 +0000 (0:00:00.051) 0:01:55.810 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 22:55:02 +0000 (0:00:00.074) 0:01:55.884 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 22:55:02 +0000 (0:00:00.042) 0:01:55.927 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:36 Tuesday 26 July 2022 22:55:02 +0000 (0:00:00.102) 0:01:56.029 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658876094.5722384-229902-239747452303729/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658876094.5722384-229902-239747452303729/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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 skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true } ] }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/deploy.yml:41 Tuesday 26 July 2022 22:55:02 +0000 (0:00:00.071) 0:01:56.101 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "state": "absent" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:55:03 +0000 (0:00:00.395) 0:01:56.496 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:55:03 +0000 (0:00:00.046) 0:01:56.542 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:55:03 +0000 (0:00:00.050) 0:01:56.593 ********** TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:55:03 +0000 (0:00:00.036) 0:01:56.629 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:55:03 +0000 (0:00:00.107) 0:01:56.736 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:55:03 +0000 (0:00:00.050) 0:01:56.787 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:55:03 +0000 (0:00:00.056) 0:01:56.843 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:55:03 +0000 (0:00:00.048) 0:01:56.892 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:54:44 UTC", "ActiveEnterTimestampMonotonic": "357416369", "ActiveExitTimestamp": "Tue 2022-07-26 22:54:44 UTC", "ActiveExitTimestampMonotonic": "357408173", "ActiveState": "active", "After": "basic.target network-online.target system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:54:44 UTC", "AssertTimestampMonotonic": "357410352", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:54:44 UTC", "ConditionTimestampMonotonic": "357410352", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "2139", "ExecMainStartTimestamp": "Tue 2022-07-26 22:54:44 UTC", "ExecMainStartTimestampMonotonic": "357411059", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:54:44 UTC] ; stop_time=[n/a] ; pid=2139 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 22:54:44 UTC", "InactiveEnterTimestampMonotonic": "357409947", "InactiveExitTimestamp": "Tue 2022-07-26 22:54:44 UTC", "InactiveExitTimestampMonotonic": "357411098", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "2139", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 22:54:44 UTC", "WatchdogTimestampMonotonic": "357416343", "WatchdogUSec": "0" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:55:04 +0000 (0:00:00.419) 0:01:57.312 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:55:04 +0000 (0:00:00.044) 0:01:57.356 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:496 Tuesday 26 July 2022 22:55:04 +0000 (0:00:00.074) 0:01:57.431 ********** RUNNING HANDLER [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:55:04 +0000 (0:00:00.000) 0:01:57.431 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:54:44 UTC", "ActiveEnterTimestampMonotonic": "357416369", "ActiveExitTimestamp": "Tue 2022-07-26 22:54:44 UTC", "ActiveExitTimestampMonotonic": "357408173", "ActiveState": "active", "After": "basic.target network-online.target system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:54:44 UTC", "AssertTimestampMonotonic": "357410352", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:54:44 UTC", "ConditionTimestampMonotonic": "357410352", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "2139", "ExecMainStartTimestamp": "Tue 2022-07-26 22:54:44 UTC", "ExecMainStartTimestampMonotonic": "357411059", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:54:44 UTC] ; stop_time=[n/a] ; pid=2139 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 22:54:44 UTC", "InactiveEnterTimestampMonotonic": "357409947", "InactiveExitTimestamp": "Tue 2022-07-26 22:54:44 UTC", "InactiveExitTimestampMonotonic": "357411098", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "2139", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 22:54:44 UTC", "WatchdogTimestampMonotonic": "357416343", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:500 Tuesday 26 July 2022 22:55:04 +0000 (0:00:00.438) 0:01:57.869 ********** included: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml for /cache/centos-7.qcow2c.snap TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 22:55:04 +0000 (0:00:00.072) 0:01:57.942 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658876084.8586707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658876071.3966708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876071.1926708, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "18446744072218935911", "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/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 22:55:05 +0000 (0:00:00.325) 0:01:58.267 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "examined": 9, "files": [ { "atime": 1658875984.5576708, "ctime": 1658875958.8886707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 9132297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1576682095.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": 1658876084.8586707, "ctime": 1658876072.1606708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7147, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876071.9396708, "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": 1658876084.8586707, "ctime": 1658876072.7766707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583259, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876072.5666707, "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": 1658876104.7576706, "ctime": 1658876095.1186707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583262, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876094.9066708, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 570, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876084.8586707, "ctime": 1658876075.0716708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244442, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876074.8636708, "nlink": 1, "path": "/etc/rsyslog.d/10-input-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 95, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876078.6856709, "ctime": 1658876077.1986709, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583260, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876076.9766707, "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": 1658876084.8586707, "ctime": 1658876078.0616708, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876077.8576708, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658876082.2576706, "ctime": 1658876080.6686707, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876080.4616706, "nlink": 1, "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 22:55:05 +0000 (0:00:00.315) 0:01:58.583 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 22:55:05 +0000 (0:00:00.114) 0:01:58.698 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 22:55:05 +0000 (0:00:00.029) 0:01:58.727 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 22:55:05 +0000 (0:00:00.045) 0:01:58.772 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-basics-basic_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "stat": { "atime": 1658876104.7576706, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "ctime": 1658876095.1186707, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12583262, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658876094.9066708, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 570, "uid": 0, "version": "18446744072221496788", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 22:55:06 +0000 (0:00:00.345) 0:01:59.118 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check /etc/rsyslog.d/90-input-basics-basic_input.conf was updated] ******* task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:509 Tuesday 26 July 2022 22:55:06 +0000 (0:00:00.028) 0:01:59.146 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "# GENERATED BASICS CONFIG FILE", "/etc/rsyslog.d/90-input-basics-basic_input.conf" ], "delta": "0:00:00.003506", "end": "2022-07-26 22:55:06.351163", "failed_when_result": false, "rc": 1, "start": "2022-07-26 22:55:06.347657" } MSG: non-zero return code TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:518 Tuesday 26 July 2022 22:55:06 +0000 (0:00:00.310) 0:01:59.457 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "systemctl", "status", "rsyslog" ], "delta": "0:00:00.009505", "end": "2022-07-26 22:55:06.670495", "failed_when_result": false, "rc": 0, "start": "2022-07-26 22:55:06.660990" } STDOUT: ● rsyslog.service - System Logging Service Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2022-07-26 22:55:04 UTC; 1s ago Docs: man:rsyslogd(8) http://www.rsyslog.com/doc/ Main PID: 3951 (rsyslogd) CGroup: /system.slice/rsyslog.service └─3951 /usr/sbin/rsyslogd -n Jul 26 22:55:04 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com systemd[1]: Stopped System Logging Service. Jul 26 22:55:04 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com systemd[1]: Starting System Logging Service... Jul 26 22:55:04 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com rsyslogd[3951]: [origin software="rsyslogd" swVersion="8.24.0-57.el7_9.3" x-pid="3951" x-info="http://www.rsyslog.com"] start Jul 26 22:55:04 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com rsyslogd[3951]: imfile: no files configured to be monitored - no input will be gathered [v8.24.0-57.el7_9.3 try http://www.rsyslog.com/e/2212 ] Jul 26 22:55:04 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com systemd[1]: Started System Logging Service. TASK [END TEST CASE 2; Clean up the deployed config] *************************** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:524 Tuesday 26 July 2022 22:55:06 +0000 (0:00:00.322) 0:01:59.779 ********** TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:5 Tuesday 26 July 2022 22:55:06 +0000 (0:00:00.107) 0:01:59.886 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:17 Tuesday 26 July 2022 22:55:06 +0000 (0:00:00.046) 0:01:59.933 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:24 Tuesday 26 July 2022 22:55:06 +0000 (0:00:00.057) 0:01:59.990 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:30 Tuesday 26 July 2022 22:55:06 +0000 (0:00:00.058) 0:02:00.049 ********** TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:39 Tuesday 26 July 2022 22:55:06 +0000 (0:00:00.033) 0:02:00.083 ********** TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:53 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.027) 0:02:00.110 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:57 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.053) 0:02:00.164 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:63 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.054) 0:02:00.218 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:69 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.092) 0:02:00.311 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:75 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.048) 0:02:00.359 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:79 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.048) 0:02:00.408 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/tasks/main.yml:98 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.049) 0:02:00.458 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.048) 0:02:00.506 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.044) 0:02:00.550 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:10 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.431) 0:02:00.981 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/set_vars.yml:22 Tuesday 26 July 2022 22:55:07 +0000 (0:00:00.084) 0:02:01.065 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpmjip1uv7/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 22:55:08 +0000 (0:00:00.086) 0:02:01.152 ********** included: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 22:55:08 +0000 (0:00:00.075) 0:02:01.227 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.065437", "end": "2022-07-26 22:55:08.521195", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 22:55:08.455758" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 22:55:08 +0000 (0:00:00.401) 0:02:01.628 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "removed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n rsyslog x86_64 8.24.0-57.el7_9.3 @updates 1.9 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \nwarning: /etc/rsyslog.conf saved as /etc/rsyslog.conf.rpmsave\n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nRemoved:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:33 Tuesday 26 July 2022 22:55:09 +0000 (0:00:01.427) 0:02:03.056 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.cs.vt.edu\n * extras: centos-distro.cavecreek.net\n * updates: mirror.math.princeton.edu\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n rsyslog x86_64 8.24.0-57.el7_9.3 updates 622 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 622 k\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nInstalled:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:45 Tuesday 26 July 2022 22:55:11 +0000 (0:00:01.851) 0:02:04.908 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:49 Tuesday 26 July 2022 22:55:11 +0000 (0:00:00.039) 0:02:04.948 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:53 Tuesday 26 July 2022 22:55:12 +0000 (0:00:00.831) 0:02:05.779 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:60 Tuesday 26 July 2022 22:55:12 +0000 (0:00:00.041) 0:02:05.821 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:66 Tuesday 26 July 2022 22:55:12 +0000 (0:00:00.041) 0:02:05.862 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:73 Tuesday 26 July 2022 22:55:12 +0000 (0:00:00.030) 0:02:05.893 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:80 Tuesday 26 July 2022 22:55:12 +0000 (0:00:00.041) 0:02:05.935 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:87 Tuesday 26 July 2022 22:55:13 +0000 (0:00:00.338) 0:02:06.273 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "state": "directory", "uid": 0 } TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 22:55:13 +0000 (0:00:00.332) 0:02:06.606 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:102 Tuesday 26 July 2022 22:55:13 +0000 (0:00:00.374) 0:02:06.980 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1642101032.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658876111.5286708, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7128, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "18446744071710757700", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:107 Tuesday 26 July 2022 22:55:14 +0000 (0:00:00.382) 0:02:07.362 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:117 Tuesday 26 July 2022 22:55:14 +0000 (0:00:00.042) 0:02:07.404 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 Tuesday 26 July 2022 22:55:14 +0000 (0:00:00.103) 0:02:07.508 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:164 Tuesday 26 July 2022 22:55:14 +0000 (0:00:00.054) 0:02:07.562 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:168 Tuesday 26 July 2022 22:55:14 +0000 (0:00:00.050) 0:02:07.612 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:186 Tuesday 26 July 2022 22:55:14 +0000 (0:00:00.054) 0:02:07.667 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:197 Tuesday 26 July 2022 22:55:14 +0000 (0:00:00.028) 0:02:07.696 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:216 Tuesday 26 July 2022 22:55:14 +0000 (0:00:00.039) 0:02:07.736 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:228 Tuesday 26 July 2022 22:55:14 +0000 (0:00:00.028) 0:02:07.764 ********** TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:240 Tuesday 26 July 2022 22:55:14 +0000 (0:00:00.025) 0:02:07.790 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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.299105", "end": "2022-07-26 22:55:15.312810", "failed_when_result": false, "rc": 0, "start": "2022-07-26 22:55:15.013705" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-files-modules.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/10-output-forwards-modules.conf /etc/rsyslog.d/30-output-files-files_test0.conf /etc/rsyslog.d/90-input-basics-basic_input.conf TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:257 Tuesday 26 July 2022 22:55:15 +0000 (0:00:00.627) 0:02:08.418 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-input-files-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-files-modules.conf", "path": "/etc/rsyslog.d/10-input-files-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-output-forwards-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-forwards-modules.conf", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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" } NOTIFIED HANDLER /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:283 Tuesday 26 July 2022 22:55:17 +0000 (0:00:02.151) 0:02:10.569 ********** TASK [/tmp/tmpmjip1uv7/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/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 22:55:17 +0000 (0:00:00.037) 0:02:10.606 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 22:55:17 +0000 (0:00:00.085) 0:02:10.692 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:327 Tuesday 26 July 2022 22:55:17 +0000 (0:00:00.043) 0:02:10.735 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:343 Tuesday 26 July 2022 22:55:17 +0000 (0:00:00.042) 0:02:10.778 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:374 Tuesday 26 July 2022 22:55:17 +0000 (0:00:00.045) 0:02:10.823 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice network.target network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:383 Tuesday 26 July 2022 22:55:18 +0000 (0:00:00.425) 0:02:11.249 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:394 Tuesday 26 July 2022 22:55:18 +0000 (0:00:00.041) 0:02:11.291 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Cleaning up __testfile__] ************************************************ task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:530 Tuesday 26 July 2022 22:55:18 +0000 (0:00:00.073) 0:02:11.364 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "path": "/tmp/__testfile__", "state": "absent" } TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpmjip1uv7/tests/tests_combination.yml:537 Tuesday 26 July 2022 22:55:18 +0000 (0:00:00.316) 0:02:11.681 ********** RUNNING HANDLER [/tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** task path: /tmp/tmpmjip1uv7/roles/rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 22:55:18 +0000 (0:00:00.000) 0:02:11.681 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 22:55:18 UTC", "ActiveEnterTimestampMonotonic": "390692998", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice network.target network-online.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 22:55:18 UTC", "AssertTimestampMonotonic": "390686777", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 22:55:18 UTC", "ConditionTimestampMonotonic": "390686777", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5222", "ExecMainStartTimestamp": "Tue 2022-07-26 22:55:18 UTC", "ExecMainStartTimestampMonotonic": "390687518", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 22:55:18 UTC] ; stop_time=[n/a] ; pid=5222 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-26 22:55:18 UTC", "InactiveExitTimestampMonotonic": "390687568", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "5222", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 22:55:18 UTC", "WatchdogTimestampMonotonic": "390692964", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=380 changed=60 unreachable=0 failed=0 skipped=282 rescued=0 ignored=0 Tuesday 26 July 2022 22:55:19 +0000 (0:00:00.451) 0:02:12.132 ********** =============================================================================== /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 3.59s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:257 ------------------------ /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 3.34s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:257 ------------------------ /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd --- 3.03s /tmp/tmpmjip1uv7/roles/rsyslog/handlers/main.yml:2 ---------------------------- /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 2.15s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:257 ------------------------ /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 1.85s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:33 ------------------------- /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 1.77s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:33 ------------------------- /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 1.76s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:33 ------------------------- /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 1.43s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:23 ------------------------- /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 1.29s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:23 ------------------------- /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 1.28s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:23 ------------------------- /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d --- 1.25s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 ------------------------ /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d --- 1.19s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 ------------------------ /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d --- 1.18s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 ------------------------ /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts --- 1.14s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:49 ------------------------- /tmp/tmpmjip1uv7/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d --- 1.10s /tmp/tmpmjip1uv7/roles/rsyslog/tasks/main_core.yml:140 ------------------------ Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpmjip1uv7/tests/tests_combination.yml:2 -------------------------------- Check the input call with tag=files_input ------------------------------- 1.04s /tmp/tmpmjip1uv7/tests/tests_combination.yml:142 ------------------------------ Check conf files exist -------------------------------------------------- 0.93s /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:26 ----------------- Check conf files exist -------------------------------------------------- 0.93s /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:26 ----------------- Check conf files exist -------------------------------------------------- 0.93s /tmp/tmpmjip1uv7/tests/tasks/check_daemon_config_files.yml:26 ----------------- 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/tmprpwa1_ne 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: tests_combination.yml ************************************************ 1 plays in /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml PLAY [Combination test - test for (2 types of inputs) x (2 types of outputs) combination] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:2 Tuesday 26 July 2022 23:10:52 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Generate an input log dir /var/log/inputdirectory] *********************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:15 Tuesday 26 July 2022 23:10:53 +0000 (0:00:01.048) 0:00:01.061 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/log/inputdirectory", "secontext": "unconfined_u:object_r:var_log_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [TEST CASE 0; Ensure that the role runs with complicated flows - M x N combinations] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:22 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.430) 0:00:01.491 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.055) 0:00:01.546 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.040) 0:00:01.587 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [ { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.051) 0:00:01.639 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [ { "endmsg_regex": "xyz", "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" }, { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "name": "basic_input", "ratelimit_burst": 44444, "type": "basics" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.047) 0:00:01.686 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "ansible_loop_var": "item", "changed": false, "item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.067) 0:00:01.754 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_0', 'inputs': ['basic_input'], 'outputs': ['files_test0', 'files_test1', 'forwards_severity_and_facility', 'forwards_facility_only']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_0", "outputs": [ "files_test0", "files_test1", "forwards_severity_and_facility", "forwards_facility_only" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_1', 'inputs': ['files_input'], 'outputs': ['files_test0', 'files_test1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "files_input" ], "name": "flow_1", "outputs": [ "files_test0", "files_test1" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.057) 0:00:01.812 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.039) 0:00:01.851 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.037) 0:00:01.889 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.039) 0:00:01.928 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.037) 0:00:01.966 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.036) 0:00:02.003 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.039) 0:00:02.042 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.035) 0:00:02.078 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 23:10:54 +0000 (0:00:00.029) 0:00:02.107 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 23:10:55 +0000 (0:00:00.406) 0:00:02.514 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 23:10:55 +0000 (0:00:00.063) 0:00:02.577 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 23:10:55 +0000 (0:00:00.079) 0:00:02.657 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 23:10:55 +0000 (0:00:00.081) 0:00:02.739 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 23:10:55 +0000 (0:00:00.045) 0:00:02.784 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 23:10:55 +0000 (0:00:00.034) 0:00:02.818 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "rsyslog-8.24.0-57.el7_9.3.x86_64 providing rsyslog is already installed" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 23:10:56 +0000 (0:00:00.741) 0:00:03.560 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 23:10:56 +0000 (0:00:00.031) 0:00:03.591 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 23:10:57 +0000 (0:00:01.155) 0:00:04.746 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 23:10:57 +0000 (0:00:00.042) 0:00:04.789 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 23:10:57 +0000 (0:00:00.042) 0:00:04.832 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 23:10:57 +0000 (0:00:00.028) 0:00:04.860 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 23:10:57 +0000 (0:00:00.042) 0:00:04.903 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create a work directory] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 23:10:58 +0000 (0:00:00.327) 0:00:05.230 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/lib/rsyslog", "secontext": "system_u:object_r:syslogd_var_lib_t:s0", "size": 29, "state": "directory", "uid": 0 } TASK [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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 23:10:58 +0000 (0:00:00.322) 0:00:05.553 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 23:10:58 +0000 (0:00:00.329) 0:00:05.882 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658877045.0273895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658877042.2683895, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "487601770", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 23:10:59 +0000 (0:00:00.467) 0:00:06.350 ********** NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "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-1658877059.225252-262727-66517751764513/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 23:10:59 +0000 (0:00:00.726) 0:00:07.077 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 23:11:00 +0000 (0:00:00.163) 0:00:07.240 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-1658877060.1307418-262757-221981586415306/source", "state": "file", "uid": 0 } skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-1658877060.6895928-262757-18852022851608/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 23:11:01 +0000 (0:00:01.157) 0:00:08.398 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.054) 0:00:08.452 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.055) 0:00:08.508 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log', 'endmsg_regex': 'xyz'}) => { "ansible_facts": { "__rsyslog_conf_imfile_modules": [ { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" } ], "__rsyslog_files_input_packages": [], "__rsyslog_files_input_rules": [ "{{ __rsyslog_conf_imfile_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "endmsg_regex": "xyz", "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/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", "ratelimit_burst": 33333, "type": "basics" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 44444}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/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", "ratelimit_burst": 44444, "type": "basics" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.083) 0:00:08.591 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 44444}) => { "ansible_loop": { "allitems": [ { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "name": "basic_input", "ratelimit_burst": 44444, "type": "basics" }, { "endmsg_regex": "xyz", "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } ], "first": false, "index": 2, "index0": 1, "last": false, "length": 3, "nextitem": { "endmsg_regex": "xyz", "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" }, "previtem": { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, "revindex": 2, "revindex0": 1 }, "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "ratelimit_burst": 44444, "type": "basics" }, "skip_reason": "Conditional result was False" } included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log', 'endmsg_regex': 'xyz'}) TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update basics input packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.100) 0:00:08.692 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.065) 0:00:08.758 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.047) 0:00:08.805 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.044) 0:00:08.850 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.059) 0:00:08.909 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.042) 0:00:08.951 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.064) 0:00:09.016 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:01 +0000 (0:00:00.040) 0:00:09.056 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:02 +0000 (0:00:00.703) 0:00:09.760 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:02 +0000 (0:00:00.057) 0:00:09.818 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml:3 Tuesday 26 July 2022 23:11:02 +0000 (0:00:00.116) 0:00:09.935 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:02 +0000 (0:00:00.061) 0:00:09.997 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:02 +0000 (0:00:00.042) 0:00:10.040 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:03 +0000 (0:00:00.603) 0:00:10.644 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877062.9252264-262868-241131967241195/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:03 +0000 (0:00:00.060) 0:00:10.704 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create files input configuration file input-files-files_input in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml:11 Tuesday 26 July 2022 23:11:03 +0000 (0:00:00.049) 0:00:10.753 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:03 +0000 (0:00:00.071) 0:00:10.824 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:03 +0000 (0:00:00.043) 0:00:10.868 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n endmsg.regex="xyz"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:04 +0000 (0:00:00.723) 0:00:11.591 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877062.9252264-262868-241131967241195/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:04 +0000 (0:00:00.071) 0:00:11.663 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n endmsg.regex="xyz"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 23:11:04 +0000 (0:00:00.121) 0:00:11.785 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "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/tmprpwa1_ne/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": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "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/tmprpwa1_ne/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": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 23:11:04 +0000 (0:00:00.106) 0:00:11.891 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 23:11:04 +0000 (0:00:00.097) 0:00:11.989 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:04 +0000 (0:00:00.064) 0:00:12.053 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:04 +0000 (0:00:00.043) 0:00:12.096 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:05 +0000 (0:00:00.553) 0:00:12.649 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877062.9252264-262868-241131967241195/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:05 +0000 (0:00:00.061) 0:00:12.711 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-files_test0 in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 23:11:05 +0000 (0:00:00.051) 0:00:12.763 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:05 +0000 (0:00:00.066) 0:00:12.829 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:05 +0000 (0:00:00.055) 0:00:12.885 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:06 +0000 (0:00:00.703) 0:00:13.588 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877062.9252264-262868-241131967241195/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:06 +0000 (0:00:00.065) 0:00:13.654 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 23:11:06 +0000 (0:00:00.090) 0:00:13.745 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:06 +0000 (0:00:00.065) 0:00:13.810 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:06 +0000 (0:00:00.043) 0:00:13.854 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:07 +0000 (0:00:00.563) 0:00:14.417 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877062.9252264-262868-241131967241195/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:07 +0000 (0:00:00.064) 0:00:14.481 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-files_test1 in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 23:11:07 +0000 (0:00:00.049) 0:00:14.531 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:07 +0000 (0:00:00.075) 0:00:14.607 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:07 +0000 (0:00:00.047) 0:00:14.654 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:08 +0000 (0:00:00.644) 0:00:15.299 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877062.9252264-262868-241131967241195/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:08 +0000 (0:00:00.069) 0:00:15.368 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 23:11:08 +0000 (0:00:00.134) 0:00:15.503 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:08 +0000 (0:00:00.134) 0:00:15.637 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:08 +0000 (0:00:00.044) 0:00:15.682 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877068.5800712-263080-64105407618276/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:09 +0000 (0:00:00.619) 0:00:16.301 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877062.9252264-262868-241131967241195/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877068.5800712-263080-64105407618276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877068.5800712-263080-64105407618276/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:09 +0000 (0:00:00.068) 0:00:16.370 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file output-forwards-forwards_severity_and_facility in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Tuesday 26 July 2022 23:11:09 +0000 (0:00:00.059) 0:00:16.429 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:09 +0000 (0:00:00.067) 0:00:16.497 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:09 +0000 (0:00:00.043) 0:00:16.541 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877069.4730308-263116-250843344320123/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:10 +0000 (0:00:00.653) 0:00:17.194 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877062.9252264-262868-241131967241195/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877068.5800712-263080-64105407618276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877068.5800712-263080-64105407618276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877069.4730308-263116-250843344320123/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877069.4730308-263116-250843344320123/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:10 +0000 (0:00:00.069) 0:00:17.263 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 23:11:10 +0000 (0:00:00.091) 0:00:17.354 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:10 +0000 (0:00:00.066) 0:00:17.421 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:10 +0000 (0:00:00.044) 0:00:17.465 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:10 +0000 (0:00:00.590) 0:00:18.056 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877062.9252264-262868-241131967241195/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877068.5800712-263080-64105407618276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877068.5800712-263080-64105407618276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877069.4730308-263116-250843344320123/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877069.4730308-263116-250843344320123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:10 +0000 (0:00:00.070) 0:00:18.126 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file output-forwards-forwards_facility_only in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Tuesday 26 July 2022 23:11:10 +0000 (0:00:00.053) 0:00:18.179 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:11 +0000 (0:00:00.068) 0:00:18.248 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:11 +0000 (0:00:00.045) 0:00:18.293 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658877071.221454-263183-67386068513380/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:11 +0000 (0:00:00.641) 0:00:18.935 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877060.1307418-262757-221981586415306/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-1658877060.1307418-262757-221981586415306/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-1658877060.6895928-262757-18852022851608/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-1658877060.6895928-262757-18852022851608/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877062.0466223-262832-113178460824225/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.0466223-262832-113178460824225/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877062.9252264-262868-241131967241195/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877062.9252264-262868-241131967241195/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n endmsg.regex=\"xyz\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "unsafe_writes": false, "validate": null } }, "md5sum": "37269a27c4895e98cef5b1d161aef605", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 263, "src": "/root/.ansible/tmp/ansible-tmp-1658877063.8781908-262904-213421076859949/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877065.8516912-262977-23284989991489/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877067.5838754-263044-77968886609053/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877068.5800712-263080-64105407618276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877068.5800712-263080-64105407618276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877069.4730308-263116-250843344320123/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877069.4730308-263116-250843344320123/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877071.221454-263183-67386068513380/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658877071.221454-263183-67386068513380/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:11 +0000 (0:00:00.070) 0:00:19.005 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 23:11:11 +0000 (0:00:00.094) 0:00:19.100 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 23:11:11 +0000 (0:00:00.046) 0:00:19.146 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 23:11:12 +0000 (0:00:00.052) 0:00:19.199 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 23:11:12 +0000 (0:00:00.042) 0:00:19.241 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 23:11:12 +0000 (0:00:00.058) 0:00:19.300 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 23:11:12 +0000 (0:00:00.048) 0:00:19.348 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 23:11:12 +0000 (0:00:00.050) 0:00:19.399 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 23:11:12 +0000 (0:00:00.090) 0:00:19.489 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:10:50 UTC", "ActiveEnterTimestampMonotonic": "260287606", "ActiveExitTimestamp": "Tue 2022-07-26 23:10:50 UTC", "ActiveExitTimestampMonotonic": "260280094", "ActiveState": "active", "After": "system.slice basic.target network-online.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:10:50 UTC", "AssertTimestampMonotonic": "260282136", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:10:50 UTC", "ConditionTimestampMonotonic": "260282136", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "24723", "ExecMainStartTimestamp": "Tue 2022-07-26 23:10:50 UTC", "ExecMainStartTimestampMonotonic": "260282792", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:10:50 UTC] ; stop_time=[n/a] ; pid=24723 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 23:10:50 UTC", "InactiveEnterTimestampMonotonic": "260281789", "InactiveExitTimestamp": "Tue 2022-07-26 23:10:50 UTC", "InactiveExitTimestampMonotonic": "260282829", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "24723", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 23:10:50 UTC", "WatchdogTimestampMonotonic": "260287580", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 23:11:12 +0000 (0:00:00.647) 0:00:20.136 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 23:11:12 +0000 (0:00:00.042) 0:00:20.179 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:76 Tuesday 26 July 2022 23:11:13 +0000 (0:00:00.071) 0:00:20.251 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 23:11:13 +0000 (0:00:00.000) 0:00:20.251 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:10:50 UTC", "ActiveEnterTimestampMonotonic": "260287606", "ActiveExitTimestamp": "Tue 2022-07-26 23:10:50 UTC", "ActiveExitTimestampMonotonic": "260280094", "ActiveState": "active", "After": "system.slice basic.target network-online.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:10:50 UTC", "AssertTimestampMonotonic": "260282136", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:10:50 UTC", "ConditionTimestampMonotonic": "260282136", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "24723", "ExecMainStartTimestamp": "Tue 2022-07-26 23:10:50 UTC", "ExecMainStartTimestampMonotonic": "260282792", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:10:50 UTC] ; stop_time=[n/a] ; pid=24723 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 23:10:50 UTC", "InactiveEnterTimestampMonotonic": "260281789", "InactiveExitTimestamp": "Tue 2022-07-26 23:10:50 UTC", "InactiveExitTimestampMonotonic": "260282829", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "24723", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 23:10:50 UTC", "WatchdogTimestampMonotonic": "260287580", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:79 Tuesday 26 July 2022 23:11:13 +0000 (0:00:00.422) 0:00:20.673 ********** included: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml for /cache/centos-7.qcow2c.snap TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 23:11:13 +0000 (0:00:00.050) 0:00:20.724 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658877073.2573895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658877059.6613896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12583259, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877059.3253896, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "1747264571", "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/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 23:11:13 +0000 (0:00:00.309) 0:00:21.033 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "examined": 14, "files": [ { "atime": 1658877036.2113895, "ctime": 1658877024.4693894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876810.7673895, "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": 1658877037.0873895, "ctime": 1658877024.4693894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431914, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658876854.5063896, "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": 1658877050.2173896, "ctime": 1658877024.4693894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 9132297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1576682095.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": 1658877073.2583895, "ctime": 1658877060.4343896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877060.2273896, "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": 1658877073.2583895, "ctime": 1658877060.9893894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244453, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877060.7853894, "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": 1658877073.2583895, "ctime": 1658877062.3493896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7125, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877062.1453896, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 879, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877073.2583895, "ctime": 1658877063.2293894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583260, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877063.0153894, "nlink": 1, "path": "/etc/rsyslog.d/10-input-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 95, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877073.2583895, "ctime": 1658877064.1733894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877063.9683895, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877073.2583895, "ctime": 1658877066.1503894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877065.9473896, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877073.2583895, "ctime": 1658877067.8843894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431907, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877067.6763895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 92, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877070.4433894, "ctime": 1658877068.8873894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877068.6743896, "nlink": 1, "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877073.2583895, "ctime": 1658877069.7813895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877069.5763896, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877073.2583895, "ctime": 1658877071.5213895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877071.3103895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 257, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 13, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 23:11:14 +0000 (0:00:00.439) 0:00:21.473 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 23:11:14 +0000 (0:00:00.043) 0:00:21.516 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 23:11:14 +0000 (0:00:00.067) 0:00:21.583 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 23:11:14 +0000 (0:00:00.038) 0:00:21.622 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "stat": { "atime": 1658877073.2583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "ctime": 1658877066.1503894, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877065.9473896, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "version": "18446744073065362658", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "stat": { "atime": 1658877073.2583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "ctime": 1658877069.7813895, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877069.5763896, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1375523647", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-files-files_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-files-files_input.conf", "stat": { "atime": 1658877073.2583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "ctime": 1658877064.1733894, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8431906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877063.9683895, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "version": "18446744073638605725", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 23:11:15 +0000 (0:00:00.928) 0:00:22.551 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the files config exists] **************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:90 Tuesday 26 July 2022 23:11:15 +0000 (0:00:00.030) 0:00:22.581 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1658877073.2583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "ctime": 1658877066.1503894, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7134, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877065.9473896, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "version": "18446744073065362658", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check the filter and action in the files output config] ****************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:97 Tuesday 26 July 2022 23:11:15 +0000 (0:00:00.454) 0:00:23.035 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "\\*.info;authpriv.none;auth.none;cron.none;mail.none.*/var/log/messages", "/etc/rsyslog.d/30-output-files-files_test0.conf" ], "delta": "0:00:00.003543", "end": "2022-07-26 23:11:16.163074", "rc": 0, "start": "2022-07-26 23:11:16.159531" } STDOUT: *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages TASK [Ensure logger message is logged in a file] ******************************* task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:105 Tuesday 26 July 2022 23:11:16 +0000 (0:00:00.532) 0:00:23.568 ********** included: /tmp/tmpfihyqvnh/tests/logging/tasks/test_logger.yml for /cache/centos-7.qcow2c.snap TASK [Run logger to generate a test log message] ******************************* task path: /tmp/tmpfihyqvnh/tests/logging/tasks/test_logger.yml:2 Tuesday 26 July 2022 23:11:16 +0000 (0:00:00.049) 0:00:23.618 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/logger", "-i", "-p", "local6.info", "-t", "testTag0", "testMessage0" ], "delta": "0:00:00.003284", "end": "2022-07-26 23:11:16.521685", "rc": 0, "start": "2022-07-26 23:11:16.518401" } TASK [Check the test log message in /var/log/messages] ************************* task path: /tmp/tmpfihyqvnh/tests/logging/tasks/test_logger.yml:9 Tuesday 26 July 2022 23:11:16 +0000 (0:00:00.313) 0:00:23.931 ********** ok: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": false, "cmd": [ "/bin/grep", "testMessage0", "/var/log/messages" ], "delta": "0:00:00.004141", "end": "2022-07-26 23:11:16.842739", "rc": 0, "start": "2022-07-26 23:11:16.838598" } STDOUT: 2022-07-26T23:06:55.820527+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/logger -i -p local6.info -t testTag0 testMessage0 removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T23:06:55.822914+00:00 ibm-p8-kvm-03-guest-02 testTag0[2893]: testMessage0 2022-07-26T23:06:56.129981+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/grep "testMessage0" "/var/log/messages" removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T23:09:01.675038+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/logger -i -p local6.info -t testTag0 testMessage0 removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T23:09:01.677992+00:00 ibm-p8-kvm-03-guest-02 testTag0[14663]: testMessage0 2022-07-26T23:09:02.006738+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/grep "testMessage0" "/var/log/messages" removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T23:11:16.518949+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/logger -i -p local6.info -t testTag0 testMessage0 removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T23:11:16.521679+00:00 ibm-p8-kvm-03-guest-02 testTag0[27011]: testMessage0 2022-07-26T23:11:16.838799+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/grep "testMessage0" "/var/log/messages" removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None TASK [Generate a file to check severity_and_facility] ************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:111 Tuesday 26 July 2022 23:11:17 +0000 (0:00:00.324) 0:00:24.255 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "checksum": "e54e538a08d63b687dff2f5c504e9cf8fec6a858", "dest": "/tmp/__testfile__", "gid": 0, "group": "root", "md5sum": "8600fad6bbb0cd832d5237150ec64404", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 274, "src": "/root/.ansible/tmp/ansible-tmp-1658877077.1478121-263415-263359904590999/source", "state": "file", "uid": 0 } TASK [Check severity_and_facility] ********************************************* task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:129 Tuesday 26 July 2022 23:11:17 +0000 (0:00:00.613) 0:00:24.868 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "diff", "-B", "/tmp/__testfile__", "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf" ], "delta": "0:00:00.003713", "end": "2022-07-26 23:11:17.816674", "rc": 0, "start": "2022-07-26 23:11:17.812961" } TASK [Check if the input files config exists] ********************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:133 Tuesday 26 July 2022 23:11:18 +0000 (0:00:00.356) 0:00:25.225 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1658877073.2583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "024c7b36e843d6ef91adde5e34b4598c5efa1d57", "ctime": 1658877064.1733894, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8431906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877063.9683895, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "version": "18446744073638605725", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check the input call with tag=files_input] ******************************* task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:139 Tuesday 26 July 2022 23:11:18 +0000 (0:00:00.321) 0:00:25.546 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=type="imfile") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "type=\"imfile\"" } ok: [/cache/centos-7.qcow2c.snap] => (item=file="/var/log/inputdirectory/*.log") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "file=\"/var/log/inputdirectory/*.log\"" } ok: [/cache/centos-7.qcow2c.snap] => (item=tag="files_input") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "tag=\"files_input\"" } TASK [Create a test log file with a log message in /var/log/inputdirectory] **** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:153 Tuesday 26 July 2022 23:11:19 +0000 (0:00:01.015) 0:00:26.562 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\necho '<167>Mar 20 01:00:00 11.22.33.44 tag msgnum:00000000:26:abcdefghijklmnopqrstuvwxyz' > /var/log/inputdirectory/test.log", "delta": "0:00:00.003948", "end": "2022-07-26 23:11:19.462908", "rc": 0, "start": "2022-07-26 23:11:19.458960" } TASK [Check the fake test log message in /var/log/messages] ******************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:159 Tuesday 26 July 2022 23:11:19 +0000 (0:00:00.307) 0:00:26.870 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "files_input .*abcdefghijklmnopqrstuvwxyz$", "/var/log/messages" ], "delta": "0:00:00.003908", "end": "2022-07-26 23:11:19.764575", "rc": 0, "start": "2022-07-26 23:11:19.760667" } STDOUT: 2022-07-26T23:11:19.462851+00:00 ibm-p8-kvm-03-guest-02 files_input <167>Mar 20 01:00:00 11.22.33.44 tag msgnum:00000000:26:abcdefghijklmnopqrstuvwxyz TASK [Create a test log file with a log message in /var/log/inputdirectory which will not be logged due to the regex condition] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:166 Tuesday 26 July 2022 23:11:19 +0000 (0:00:00.301) 0:00:27.171 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\necho '<167>Jul 22 01:00:00 11.22.33.44 tag msgnum:00000000:24:test message 0123456789' > /var/log/inputdirectory/test.log", "delta": "0:00:00.003944", "end": "2022-07-26 23:11:20.072945", "rc": 0, "start": "2022-07-26 23:11:20.069001" } TASK [Check the fake second test log message is not in /var/log/messages] ****** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:172 Tuesday 26 July 2022 23:11:20 +0000 (0:00:00.307) 0:00:27.479 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "files_input .*test message 0123456789$", "/var/log/messages" ], "delta": "0:00:00.003929", "end": "2022-07-26 23:11:20.383886", "failed_when_result": false, "rc": 1, "start": "2022-07-26 23:11:20.379957" } MSG: non-zero return code TASK [END TEST CASE 0; Clean up the deployed config] *************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:180 Tuesday 26 July 2022 23:11:20 +0000 (0:00:00.315) 0:00:27.794 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 23:11:20 +0000 (0:00:00.103) 0:00:27.898 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 23:11:20 +0000 (0:00:00.056) 0:00:27.954 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 23:11:20 +0000 (0:00:00.067) 0:00:28.022 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 23:11:20 +0000 (0:00:00.061) 0:00:28.084 ********** TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 23:11:20 +0000 (0:00:00.029) 0:00:28.114 ********** TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 23:11:20 +0000 (0:00:00.026) 0:00:28.140 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 23:11:20 +0000 (0:00:00.049) 0:00:28.189 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 23:11:21 +0000 (0:00:00.048) 0:00:28.238 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 23:11:21 +0000 (0:00:00.047) 0:00:28.285 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 23:11:21 +0000 (0:00:00.049) 0:00:28.335 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 23:11:21 +0000 (0:00:00.047) 0:00:28.383 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 23:11:21 +0000 (0:00:00.048) 0:00:28.431 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 23:11:21 +0000 (0:00:00.045) 0:00:28.477 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 23:11:21 +0000 (0:00:00.046) 0:00:28.523 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 23:11:21 +0000 (0:00:00.422) 0:00:28.945 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 23:11:21 +0000 (0:00:00.082) 0:00:29.028 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 23:11:21 +0000 (0:00:00.089) 0:00:29.118 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 23:11:22 +0000 (0:00:00.098) 0:00:29.216 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.060588", "end": "2022-07-26 23:11:22.265475", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 23:11:22.204887" } 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 23:11:22 +0000 (0:00:00.459) 0:00:29.676 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "removed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n rsyslog x86_64 8.24.0-57.el7_9.3 @updates 1.9 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \nwarning: /etc/rsyslog.conf saved as /etc/rsyslog.conf.rpmsave\n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nRemoved:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 23:11:23 +0000 (0:00:01.238) 0:00:30.914 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.cs.vt.edu\n * extras: centos-distro.cavecreek.net\n * updates: mirror.math.princeton.edu\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n rsyslog x86_64 8.24.0-57.el7_9.3 updates 622 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 622 k\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nInstalled:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 23:11:25 +0000 (0:00:01.777) 0:00:32.691 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 23:11:25 +0000 (0:00:00.041) 0:00:32.733 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 23:11:26 +0000 (0:00:00.834) 0:00:33.567 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 23:11:26 +0000 (0:00:00.044) 0:00:33.612 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 23:11:26 +0000 (0:00:00.079) 0:00:33.691 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 23:11:26 +0000 (0:00:00.033) 0:00:33.725 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 23:11:26 +0000 (0:00:00.042) 0:00:33.767 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 23:11:26 +0000 (0:00:00.395) 0:00:34.162 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 23:11:27 +0000 (0:00:00.336) 0:00:34.498 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 23:11:27 +0000 (0:00:00.341) 0:00:34.840 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1642101032.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658877085.0113895, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7124, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "18446744073614166881", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 23:11:27 +0000 (0:00:00.337) 0:00:35.178 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 23:11:28 +0000 (0:00:00.045) 0:00:35.224 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 23:11:28 +0000 (0:00:00.103) 0:00:35.327 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 23:11:28 +0000 (0:00:00.062) 0:00:35.390 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 23:11:28 +0000 (0:00:00.059) 0:00:35.449 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 23:11:28 +0000 (0:00:00.060) 0:00:35.509 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 23:11:28 +0000 (0:00:00.028) 0:00:35.537 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 23:11:28 +0000 (0:00:00.043) 0:00:35.581 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 23:11:28 +0000 (0:00:00.027) 0:00:35.608 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 23:11:28 +0000 (0:00:00.026) 0:00:35.635 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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.459816", "end": "2022-07-26 23:11:29.000714", "failed_when_result": false, "rc": 0, "start": "2022-07-26 23:11:28.540898" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-files-modules.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/10-output-forwards-modules.conf /etc/rsyslog.d/30-output-files-default_files.conf /etc/rsyslog.d/30-output-files-files_test0.conf /etc/rsyslog.d/30-output-files-files_test1.conf /etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf /etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf /etc/rsyslog.d/90-input-basics-basic_input.conf /etc/rsyslog.d/90-input-files-files_input.conf TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 23:11:29 +0000 (0:00:00.775) 0:00:36.410 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-input-files-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-files-modules.conf", "path": "/etc/rsyslog.d/10-input-files-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-output-forwards-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-forwards-modules.conf", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test1.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-files_test1.conf", "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-files-files_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-files-files_input.conf", "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 23:11:32 +0000 (0:00:03.579) 0:00:39.990 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 23:11:32 +0000 (0:00:00.039) 0:00:40.029 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 23:11:32 +0000 (0:00:00.058) 0:00:40.088 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 23:11:32 +0000 (0:00:00.045) 0:00:40.133 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 23:11:32 +0000 (0:00:00.043) 0:00:40.177 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 23:11:33 +0000 (0:00:00.047) 0:00:40.225 ********** changed: [/cache/centos-7.qcow2c.snap] => { "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", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 23:11:33 +0000 (0:00:00.445) 0:00:40.671 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 23:11:33 +0000 (0:00:00.045) 0:00:40.716 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:188 Tuesday 26 July 2022 23:11:33 +0000 (0:00:00.069) 0:00:40.786 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 23:11:33 +0000 (0:00:00.000) 0:00:40.786 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ActiveEnterTimestampMonotonic": "302767358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:11:33 UTC", "AssertTimestampMonotonic": "302760405", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ConditionTimestampMonotonic": "302760404", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28880", "ExecMainStartTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ExecMainStartTimestampMonotonic": "302761500", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:11:33 UTC] ; stop_time=[n/a] ; pid=28880 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-26 23:11:33 UTC", "InactiveExitTimestampMonotonic": "302761543", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28880", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 23:11:33 UTC", "WatchdogTimestampMonotonic": "302767326", "WatchdogUSec": "0" } } META: ran handlers TASK [TEST CASE 1; Ensure that the role runs with complicated flows - N x M combinations] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:192 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.431) 0:00:41.218 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.115) 0:00:41.334 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.048) 0:00:41.382 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [ { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.061) 0:00:41.444 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.059) 0:00:41.504 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "ansible_loop_var": "item", "changed": false, "item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.086) 0:00:41.590 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_0', 'inputs': ['basic_input', 'files_input'], 'outputs': ['files_test0']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input", "files_input" ], "name": "flow_0", "outputs": [ "files_test0" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_1', 'inputs': ['basic_input', 'files_input'], 'outputs': ['files_test1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input", "files_input" ], "name": "flow_1", "outputs": [ "files_test1" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_2', 'inputs': ['basic_input'], 'outputs': ['forwards_severity_and_facility']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_2", "outputs": [ "forwards_severity_and_facility" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_3', 'inputs': ['basic_input'], 'outputs': ['forwards_facility_only']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_3", "outputs": [ "forwards_facility_only" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.086) 0:00:41.676 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.054) 0:00:41.731 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.049) 0:00:41.780 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.048) 0:00:41.828 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.049) 0:00:41.878 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.050) 0:00:41.928 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.052) 0:00:41.980 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.048) 0:00:42.029 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 23:11:34 +0000 (0:00:00.045) 0:00:42.075 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 23:11:35 +0000 (0:00:00.417) 0:00:42.492 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 23:11:35 +0000 (0:00:00.131) 0:00:42.623 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 23:11:35 +0000 (0:00:00.136) 0:00:42.760 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 23:11:35 +0000 (0:00:00.132) 0:00:42.893 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 23:11:35 +0000 (0:00:00.051) 0:00:42.945 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 23:11:35 +0000 (0:00:00.042) 0:00:42.988 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "rsyslog-8.24.0-57.el7_9.3.x86_64 providing rsyslog is already installed" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 23:11:36 +0000 (0:00:00.534) 0:00:43.522 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 23:11:36 +0000 (0:00:00.037) 0:00:43.559 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 23:11:37 +0000 (0:00:00.834) 0:00:44.393 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 23:11:37 +0000 (0:00:00.046) 0:00:44.439 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 23:11:37 +0000 (0:00:00.052) 0:00:44.492 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 23:11:37 +0000 (0:00:00.033) 0:00:44.525 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 23:11:37 +0000 (0:00:00.041) 0:00:44.567 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 50, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create a work directory] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 23:11:37 +0000 (0:00:00.370) 0:00:44.938 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 23:11:38 +0000 (0:00:00.337) 0:00:45.275 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 23:11:38 +0000 (0:00:00.333) 0:00:45.608 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658877087.7543895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658877085.0113895, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7124, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "18446744073614166881", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 23:11:38 +0000 (0:00:00.329) 0:00:45.937 ********** NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "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-1658877098.810471-264170-156661618328021/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 23:11:39 +0000 (0:00:00.593) 0:00:46.531 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 23:11:39 +0000 (0:00:00.096) 0:00:46.627 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-1658877099.5135787-264200-34315568475217/source", "state": "file", "uid": 0 } skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-1658877100.0873787-264200-242426450650946/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 23:11:40 +0000 (0:00:01.182) 0:00:47.810 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 23:11:40 +0000 (0:00:00.100) 0:00:47.911 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 23:11:40 +0000 (0:00:00.062) 0:00:47.974 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/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", "ratelimit_burst": 33333, "type": "basics" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log'}) => { "ansible_facts": { "__rsyslog_conf_imfile_modules": [ { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" } ], "__rsyslog_files_input_packages": [], "__rsyslog_files_input_rules": [ "{{ __rsyslog_conf_imfile_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 23:11:40 +0000 (0:00:00.132) 0:00:48.106 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log'}) TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update basics input packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 23:11:41 +0000 (0:00:00.136) 0:00:48.243 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:41 +0000 (0:00:00.065) 0:00:48.309 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:41 +0000 (0:00:00.044) 0:00:48.353 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:41 +0000 (0:00:00.039) 0:00:48.393 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:41 +0000 (0:00:00.059) 0:00:48.453 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 23:11:41 +0000 (0:00:00.041) 0:00:48.494 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:41 +0000 (0:00:00.068) 0:00:48.563 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:41 +0000 (0:00:00.044) 0:00:48.607 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:42 +0000 (0:00:00.693) 0:00:49.300 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:42 +0000 (0:00:00.057) 0:00:49.358 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml:3 Tuesday 26 July 2022 23:11:42 +0000 (0:00:00.125) 0:00:49.484 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:42 +0000 (0:00:00.065) 0:00:49.550 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:42 +0000 (0:00:00.043) 0:00:49.593 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:43 +0000 (0:00:00.640) 0:00:50.234 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877102.4814734-264311-133017467842740/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:43 +0000 (0:00:00.061) 0:00:50.295 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create files input configuration file input-files-files_input in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml:11 Tuesday 26 July 2022 23:11:43 +0000 (0:00:00.050) 0:00:50.346 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:43 +0000 (0:00:00.070) 0:00:50.416 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:43 +0000 (0:00:00.043) 0:00:50.460 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:43 +0000 (0:00:00.689) 0:00:51.149 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877102.4814734-264311-133017467842740/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:44 +0000 (0:00:00.060) 0:00:51.210 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 23:11:44 +0000 (0:00:00.129) 0:00:51.339 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "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/tmprpwa1_ne/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": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "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/tmprpwa1_ne/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": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 23:11:44 +0000 (0:00:00.105) 0:00:51.444 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 23:11:44 +0000 (0:00:00.108) 0:00:51.552 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:44 +0000 (0:00:00.068) 0:00:51.621 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:44 +0000 (0:00:00.045) 0:00:51.666 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-1658877104.5535047-264387-115553307598064/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:45 +0000 (0:00:00.629) 0:00:52.296 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877102.4814734-264311-133017467842740/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "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-1658877104.5535047-264387-115553307598064/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-1658877104.5535047-264387-115553307598064/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:45 +0000 (0:00:00.061) 0:00:52.357 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-files_test0 in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 23:11:45 +0000 (0:00:00.055) 0:00:52.412 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:45 +0000 (0:00:00.073) 0:00:52.486 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:45 +0000 (0:00:00.046) 0:00:52.533 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:46 +0000 (0:00:00.663) 0:00:53.196 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877102.4814734-264311-133017467842740/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "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-1658877104.5535047-264387-115553307598064/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-1658877104.5535047-264387-115553307598064/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:46 +0000 (0:00:00.065) 0:00:53.262 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 23:11:46 +0000 (0:00:00.102) 0:00:53.364 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:46 +0000 (0:00:00.066) 0:00:53.431 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:46 +0000 (0:00:00.044) 0:00:53.475 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:46 +0000 (0:00:00.572) 0:00:54.047 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877102.4814734-264311-133017467842740/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "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-1658877104.5535047-264387-115553307598064/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-1658877104.5535047-264387-115553307598064/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:46 +0000 (0:00:00.066) 0:00:54.114 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-files_test1 in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 23:11:46 +0000 (0:00:00.057) 0:00:54.172 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:47 +0000 (0:00:00.115) 0:00:54.287 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:47 +0000 (0:00:00.043) 0:00:54.331 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:47 +0000 (0:00:00.635) 0:00:54.967 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877102.4814734-264311-133017467842740/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "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-1658877104.5535047-264387-115553307598064/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-1658877104.5535047-264387-115553307598064/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:47 +0000 (0:00:00.067) 0:00:55.035 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 23:11:47 +0000 (0:00:00.094) 0:00:55.129 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:48 +0000 (0:00:00.065) 0:00:55.195 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:48 +0000 (0:00:00.041) 0:00:55.237 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877108.1221905-264526-237596525438543/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:48 +0000 (0:00:00.600) 0:00:55.837 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877102.4814734-264311-133017467842740/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "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-1658877104.5535047-264387-115553307598064/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-1658877104.5535047-264387-115553307598064/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877108.1221905-264526-237596525438543/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877108.1221905-264526-237596525438543/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:48 +0000 (0:00:00.067) 0:00:55.905 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file output-forwards-forwards_severity_and_facility in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Tuesday 26 July 2022 23:11:48 +0000 (0:00:00.051) 0:00:55.957 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:48 +0000 (0:00:00.066) 0:00:56.023 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:48 +0000 (0:00:00.041) 0:00:56.065 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877109.0292904-264562-264211296607511/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:49 +0000 (0:00:00.675) 0:00:56.740 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877102.4814734-264311-133017467842740/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "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-1658877104.5535047-264387-115553307598064/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-1658877104.5535047-264387-115553307598064/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877108.1221905-264526-237596525438543/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877108.1221905-264526-237596525438543/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877109.0292904-264562-264211296607511/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877109.0292904-264562-264211296607511/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:49 +0000 (0:00:00.070) 0:00:56.811 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 23:11:49 +0000 (0:00:00.096) 0:00:56.907 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:49 +0000 (0:00:00.069) 0:00:56.976 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:49 +0000 (0:00:00.046) 0:00:57.022 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:50 +0000 (0:00:00.564) 0:00:57.587 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877102.4814734-264311-133017467842740/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "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-1658877104.5535047-264387-115553307598064/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-1658877104.5535047-264387-115553307598064/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877108.1221905-264526-237596525438543/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877108.1221905-264526-237596525438543/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877109.0292904-264562-264211296607511/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877109.0292904-264562-264211296607511/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:50 +0000 (0:00:00.076) 0:00:57.664 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file output-forwards-forwards_facility_only in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Tuesday 26 July 2022 23:11:50 +0000 (0:00:00.058) 0:00:57.722 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:11:50 +0000 (0:00:00.069) 0:00:57.791 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:11:50 +0000 (0:00:00.043) 0:00:57.835 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658877110.7738845-264629-35088120700759/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:11:51 +0000 (0:00:00.713) 0:00:58.548 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877099.5135787-264200-34315568475217/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-1658877099.5135787-264200-34315568475217/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-1658877100.0873787-264200-242426450650946/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-1658877100.0873787-264200-242426450650946/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877101.5708869-264275-93849082939530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877101.5708869-264275-93849082939530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877102.4814734-264311-133017467842740/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877102.4814734-264311-133017467842740/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877103.4242647-264347-194464811572716/source", "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-1658877104.5535047-264387-115553307598064/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-1658877104.5535047-264387-115553307598064/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877105.464428-264423-217708163752364/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877107.2599678-264490-112674140449493/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877108.1221905-264526-237596525438543/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877108.1221905-264526-237596525438543/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877109.0292904-264562-264211296607511/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877109.0292904-264562-264211296607511/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877110.7738845-264629-35088120700759/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658877110.7738845-264629-35088120700759/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:11:51 +0000 (0:00:00.070) 0:00:58.619 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 23:11:51 +0000 (0:00:00.099) 0:00:58.719 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 23:11:51 +0000 (0:00:00.047) 0:00:58.766 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 23:11:51 +0000 (0:00:00.059) 0:00:58.825 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 23:11:51 +0000 (0:00:00.045) 0:00:58.871 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 23:11:51 +0000 (0:00:00.070) 0:00:58.942 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 23:11:51 +0000 (0:00:00.053) 0:00:58.995 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 23:11:51 +0000 (0:00:00.053) 0:00:59.048 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 23:11:51 +0000 (0:00:00.054) 0:00:59.103 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ActiveEnterTimestampMonotonic": "303317120", "ActiveExitTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ActiveExitTimestampMonotonic": "303308519", "ActiveState": "active", "After": "network-online.target network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:11:33 UTC", "AssertTimestampMonotonic": "303311877", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ConditionTimestampMonotonic": "303311876", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28944", "ExecMainStartTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ExecMainStartTimestampMonotonic": "303312551", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:11:33 UTC] ; stop_time=[n/a] ; pid=28944 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 23:11:33 UTC", "InactiveEnterTimestampMonotonic": "303311125", "InactiveExitTimestamp": "Tue 2022-07-26 23:11:33 UTC", "InactiveExitTimestampMonotonic": "303312587", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28944", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 23:11:33 UTC", "WatchdogTimestampMonotonic": "303317094", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 23:11:52 +0000 (0:00:00.441) 0:00:59.545 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 23:11:52 +0000 (0:00:00.043) 0:00:59.588 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:244 Tuesday 26 July 2022 23:11:52 +0000 (0:00:00.072) 0:00:59.661 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 23:11:52 +0000 (0:00:00.000) 0:00:59.661 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ActiveEnterTimestampMonotonic": "303317120", "ActiveExitTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ActiveExitTimestampMonotonic": "303308519", "ActiveState": "active", "After": "network-online.target network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:11:33 UTC", "AssertTimestampMonotonic": "303311877", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ConditionTimestampMonotonic": "303311876", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "28944", "ExecMainStartTimestamp": "Tue 2022-07-26 23:11:33 UTC", "ExecMainStartTimestampMonotonic": "303312551", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:11:33 UTC] ; stop_time=[n/a] ; pid=28944 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 23:11:33 UTC", "InactiveEnterTimestampMonotonic": "303311125", "InactiveExitTimestamp": "Tue 2022-07-26 23:11:33 UTC", "InactiveExitTimestampMonotonic": "303312587", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "28944", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-online.target network.target", "WatchdogTimestamp": "Tue 2022-07-26 23:11:33 UTC", "WatchdogTimestampMonotonic": "303317094", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:247 Tuesday 26 July 2022 23:11:52 +0000 (0:00:00.437) 0:01:00.099 ********** included: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml for /cache/centos-7.qcow2c.snap TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 23:11:52 +0000 (0:00:00.057) 0:01:00.156 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658877112.6773896, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658877099.1163895, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7118, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877098.9083896, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "1473762894", "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/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 23:11:53 +0000 (0:00:00.366) 0:01:00.523 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "examined": 13, "files": [ { "atime": 1658877050.2173896, "ctime": 1658877024.4693894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 9132297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1576682095.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": 1658877112.6773896, "ctime": 1658877099.8283894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583260, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877099.6203895, "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": 1658877112.6773896, "ctime": 1658877100.3943894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431907, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877100.1853895, "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": 1658877112.6773896, "ctime": 1658877101.8873894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244453, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877101.6683896, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 879, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877112.6773896, "ctime": 1658877102.7863896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7124, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877102.5733895, "nlink": 1, "path": "/etc/rsyslog.d/10-input-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 95, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877112.6773896, "ctime": 1658877103.7363894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877103.5253894, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 242, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877106.4233894, "ctime": 1658877104.8493896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877104.6393895, "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": 1658877112.6773896, "ctime": 1658877105.7763896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877105.5573895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877112.6773896, "ctime": 1658877107.5543895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583262, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877107.3503895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 92, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877109.9623895, "ctime": 1658877108.4223895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877108.2133894, "nlink": 1, "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877112.6773896, "ctime": 1658877109.3263896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877109.1193895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877112.6773896, "ctime": 1658877111.0863895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 13049350, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877110.8663895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 257, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 12, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 23:11:53 +0000 (0:00:00.327) 0:01:00.851 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 23:11:53 +0000 (0:00:00.041) 0:01:00.892 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 23:11:53 +0000 (0:00:00.026) 0:01:00.918 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 23:11:53 +0000 (0:00:00.040) 0:01:00.959 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "stat": { "atime": 1658877112.6773896, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "ctime": 1658877105.7763896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877105.5573895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "version": "2008706290", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "stat": { "atime": 1658877112.6773896, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "ctime": 1658877109.3263896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877109.1193895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "72170891", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-files-files_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-files-files_input.conf", "stat": { "atime": 1658877112.6773896, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "ctime": 1658877103.7363894, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12583261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877103.5253894, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 242, "uid": 0, "version": "18446744073626275676", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 23:11:54 +0000 (0:00:00.954) 0:01:01.913 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the files config stat] ********************************************* task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:258 Tuesday 26 July 2022 23:11:54 +0000 (0:00:00.030) 0:01:01.944 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1658877112.6773896, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "ctime": 1658877105.7763896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877105.5573895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "version": "2008706290", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Grep output to messages line] ******************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:265 Tuesday 26 July 2022 23:11:55 +0000 (0:00:00.319) 0:01:02.263 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "\\*.info;authpriv.none;auth.none;cron.none;mail.none.*/var/log/messages", "/etc/rsyslog.d/30-output-files-files_test0.conf" ], "delta": "0:00:00.003838", "end": "2022-07-26 23:11:55.174162", "rc": 0, "start": "2022-07-26 23:11:55.170324" } STDOUT: *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages TASK [Ensure logger message is logged in a file] ******************************* task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:273 Tuesday 26 July 2022 23:11:55 +0000 (0:00:00.322) 0:01:02.585 ********** included: /tmp/tmpfihyqvnh/tests/logging/tasks/test_logger.yml for /cache/centos-7.qcow2c.snap TASK [Run logger to generate a test log message] ******************************* task path: /tmp/tmpfihyqvnh/tests/logging/tasks/test_logger.yml:2 Tuesday 26 July 2022 23:11:55 +0000 (0:00:00.112) 0:01:02.697 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/logger", "-i", "-p", "local6.info", "-t", "testTag1", "testMessage1" ], "delta": "0:00:00.003717", "end": "2022-07-26 23:11:55.618052", "rc": 0, "start": "2022-07-26 23:11:55.614335" } TASK [Check the test log message in /var/log/messages] ************************* task path: /tmp/tmpfihyqvnh/tests/logging/tasks/test_logger.yml:9 Tuesday 26 July 2022 23:11:55 +0000 (0:00:00.332) 0:01:03.030 ********** ok: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": false, "cmd": [ "/bin/grep", "testMessage1", "/var/log/messages" ], "delta": "0:00:00.003860", "end": "2022-07-26 23:11:55.932115", "rc": 0, "start": "2022-07-26 23:11:55.928255" } STDOUT: 2022-07-26T23:11:55.615021+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/logger -i -p local6.info -t testTag1 testMessage1 removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None 2022-07-26T23:11:55.618086+00:00 ibm-p8-kvm-03-guest-02 testTag1[31042]: testMessage1 2022-07-26T23:11:55.928803+00:00 ibm-p8-kvm-03-guest-02 ansible-ansible.legacy.command: Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=/bin/grep "testMessage1" "/var/log/messages" removes=None argv=None warn=False chdir=None stdin_add_newline=True stdin=None TASK [Check the forwarding config stat] **************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:279 Tuesday 26 July 2022 23:11:56 +0000 (0:00:00.319) 0:01:03.349 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1658877112.6773896, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "ctime": 1658877109.3263896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877109.1193895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "72170891", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Generate a file to check severity_and_facility] ************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:285 Tuesday 26 July 2022 23:11:56 +0000 (0:00:00.330) 0:01:03.679 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "checksum": "e54e538a08d63b687dff2f5c504e9cf8fec6a858", "dest": "/tmp/__testfile__", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/__testfile__", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 274, "state": "file", "uid": 0 } TASK [Check severity_and_facility] ********************************************* task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:303 Tuesday 26 July 2022 23:11:57 +0000 (0:00:00.529) 0:01:04.209 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "diff", "-B", "/tmp/__testfile__", "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf" ], "delta": "0:00:00.003513", "end": "2022-07-26 23:11:57.109235", "rc": 0, "start": "2022-07-26 23:11:57.105722" } TASK [Check the files config stat] ********************************************* task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:307 Tuesday 26 July 2022 23:11:57 +0000 (0:00:00.321) 0:01:04.530 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1658877112.6773896, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "ctime": 1658877103.7363894, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12583261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877103.5253894, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 242, "uid": 0, "version": "18446744073626275676", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check the input call with tag=files_input] ******************************* task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:313 Tuesday 26 July 2022 23:11:57 +0000 (0:00:00.330) 0:01:04.860 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=type="imfile") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "type=\"imfile\"" } ok: [/cache/centos-7.qcow2c.snap] => (item=file="/var/log/inputdirectory/*.log") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "file=\"/var/log/inputdirectory/*.log\"" } ok: [/cache/centos-7.qcow2c.snap] => (item=tag="files_input") => { "ansible_loop_var": "item", "backup": "", "changed": false, "failed_when_result": false, "item": "tag=\"files_input\"" } TASK [Create a test log file with a log message in /var/log/inputdirectory] **** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:327 Tuesday 26 July 2022 23:11:58 +0000 (0:00:00.942) 0:01:05.803 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\necho '<167>Dec 26 01:00:00 11.22.33.44 tag msgnum:00000001:26:ABCDEFGHIJKLMNOPQRSTUVWXYZ' >> /var/log/inputdirectory/test.log", "delta": "0:00:00.004195", "end": "2022-07-26 23:11:58.744390", "rc": 0, "start": "2022-07-26 23:11:58.740195" } TASK [Check the fake test log message in /var/log/messages] ******************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:333 Tuesday 26 July 2022 23:11:58 +0000 (0:00:00.352) 0:01:06.156 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "files_input .*ABCDEFGHIJKLMNOPQRSTUVWXYZ$", "/var/log/messages" ], "delta": "0:00:00.004093", "end": "2022-07-26 23:11:59.096716", "rc": 0, "start": "2022-07-26 23:11:59.092623" } STDOUT: 2022-07-26T23:11:58.744222+00:00 ibm-p8-kvm-03-guest-02 files_input 7>Dec 26 01:00:00 11.22.33.44 tag msgnum:00000001:26:ABCDEFGHIJKLMNOPQRSTUVWXYZ TASK [END TEST CASE 1; Clean up the deployed config] *************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:339 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.393) 0:01:06.549 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.080) 0:01:06.629 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.051) 0:01:06.680 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.058) 0:01:06.738 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.060) 0:01:06.799 ********** TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.029) 0:01:06.828 ********** TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.025) 0:01:06.853 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.045) 0:01:06.899 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.046) 0:01:06.945 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.050) 0:01:06.996 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.047) 0:01:07.044 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.047) 0:01:07.091 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.047) 0:01:07.139 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 23:11:59 +0000 (0:00:00.047) 0:01:07.186 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 23:12:00 +0000 (0:00:00.045) 0:01:07.232 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 23:12:00 +0000 (0:00:00.433) 0:01:07.666 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 23:12:00 +0000 (0:00:00.118) 0:01:07.785 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 23:12:00 +0000 (0:00:00.195) 0:01:07.980 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 23:12:00 +0000 (0:00:00.095) 0:01:08.076 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.067234", "end": "2022-07-26 23:12:01.066171", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 23:12:00.998937" } 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 23:12:01 +0000 (0:00:00.405) 0:01:08.481 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "removed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n rsyslog x86_64 8.24.0-57.el7_9.3 @updates 1.9 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \nwarning: /etc/rsyslog.conf saved as /etc/rsyslog.conf.rpmsave\n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nRemoved:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 23:12:02 +0000 (0:00:01.317) 0:01:09.798 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.cs.vt.edu\n * extras: centos-distro.cavecreek.net\n * updates: mirror.math.princeton.edu\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n rsyslog x86_64 8.24.0-57.el7_9.3 updates 622 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 622 k\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nInstalled:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 23:12:04 +0000 (0:00:01.787) 0:01:11.586 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 23:12:04 +0000 (0:00:00.038) 0:01:11.625 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 23:12:05 +0000 (0:00:00.840) 0:01:12.466 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 23:12:05 +0000 (0:00:00.047) 0:01:12.513 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 23:12:05 +0000 (0:00:00.046) 0:01:12.560 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 23:12:05 +0000 (0:00:00.068) 0:01:12.629 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 23:12:05 +0000 (0:00:00.041) 0:01:12.670 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 23:12:05 +0000 (0:00:00.345) 0:01:13.016 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 23:12:06 +0000 (0:00:00.340) 0:01:13.356 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 23:12:06 +0000 (0:00:00.323) 0:01:13.680 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1642101032.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658877123.9013896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7127, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "1598719425", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 23:12:06 +0000 (0:00:00.337) 0:01:14.018 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 23:12:06 +0000 (0:00:00.045) 0:01:14.063 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 23:12:06 +0000 (0:00:00.115) 0:01:14.178 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 23:12:07 +0000 (0:00:00.059) 0:01:14.238 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 23:12:07 +0000 (0:00:00.054) 0:01:14.292 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 23:12:07 +0000 (0:00:00.050) 0:01:14.342 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 23:12:07 +0000 (0:00:00.024) 0:01:14.367 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 23:12:07 +0000 (0:00:00.039) 0:01:14.406 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 23:12:07 +0000 (0:00:00.024) 0:01:14.431 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 23:12:07 +0000 (0:00:00.025) 0:01:14.456 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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.414947", "end": "2022-07-26 23:12:07.821092", "failed_when_result": false, "rc": 0, "start": "2022-07-26 23:12:07.406145" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-files-modules.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/10-output-forwards-modules.conf /etc/rsyslog.d/30-output-files-files_test0.conf /etc/rsyslog.d/30-output-files-files_test1.conf /etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf /etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf /etc/rsyslog.d/90-input-basics-basic_input.conf /etc/rsyslog.d/90-input-files-files_input.conf TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 23:12:08 +0000 (0:00:00.777) 0:01:15.234 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-input-files-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-files-modules.conf", "path": "/etc/rsyslog.d/10-input-files-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-output-forwards-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-forwards-modules.conf", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test1.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-files_test1.conf", "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-files-files_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-files-files_input.conf", "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 23:12:11 +0000 (0:00:03.296) 0:01:18.531 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 23:12:11 +0000 (0:00:00.044) 0:01:18.575 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 23:12:11 +0000 (0:00:00.060) 0:01:18.636 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 23:12:11 +0000 (0:00:00.048) 0:01:18.685 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 23:12:11 +0000 (0:00:00.047) 0:01:18.732 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 23:12:11 +0000 (0:00:00.048) 0:01:18.781 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 23:12:12 +0000 (0:00:00.458) 0:01:19.240 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 23:12:12 +0000 (0:00:00.043) 0:01:19.284 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:347 Tuesday 26 July 2022 23:12:12 +0000 (0:00:00.107) 0:01:19.391 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 23:12:12 +0000 (0:00:00.000) 0:01:19.391 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:12:11 UTC", "ActiveEnterTimestampMonotonic": "341337374", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:12:11 UTC", "AssertTimestampMonotonic": "341329950", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:12:11 UTC", "ConditionTimestampMonotonic": "341329950", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "344", "ExecMainStartTimestamp": "Tue 2022-07-26 23:12:11 UTC", "ExecMainStartTimestampMonotonic": "341330925", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:12:11 UTC] ; stop_time=[n/a] ; pid=344 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-26 23:12:11 UTC", "InactiveExitTimestampMonotonic": "341330965", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "344", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 23:12:11 UTC", "WatchdogTimestampMonotonic": "341337347", "WatchdogUSec": "0" } } META: ran handlers TASK [TEST CASE 2; Absent state test - Running combination configured logging role twice] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:351 Tuesday 26 July 2022 23:12:12 +0000 (0:00:00.423) 0:01:19.815 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 23:12:12 +0000 (0:00:00.098) 0:01:19.914 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 23:12:12 +0000 (0:00:00.049) 0:01:19.963 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [ { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 23:12:12 +0000 (0:00:00.062) 0:01:20.025 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 23:12:12 +0000 (0:00:00.057) 0:01:20.083 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "ansible_loop_var": "item", "changed": false, "item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 23:12:12 +0000 (0:00:00.076) 0:01:20.159 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_0', 'inputs': ['basic_input'], 'outputs': ['files_test0', 'files_test1', 'forwards_severity_and_facility', 'forwards_facility_only']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_0", "outputs": [ "files_test0", "files_test1", "forwards_severity_and_facility", "forwards_facility_only" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_1', 'inputs': ['files_input'], 'outputs': ['files_test0', 'files_test1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "files_input" ], "name": "flow_1", "outputs": [ "files_test0", "files_test1" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.067) 0:01:20.227 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.046) 0:01:20.274 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.043) 0:01:20.317 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.043) 0:01:20.360 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.048) 0:01:20.409 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.046) 0:01:20.455 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.046) 0:01:20.502 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.046) 0:01:20.548 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.046) 0:01:20.595 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.451) 0:01:21.047 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 23:12:13 +0000 (0:00:00.085) 0:01:21.132 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 23:12:14 +0000 (0:00:00.090) 0:01:21.223 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 23:12:14 +0000 (0:00:00.090) 0:01:21.313 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 23:12:14 +0000 (0:00:00.044) 0:01:21.357 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 23:12:14 +0000 (0:00:00.041) 0:01:21.398 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "rsyslog-8.24.0-57.el7_9.3.x86_64 providing rsyslog is already installed" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 23:12:14 +0000 (0:00:00.546) 0:01:21.945 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 23:12:14 +0000 (0:00:00.048) 0:01:21.993 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 23:12:15 +0000 (0:00:00.828) 0:01:22.822 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 23:12:15 +0000 (0:00:00.125) 0:01:22.948 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 23:12:15 +0000 (0:00:00.048) 0:01:22.996 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 23:12:15 +0000 (0:00:00.034) 0:01:23.031 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 23:12:15 +0000 (0:00:00.043) 0:01:23.074 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 50, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create a work directory] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 23:12:16 +0000 (0:00:00.338) 0:01:23.413 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 23:12:16 +0000 (0:00:00.333) 0:01:23.746 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 23:12:16 +0000 (0:00:00.347) 0:01:24.094 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658877126.5933895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658877123.9013896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7127, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "1598719425", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 23:12:17 +0000 (0:00:00.351) 0:01:24.445 ********** NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "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-1658877137.3226047-265582-236340223704678/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 23:12:17 +0000 (0:00:00.606) 0:01:25.051 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 23:12:18 +0000 (0:00:00.148) 0:01:25.200 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-1658877138.1326072-265612-255603634892448/source", "state": "file", "uid": 0 } skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-1658877138.7011185-265612-170706291747142/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 23:12:19 +0000 (0:00:01.222) 0:01:26.422 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.157) 0:01:26.579 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.056) 0:01:26.636 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/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", "ratelimit_burst": 33333, "type": "basics" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log'}) => { "ansible_facts": { "__rsyslog_conf_imfile_modules": [ { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" } ], "__rsyslog_files_input_packages": [], "__rsyslog_files_input_rules": [ "{{ __rsyslog_conf_imfile_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.070) 0:01:26.707 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log'}) TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update basics input packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.089) 0:01:26.796 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.066) 0:01:26.863 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.043) 0:01:26.906 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.040) 0:01:26.947 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.059) 0:01:27.006 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.042) 0:01:27.049 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.069) 0:01:27.118 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:19 +0000 (0:00:00.044) 0:01:27.162 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:20 +0000 (0:00:00.681) 0:01:27.843 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:20 +0000 (0:00:00.059) 0:01:27.903 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test1\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call forwards_facility_only\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml:3 Tuesday 26 July 2022 23:12:20 +0000 (0:00:00.162) 0:01:28.065 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:20 +0000 (0:00:00.067) 0:01:28.132 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:20 +0000 (0:00:00.046) 0:01:28.178 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:21 +0000 (0:00:00.655) 0:01:28.834 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877141.1067193-265723-144412408833576/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:21 +0000 (0:00:00.061) 0:01:28.895 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create files input configuration file input-files-files_input in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml:11 Tuesday 26 July 2022 23:12:21 +0000 (0:00:00.059) 0:01:28.954 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:21 +0000 (0:00:00.072) 0:01:29.026 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:21 +0000 (0:00:00.042) 0:01:29.069 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:22 +0000 (0:00:00.708) 0:01:29.777 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877141.1067193-265723-144412408833576/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:22 +0000 (0:00:00.062) 0:01:29.840 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\nif\n ($syslogtag == "files_input")\n then {\n call files_test0\n}\nif\n ($syslogtag == "files_input")\n then {\n call files_test1\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 23:12:22 +0000 (0:00:00.129) 0:01:29.969 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "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/tmprpwa1_ne/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": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) => { "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/tmprpwa1_ne/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": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 23:12:22 +0000 (0:00:00.145) 0:01:30.115 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure'}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514}) 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 23:12:23 +0000 (0:00:00.110) 0:01:30.225 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:23 +0000 (0:00:00.068) 0:01:30.294 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:23 +0000 (0:00:00.123) 0:01:30.418 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-1658877143.3106961-265799-240302217006603/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:23 +0000 (0:00:00.610) 0:01:31.029 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877141.1067193-265723-144412408833576/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "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-1658877143.3106961-265799-240302217006603/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-1658877143.3106961-265799-240302217006603/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:23 +0000 (0:00:00.064) 0:01:31.093 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-files_test0 in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 23:12:23 +0000 (0:00:00.052) 0:01:31.146 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:24 +0000 (0:00:00.068) 0:01:31.215 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:24 +0000 (0:00:00.044) 0:01:31.259 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:24 +0000 (0:00:00.663) 0:01:31.923 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877141.1067193-265723-144412408833576/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "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-1658877143.3106961-265799-240302217006603/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-1658877143.3106961-265799-240302217006603/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:24 +0000 (0:00:00.065) 0:01:31.988 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 23:12:24 +0000 (0:00:00.095) 0:01:32.084 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:24 +0000 (0:00:00.066) 0:01:32.150 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:25 +0000 (0:00:00.045) 0:01:32.195 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:25 +0000 (0:00:00.559) 0:01:32.755 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877141.1067193-265723-144412408833576/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "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-1658877143.3106961-265799-240302217006603/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-1658877143.3106961-265799-240302217006603/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:25 +0000 (0:00:00.065) 0:01:32.821 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-files_test1 in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 23:12:25 +0000 (0:00:00.050) 0:01:32.872 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:25 +0000 (0:00:00.073) 0:01:32.946 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:25 +0000 (0:00:00.045) 0:01:32.992 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:26 +0000 (0:00:00.643) 0:01:33.635 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877141.1067193-265723-144412408833576/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "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-1658877143.3106961-265799-240302217006603/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-1658877143.3106961-265799-240302217006603/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:26 +0000 (0:00:00.068) 0:01:33.703 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 23:12:26 +0000 (0:00:00.097) 0:01:33.800 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:26 +0000 (0:00:00.066) 0:01:33.867 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:26 +0000 (0:00:00.046) 0:01:33.913 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877146.8058975-265938-78871615687660/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:27 +0000 (0:00:00.630) 0:01:34.544 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877141.1067193-265723-144412408833576/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "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-1658877143.3106961-265799-240302217006603/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-1658877143.3106961-265799-240302217006603/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877146.8058975-265938-78871615687660/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877146.8058975-265938-78871615687660/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:27 +0000 (0:00:00.105) 0:01:34.649 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file output-forwards-forwards_severity_and_facility in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Tuesday 26 July 2022 23:12:27 +0000 (0:00:00.090) 0:01:34.740 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:27 +0000 (0:00:00.076) 0:01:34.817 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:27 +0000 (0:00:00.047) 0:01:34.864 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877147.8113568-265974-46799505974764/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:28 +0000 (0:00:00.711) 0:01:35.576 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877141.1067193-265723-144412408833576/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "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-1658877143.3106961-265799-240302217006603/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-1658877143.3106961-265799-240302217006603/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877146.8058975-265938-78871615687660/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877146.8058975-265938-78871615687660/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877147.8113568-265974-46799505974764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877147.8113568-265974-46799505974764/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:28 +0000 (0:00:00.071) 0:01:35.648 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 23:12:28 +0000 (0:00:00.100) 0:01:35.748 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:28 +0000 (0:00:00.067) 0:01:35.816 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:28 +0000 (0:00:00.046) 0:01:35.862 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:29 +0000 (0:00:00.553) 0:01:36.416 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877141.1067193-265723-144412408833576/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "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-1658877143.3106961-265799-240302217006603/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-1658877143.3106961-265799-240302217006603/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877146.8058975-265938-78871615687660/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877146.8058975-265938-78871615687660/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877147.8113568-265974-46799505974764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877147.8113568-265974-46799505974764/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:29 +0000 (0:00:00.067) 0:01:36.483 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file output-forwards-forwards_facility_only in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Tuesday 26 July 2022 23:12:29 +0000 (0:00:00.051) 0:01:36.535 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:29 +0000 (0:00:00.065) 0:01:36.601 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:29 +0000 (0:00:00.090) 0:01:36.692 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658877149.6277046-266041-33447818575213/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:30 +0000 (0:00:00.656) 0:01:37.348 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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-1658877138.1326072-265612-255603634892448/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-1658877138.1326072-265612-255603634892448/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-1658877138.7011185-265612-170706291747142/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-1658877138.7011185-265612-170706291747142/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": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test1\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_severity_and_facility\n}\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call forwards_facility_only\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f99ecab5f069967fb6cf4f7afee584a6615c4bcb", "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-1658877140.1277344-265687-200775028913607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "f74333ab73007fba928f9f4df314f636", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 879, "src": "/root/.ansible/tmp/ansible-tmp-1658877140.1277344-265687-200775028913607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "content": null, "dest": "/etc/rsyslog.d/10-input-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-1658877141.1067193-265723-144412408833576/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1da2d23b6046e202adba01fc49882dbb", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1658877141.1067193-265723-144412408833576/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test0\n}\nif\n ($syslogtag == \"files_input\")\n then {\n call files_test1\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "content": null, "dest": "/etc/rsyslog.d/90-input-files-files_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "unsafe_writes": false, "validate": null } }, "md5sum": "fb65e21e567dca36c40970d7eb061c2f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1658877142.0530922-265759-96697933093496/source", "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-1658877143.3106961-265799-240302217006603/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-1658877143.3106961-265799-240302217006603/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9feef8256218dbafaaaf92fa103790cd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "src": "/root/.ansible/tmp/ansible-tmp-1658877144.1940627-265835-119194931667164/source", "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": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ad3b9f0266fa459e2cabcb3f5713b197d41d1a16", "content": null, "dest": "/etc/rsyslog.d/30-output-files-files_test1.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1d9f204c5665b9e2db7750b7e1c5a994", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 92, "src": "/root/.ansible/tmp/ansible-tmp-1658877145.9228969-265902-32484618278607/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "content": null, "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877146.8058975-265938-78871615687660/source", "unsafe_writes": false, "validate": null } }, "md5sum": "c571453713b67a61485aee51490ec369", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "src": "/root/.ansible/tmp/ansible-tmp-1658877146.8058975-265938-78871615687660/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877147.8113568-265974-46799505974764/source", "unsafe_writes": false, "validate": null } }, "md5sum": "06c5af307a39a043675ad38ff743862d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 276, "src": "/root/.ansible/tmp/ansible-tmp-1658877147.8113568-265974-46799505974764/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e0643cdd9026c81d6164404ec4f62d88aaa03a28", "content": null, "dest": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1658877149.6277046-266041-33447818575213/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6dcfbebdb09516a8b8453a91e21c17f7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 257, "src": "/root/.ansible/tmp/ansible-tmp-1658877149.6277046-266041-33447818575213/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:30 +0000 (0:00:00.070) 0:01:37.419 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 23:12:30 +0000 (0:00:00.098) 0:01:37.518 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 23:12:30 +0000 (0:00:00.044) 0:01:37.563 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 23:12:30 +0000 (0:00:00.051) 0:01:37.614 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 23:12:30 +0000 (0:00:00.041) 0:01:37.655 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 23:12:30 +0000 (0:00:00.062) 0:01:37.717 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 23:12:30 +0000 (0:00:00.051) 0:01:37.769 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 23:12:30 +0000 (0:00:00.051) 0:01:37.821 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 23:12:30 +0000 (0:00:00.051) 0:01:37.872 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:12:12 UTC", "ActiveEnterTimestampMonotonic": "341915263", "ActiveExitTimestamp": "Tue 2022-07-26 23:12:12 UTC", "ActiveExitTimestampMonotonic": "341907602", "ActiveState": "active", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:12:12 UTC", "AssertTimestampMonotonic": "341909578", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:12:12 UTC", "ConditionTimestampMonotonic": "341909578", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "409", "ExecMainStartTimestamp": "Tue 2022-07-26 23:12:12 UTC", "ExecMainStartTimestampMonotonic": "341910273", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:12:12 UTC] ; stop_time=[n/a] ; pid=409 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 23:12:12 UTC", "InactiveEnterTimestampMonotonic": "341909241", "InactiveExitTimestamp": "Tue 2022-07-26 23:12:12 UTC", "InactiveExitTimestampMonotonic": "341910317", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "409", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 23:12:12 UTC", "WatchdogTimestampMonotonic": "341915236", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 23:12:31 +0000 (0:00:00.413) 0:01:38.286 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 23:12:31 +0000 (0:00:00.044) 0:01:38.331 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:401 Tuesday 26 July 2022 23:12:31 +0000 (0:00:00.073) 0:01:38.404 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 23:12:31 +0000 (0:00:00.000) 0:01:38.404 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:12:12 UTC", "ActiveEnterTimestampMonotonic": "341915263", "ActiveExitTimestamp": "Tue 2022-07-26 23:12:12 UTC", "ActiveExitTimestampMonotonic": "341907602", "ActiveState": "active", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:12:12 UTC", "AssertTimestampMonotonic": "341909578", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:12:12 UTC", "ConditionTimestampMonotonic": "341909578", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "409", "ExecMainStartTimestamp": "Tue 2022-07-26 23:12:12 UTC", "ExecMainStartTimestampMonotonic": "341910273", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:12:12 UTC] ; stop_time=[n/a] ; pid=409 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 23:12:12 UTC", "InactiveEnterTimestampMonotonic": "341909241", "InactiveExitTimestamp": "Tue 2022-07-26 23:12:12 UTC", "InactiveExitTimestampMonotonic": "341910317", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "409", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 23:12:12 UTC", "WatchdogTimestampMonotonic": "341915236", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:404 Tuesday 26 July 2022 23:12:31 +0000 (0:00:00.480) 0:01:38.884 ********** included: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml for /cache/centos-7.qcow2c.snap TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 23:12:31 +0000 (0:00:00.071) 0:01:38.956 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658877151.4583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658877137.6283896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877137.4173894, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "1884167548", "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/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 23:12:32 +0000 (0:00:00.329) 0:01:39.286 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "examined": 13, "files": [ { "atime": 1658877050.2173896, "ctime": 1658877024.4693894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 9132297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1576682095.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": 1658877151.4583895, "ctime": 1658877138.4373896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7147, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877138.2293894, "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": 1658877151.4583895, "ctime": 1658877139.0053895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583259, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877138.7973895, "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": 1658877151.4583895, "ctime": 1658877140.4273896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431907, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877140.2253895, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 879, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877151.4583895, "ctime": 1658877141.4063895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244442, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877141.1953895, "nlink": 1, "path": "/etc/rsyslog.d/10-input-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 95, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877151.4583895, "ctime": 1658877142.3603895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7148, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877142.1503894, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 242, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877145.1343894, "ctime": 1658877143.6123896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583260, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877143.4063895, "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": 1658877151.4583895, "ctime": 1658877144.5033896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877144.2943895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877151.4583895, "ctime": 1658877146.2193894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877146.0153894, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 92, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877148.8003895, "ctime": 1658877147.1253896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877146.9123895, "nlink": 1, "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877151.4583895, "ctime": 1658877148.1603894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877147.9423895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877151.4583895, "ctime": 1658877149.9313896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877149.7173896, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 257, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 12, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 23:12:32 +0000 (0:00:00.319) 0:01:39.605 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 23:12:32 +0000 (0:00:00.042) 0:01:39.648 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 23:12:32 +0000 (0:00:00.031) 0:01:39.680 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 23:12:32 +0000 (0:00:00.044) 0:01:39.724 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "stat": { "atime": 1658877151.4583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "ctime": 1658877144.5033896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8431908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877144.2943895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "version": "18446744072187782545", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "stat": { "atime": 1658877151.4583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d998037efced7f44956faefe8d02506bb127ac77", "ctime": 1658877148.1603894, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8431911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877147.9423895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "18446744073043146985", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-files-files_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-files-files_input.conf", "stat": { "atime": 1658877151.4583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e765e52d611b471a3065b8205c211cc18ef3cdde", "ctime": 1658877142.3603895, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7148, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877142.1503894, "nlink": 1, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 242, "uid": 0, "version": "18446744072997173735", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 23:12:33 +0000 (0:00:00.933) 0:01:40.658 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Generate test config file to be overridden] ****************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:415 Tuesday 26 July 2022 23:12:33 +0000 (0:00:00.030) 0:01:40.688 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "checksum": "2037a21ce163b09c9f9764a89cb48ea463b387de", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "md5sum": "4fd020822a6c0e3d9c4649546ebf1c88", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 496, "src": "/root/.ansible/tmp/ansible-tmp-1658877153.5465875-266207-74132919570023/source", "state": "file", "uid": 0 } TASK [deploy reduced config to output into local files] ************************ task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:436 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.568) 0:01:41.257 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.104) 0:01:41.362 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.054) 0:01:41.416 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [ { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "state": "absent", "type": "files" }, { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "state": "absent", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, { "facility": "local2", "name": "forwards_facility_only", "state": "absent", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.062) 0:01:41.479 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "state": "absent", "type": "files" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.062) 0:01:41.541 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "ansible_loop_var": "item", "changed": false, "item": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure', 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "state": "absent", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514, 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "state": "absent", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514, 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "item": { "facility": "local2", "name": "forwards_facility_only", "state": "absent", "target": "host.domain", "tcp_port": 2514, "type": "forwards" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.077) 0:01:41.618 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'flow_0', 'inputs': ['basic_input'], 'outputs': ['files_test0']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_0", "outputs": [ "files_test0" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.056) 0:01:41.675 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.047) 0:01:41.722 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.047) 0:01:41.769 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.046) 0:01:41.815 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.047) 0:01:41.863 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.046) 0:01:41.910 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.046) 0:01:41.956 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.045) 0:01:42.002 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 23:12:34 +0000 (0:00:00.045) 0:01:42.047 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 23:12:35 +0000 (0:00:00.468) 0:01:42.516 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 23:12:35 +0000 (0:00:00.082) 0:01:42.599 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 23:12:35 +0000 (0:00:00.089) 0:01:42.688 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 23:12:35 +0000 (0:00:00.090) 0:01:42.779 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 23:12:35 +0000 (0:00:00.044) 0:01:42.823 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 23:12:35 +0000 (0:00:00.045) 0:01:42.868 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "rsyslog-8.24.0-57.el7_9.3.x86_64 providing rsyslog is already installed" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 23:12:36 +0000 (0:00:00.573) 0:01:43.441 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 23:12:36 +0000 (0:00:00.041) 0:01:43.482 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 23:12:37 +0000 (0:00:00.859) 0:01:44.342 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 23:12:37 +0000 (0:00:00.050) 0:01:44.393 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 23:12:37 +0000 (0:00:00.050) 0:01:44.443 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 23:12:37 +0000 (0:00:00.079) 0:01:44.523 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 23:12:37 +0000 (0:00:00.041) 0:01:44.565 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 23:12:37 +0000 (0:00:00.349) 0:01:44.915 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 23:12:38 +0000 (0:00:00.344) 0:01:45.259 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 23:12:38 +0000 (0:00:00.340) 0:01:45.599 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658877151.4583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658877137.6283896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877137.4173894, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "1884167548", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 23:12:38 +0000 (0:00:00.335) 0:01:45.934 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "dest": "/etc/rsyslog.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/rsyslog.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 108, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 23:12:39 +0000 (0:00:00.543) 0:01:46.478 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 23:12:39 +0000 (0:00:00.106) 0:01:46.585 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "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" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "state": "file", "uid": 0 } skipping: [/cache/centos-7.qcow2c.snap] => (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" } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "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" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Initialize list of template results] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 23:12:40 +0000 (0:00:01.095) 0:01:47.680 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 23:12:40 +0000 (0:00:00.057) 0:01:47.738 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 23:12:40 +0000 (0:00:00.056) 0:01:47.794 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/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", "ratelimit_burst": 33333, "type": "basics" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log', 'state': 'absent'}) => { "ansible_facts": { "__rsyslog_conf_imfile_modules": [ { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" } ], "__rsyslog_files_input_packages": [], "__rsyslog_files_input_rules": [ "{{ __rsyslog_conf_imfile_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "state": "absent", "type": "files" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 23:12:40 +0000 (0:00:00.111) 0:01:47.905 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'basic_input', 'type': 'basics', 'ratelimit_burst': 33333}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_input', 'type': 'files', 'input_log_path': '/var/log/inputdirectory/*.log', 'state': 'absent'}) TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update basics input packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:3 Tuesday 26 July 2022 23:12:40 +0000 (0:00:00.127) 0:01:48.033 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:40 +0000 (0:00:00.066) 0:01:48.099 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:40 +0000 (0:00:00.044) 0:01:48.143 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:40 +0000 (0:00:00.041) 0:01:48.185 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:41 +0000 (0:00:00.059) 0:01:48.245 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/basics/main.yml:10 Tuesday 26 July 2022 23:12:41 +0000 (0:00:00.042) 0:01:48.288 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:41 +0000 (0:00:00.067) 0:01:48.355 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:41 +0000 (0:00:00.039) 0:01:48.395 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:41 +0000 (0:00:00.715) 0:01:49.110 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:41 +0000 (0:00:00.067) 0:01:49.178 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': '$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call files_test0\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files input packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml:3 Tuesday 26 July 2022 23:12:42 +0000 (0:00:00.125) 0:01:49.303 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:42 +0000 (0:00:00.066) 0:01:49.370 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:42 +0000 (0:00:00.051) 0:01:49.422 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:42 +0000 (0:00:00.613) 0:01:50.035 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:42 +0000 (0:00:00.059) 0:01:50.094 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-modules', 'type': 'modules', 'sections': [{'comment': 'Reads log messages from file', 'options': 'module(load="imfile" mode="inotify")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create files input configuration file input-files-files_input in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/inputs/files/main.yml:11 Tuesday 26 July 2022 23:12:42 +0000 (0:00:00.053) 0:01:50.148 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:43 +0000 (0:00:00.074) 0:01:50.222 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:43 +0000 (0:00:00.044) 0:01:50.266 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'absent', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\n\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:43 +0000 (0:00:00.132) 0:01:50.399 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:43 +0000 (0:00:00.058) 0:01:50.458 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'input-files-files_input', 'type': 'input', 'state': 'absent', 'sections': [{'options': 'input(\n type="imfile"\n file="/var/log/inputdirectory/*.log"\n tag="files_input"\n)\n\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "path": "/etc/rsyslog.d/90-input-files-files_input.conf", "state": "absent" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 23:12:43 +0000 (0:00:00.430) 0:01:50.888 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) => { "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/tmprpwa1_ne/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": { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure', 'state': 'absent'}) => { "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/tmprpwa1_ne/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": { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "state": "absent", "type": "files" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514, 'state': 'absent'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "state": "absent", "target": "host.domain", "tcp_port": 1514, "type": "forwards" } } ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514, 'state': 'absent'}) => { "ansible_facts": { "__rsyslog_conf_forwards_output_modules": [ { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_forwards_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_TraditionalForwardFormat\")\n{% elif logging_forwards_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfwd\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfwd\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_forwards_output_packages": [], "__rsyslog_forwards_output_rules": [ "{{ __rsyslog_conf_forwards_output_modules }}" ] }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "facility": "local2", "name": "forwards_facility_only", "state": "absent", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 23:12:43 +0000 (0:00:00.112) 0:01:51.000 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test0', 'type': 'files', 'severity': 'info', 'exclude': ['authpriv.none', 'auth.none', 'cron.none', 'mail.none'], 'path': '/var/log/messages'}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'files_test1', 'type': 'files', 'facility': 'authpriv,auth', 'path': '/var/log/secure', 'state': 'absent'}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_severity_and_facility', 'type': 'forwards', 'facility': 'local1', 'severity': 'info', 'target': 'host.domain', 'tcp_port': 1514, 'state': 'absent'}) included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml for /cache/centos-7.qcow2c.snap => (item={'name': 'forwards_facility_only', 'type': 'forwards', 'facility': 'local2', 'target': 'host.domain', 'tcp_port': 2514, 'state': 'absent'}) 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 23:12:43 +0000 (0:00:00.101) 0:01:51.102 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:43 +0000 (0:00:00.065) 0:01:51.167 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:44 +0000 (0:00:00.044) 0:01:51.212 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:44 +0000 (0:00:00.590) 0:01:51.802 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:44 +0000 (0:00:00.142) 0:01:51.945 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-files_test0 in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 23:12:44 +0000 (0:00:00.053) 0:01:51.999 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:44 +0000 (0:00:00.069) 0:01:52.069 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:44 +0000 (0:00:00.045) 0:01:52.114 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:45 +0000 (0:00:00.595) 0:01:52.709 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:45 +0000 (0:00:00.065) 0:01:52.775 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test0', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="files_test0") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:3 Tuesday 26 July 2022 23:12:45 +0000 (0:00:00.097) 0:01:52.872 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:45 +0000 (0:00:00.070) 0:01:52.942 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:45 +0000 (0:00:00.044) 0:01:52.987 ********** ok: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:46 +0000 (0:00:00.563) 0:01:53.551 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:46 +0000 (0:00:00.066) 0:01:53.617 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-files_test1 in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/files/main.yml:10 Tuesday 26 July 2022 23:12:46 +0000 (0:00:00.052) 0:01:53.670 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:46 +0000 (0:00:00.098) 0:01:53.769 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:46 +0000 (0:00:00.077) 0:01:53.847 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:46 +0000 (0:00:00.104) 0:01:53.951 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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 skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:46 +0000 (0:00:00.074) 0:01:54.026 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-files-files_test1', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="files_test1") {\n authpriv,auth.* /var/log/secure\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "path": "/etc/rsyslog.d/30-output-files-files_test1.conf", "state": "absent" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 23:12:47 +0000 (0:00:00.409) 0:01:54.436 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:47 +0000 (0:00:00.066) 0:01:54.503 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:47 +0000 (0:00:00.046) 0:01:54.549 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:47 +0000 (0:00:00.569) 0:01:55.119 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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 skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:47 +0000 (0:00:00.067) 0:01:55.186 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file output-forwards-forwards_severity_and_facility in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Tuesday 26 July 2022 23:12:48 +0000 (0:00:00.051) 0:01:55.238 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:48 +0000 (0:00:00.069) 0:01:55.307 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:48 +0000 (0:00:00.044) 0:01:55.352 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:48 +0000 (0:00:00.100) 0:01:55.453 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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 skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:48 +0000 (0:00:00.066) 0:01:55.520 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_severity_and_facility', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="forwards_severity_and_facility") {\n local1.info action(name="forwards_severity_and_facility"\n type="omfwd"\n Target="host.domain"\n Port="1514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "path": "/etc/rsyslog.d/30-output-forwards-forwards_severity_and_facility.conf", "state": "absent" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update forwards output packages and generate configuration files in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:3 Tuesday 26 July 2022 23:12:48 +0000 (0:00:00.452) 0:01:55.972 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:48 +0000 (0:00:00.064) 0:01:56.037 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:48 +0000 (0:00:00.041) 0:01:56.079 ********** ok: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:49 +0000 (0:00:00.577) 0:01:56.656 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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 skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:49 +0000 (0:00:00.070) 0:01:56.726 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfwd")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Create forwards output configuration file output-forwards-forwards_facility_only in /etc/rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/outputs/forwards/main.yml:10 Tuesday 26 July 2022 23:12:49 +0000 (0:00:00.053) 0:01:56.780 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:4 Tuesday 26 July 2022 23:12:49 +0000 (0:00:00.069) 0:01:56.849 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:13 Tuesday 26 July 2022 23:12:49 +0000 (0:00:00.043) 0:01:56.892 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : add deployed templates to global list] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:31 Tuesday 26 July 2022 23:12:49 +0000 (0:00:00.102) 0:01:56.994 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": { "after": { "path": "/etc/rsyslog.d/00-global.conf" }, "before": { "path": "/etc/rsyslog.d/00-global.conf" } }, "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": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/00-global.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/00-global.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "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": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": { "after": { "path": "/etc/rsyslog.d/05-common-defaults.conf" }, "before": { "path": "/etc/rsyslog.d/05-common-defaults.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/05-common-defaults.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "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": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)\n$ModLoad imjournal # provides access to the systemd journal\n# File to store the position in the journal\n$IMJournalStateFile imjournal.state\n$imjournalRatelimitBurst 33333\n$imjournalRatelimitInterval 600\n$imjournalPersistStateInterval 10\n\n# Turn off message reception via local log socket;\n# local messages are retrieved through imjournal now.\n$OmitLocalLogging on\n\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call files_test0\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "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-1658877161.3597407-266486-167547257591226/source", "unsafe_writes": false, "validate": null } }, "md5sum": "074b2b958f7ec6538aba79a7f8eeb832", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 570, "src": "/root/.ansible/tmp/ansible-tmp-1658877161.3597407-266486-167547257591226/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "d6d12541d56eedb98dea5836070cae11330f24c5", "dest": "/etc/rsyslog.d/10-input-files-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-files-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-files-modules", "sections": [ { "comment": "Reads log messages from file", "options": "module(load=\"imfile\" mode=\"inotify\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-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-input-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-input-files-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 95, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-files-files_input", "sections": [ { "options": "input(\n type=\"imfile\"\n file=\"/var/log/inputdirectory/*.log\"\n tag=\"files_input\"\n)\n\n" } ], "state": "absent", "type": "input" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "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": "7812195bc16556e3483b6aea9b42308422bf5e6b", "dest": "/etc/rsyslog.d/30-output-files-files_test0.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-files-files_test0.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-files_test0", "sections": [ { "options": "ruleset(name=\"files_test0\") {\n *.info;authpriv.none;auth.none;cron.none;mail.none /var/log/messages\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-files_test0.conf", "follow": true, "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-files_test0.conf", "recurse": 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-files_test0.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 129, "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 skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-files_test1", "sections": [ { "options": "ruleset(name=\"files_test1\") {\n authpriv,auth.* /var/log/secure\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_severity_and_facility", "sections": [ { "options": "ruleset(name=\"forwards_severity_and_facility\") {\n local1.info action(name=\"forwards_severity_and_facility\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"1514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "157b032011a6efebb4d2e7bb512d5f959b0a6913", "dest": "/etc/rsyslog.d/10-output-forwards-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-forwards-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-forwards-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfwd\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_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-forwards-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 127, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true } ] }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Remove role config files from rsyslog.d] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/deploy.yml:35 Tuesday 26 July 2022 23:12:49 +0000 (0:00:00.070) 0:01:57.065 ********** changed: [/cache/centos-7.qcow2c.snap] => (item={'name': 'output-forwards-forwards_facility_only', 'type': 'output', 'state': 'absent', 'sections': [{'options': 'ruleset(name="forwards_facility_only") {\n local2.* action(name="forwards_facility_only"\n type="omfwd"\n Target="host.domain"\n Port="2514"\n Protocol="tcp"\n Template="RSYSLOG_ForwardFormat"\n )\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "inner_item": { "name": "output-forwards-forwards_facility_only", "sections": [ { "options": "ruleset(name=\"forwards_facility_only\") {\n local2.* action(name=\"forwards_facility_only\"\n type=\"omfwd\"\n Target=\"host.domain\"\n Port=\"2514\"\n Protocol=\"tcp\"\n Template=\"RSYSLOG_ForwardFormat\"\n )\n}\n" } ], "state": "absent", "type": "output" }, "path": "/etc/rsyslog.d/30-output-forwards-forwards_facility_only.conf", "state": "absent" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 23:12:50 +0000 (0:00:00.394) 0:01:57.460 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 23:12:50 +0000 (0:00:00.043) 0:01:57.503 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 23:12:50 +0000 (0:00:00.049) 0:01:57.553 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 23:12:50 +0000 (0:00:00.039) 0:01:57.593 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 23:12:50 +0000 (0:00:00.057) 0:01:57.650 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 23:12:50 +0000 (0:00:00.087) 0:01:57.737 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 23:12:50 +0000 (0:00:00.052) 0:01:57.790 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 23:12:50 +0000 (0:00:00.052) 0:01:57.843 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:12:31 UTC", "ActiveEnterTimestampMonotonic": "360978504", "ActiveExitTimestamp": "Tue 2022-07-26 23:12:31 UTC", "ActiveExitTimestampMonotonic": "360962968", "ActiveState": "active", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:12:31 UTC", "AssertTimestampMonotonic": "360968790", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:12:31 UTC", "ConditionTimestampMonotonic": "360968790", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "2140", "ExecMainStartTimestamp": "Tue 2022-07-26 23:12:31 UTC", "ExecMainStartTimestampMonotonic": "360969680", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:12:31 UTC] ; stop_time=[n/a] ; pid=2140 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 23:12:31 UTC", "InactiveEnterTimestampMonotonic": "360968312", "InactiveExitTimestamp": "Tue 2022-07-26 23:12:31 UTC", "InactiveExitTimestampMonotonic": "360969734", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "2140", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 23:12:31 UTC", "WatchdogTimestampMonotonic": "360978449", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 23:12:51 +0000 (0:00:00.408) 0:01:58.251 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 23:12:51 +0000 (0:00:00.044) 0:01:58.296 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:483 Tuesday 26 July 2022 23:12:51 +0000 (0:00:00.072) 0:01:58.369 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 23:12:51 +0000 (0:00:00.000) 0:01:58.369 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:12:31 UTC", "ActiveEnterTimestampMonotonic": "360978504", "ActiveExitTimestamp": "Tue 2022-07-26 23:12:31 UTC", "ActiveExitTimestampMonotonic": "360962968", "ActiveState": "active", "After": "network.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:12:31 UTC", "AssertTimestampMonotonic": "360968790", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:12:31 UTC", "ConditionTimestampMonotonic": "360968790", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "2140", "ExecMainStartTimestamp": "Tue 2022-07-26 23:12:31 UTC", "ExecMainStartTimestampMonotonic": "360969680", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:12:31 UTC] ; stop_time=[n/a] ; pid=2140 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2022-07-26 23:12:31 UTC", "InactiveEnterTimestampMonotonic": "360968312", "InactiveExitTimestamp": "Tue 2022-07-26 23:12:31 UTC", "InactiveExitTimestampMonotonic": "360969734", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "2140", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 23:12:31 UTC", "WatchdogTimestampMonotonic": "360978449", "WatchdogUSec": "0" } } META: ran handlers TASK [Ensure config file size and counts] ************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:486 Tuesday 26 July 2022 23:12:51 +0000 (0:00:00.425) 0:01:58.794 ********** included: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml for /cache/centos-7.qcow2c.snap TASK [Get info of /etc/rsyslog.conf] ******************************************* task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:1 Tuesday 26 July 2022 23:12:51 +0000 (0:00:00.083) 0:01:58.877 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1658877151.4583895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1658877137.6283896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4244441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877137.4173894, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "1884167548", "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/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:6 Tuesday 26 July 2022 23:12:52 +0000 (0:00:00.324) 0:01:59.202 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "examined": 9, "files": [ { "atime": 1658877050.2173896, "ctime": 1658877024.4693894, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 9132297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1576682095.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": 1658877151.4583895, "ctime": 1658877138.4373896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 7147, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877138.2293894, "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": 1658877151.4583895, "ctime": 1658877139.0053895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583259, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877138.7973895, "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": 1658877171.3733895, "ctime": 1658877161.6893895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583262, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877161.4753895, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 570, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877151.4583895, "ctime": 1658877141.4063895, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 4244442, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877141.1953895, "nlink": 1, "path": "/etc/rsyslog.d/10-input-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 95, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877145.1343894, "ctime": 1658877143.6123896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583260, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877143.4063895, "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": 1658877151.4583895, "ctime": 1658877144.5033896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 8431908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877144.2943895, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1658877148.8003895, "ctime": 1658877147.1253896, "dev": 64769, "gid": 0, "gr_name": "root", "inode": 12583261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1658877146.9123895, "nlink": 1, "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:12 Tuesday 26 July 2022 23:12:52 +0000 (0:00:00.314) 0:01:59.517 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:17 Tuesday 26 July 2022 23:12:52 +0000 (0:00:00.040) 0:01:59.558 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:22 Tuesday 26 July 2022 23:12:52 +0000 (0:00:00.028) 0:01:59.586 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:26 Tuesday 26 July 2022 23:12:52 +0000 (0:00:00.109) 0:01:59.696 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/90-input-basics-basic_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "stat": { "atime": 1658877171.3733895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d12528d99ba6905ea799d545105fdd29eeef8ffd", "ctime": 1658877161.6893895, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12583262, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1658877161.4753895, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 570, "uid": 0, "version": "1841149770", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:34 Tuesday 26 July 2022 23:12:52 +0000 (0:00:00.342) 0:02:00.039 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check /etc/rsyslog.d/90-input-basics-basic_input.conf was updated] ******* task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:495 Tuesday 26 July 2022 23:12:52 +0000 (0:00:00.031) 0:02:00.070 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "/bin/grep", "# GENERATED BASICS CONFIG FILE", "/etc/rsyslog.d/90-input-basics-basic_input.conf" ], "delta": "0:00:01.004500", "end": "2022-07-26 23:12:53.977165", "failed_when_result": false, "rc": 1, "start": "2022-07-26 23:12:52.972665" } MSG: non-zero return code TASK [Check rsyslog errors] **************************************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:504 Tuesday 26 July 2022 23:12:54 +0000 (0:00:01.326) 0:02:01.396 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "systemctl", "status", "rsyslog" ], "delta": "0:00:00.009862", "end": "2022-07-26 23:12:54.312854", "failed_when_result": false, "rc": 0, "start": "2022-07-26 23:12:54.302992" } STDOUT: ● rsyslog.service - System Logging Service Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2022-07-26 23:12:51 UTC; 2s ago Docs: man:rsyslogd(8) http://www.rsyslog.com/doc/ Main PID: 3953 (rsyslogd) CGroup: /system.slice/rsyslog.service └─3953 /usr/sbin/rsyslogd -n Jul 26 23:12:51 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com systemd[1]: Starting System Logging Service... Jul 26 23:12:51 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com rsyslogd[3953]: [origin software="rsyslogd" swVersion="8.24.0-57.el7_9.3" x-pid="3953" x-info="http://www.rsyslog.com"] start Jul 26 23:12:51 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com rsyslogd[3953]: imfile: no files configured to be monitored - no input will be gathered [v8.24.0-57.el7_9.3 try http://www.rsyslog.com/e/2212 ] Jul 26 23:12:51 ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com systemd[1]: Started System Logging Service. TASK [END TEST CASE 2; Clean up the deployed config] *************************** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:510 Tuesday 26 July 2022 23:12:54 +0000 (0:00:00.337) 0:02:01.734 ********** TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:5 Tuesday 26 July 2022 23:12:54 +0000 (0:00:00.114) 0:02:01.848 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:12 Tuesday 26 July 2022 23:12:54 +0000 (0:00:00.052) 0:02:01.901 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:16 Tuesday 26 July 2022 23:12:54 +0000 (0:00:00.164) 0:02:02.066 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set custom_config_files fact] ******** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:20 Tuesday 26 July 2022 23:12:54 +0000 (0:00:00.062) 0:02:02.128 ********** TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Tuesday 26 July 2022 23:12:54 +0000 (0:00:00.029) 0:02:02.158 ********** TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:41 Tuesday 26 July 2022 23:12:54 +0000 (0:00:00.025) 0:02:02.183 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.048) 0:02:02.232 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:51 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.049) 0:02:02.281 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:57 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.047) 0:02:02.328 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:63 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.050) 0:02:02.378 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:67 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.046) 0:02:02.425 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:84 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.047) 0:02:02.473 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.045) 0:02:02.518 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.045) 0:02:02.563 ********** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:9 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.435) 0:02:02.999 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:19 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.086) 0:02:03.085 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmprpwa1_ne/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-7.qcow2c.snap] => (item=/tmp/tmprpwa1_ne/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/tmprpwa1_ne/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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Tuesday 26 July 2022 23:12:55 +0000 (0:00:00.088) 0:02:03.174 ********** included: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:14 Tuesday 26 July 2022 23:12:56 +0000 (0:00:00.087) 0:02:03.262 ********** ok: [/cache/centos-7.qcow2c.snap] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.061564", "end": "2022-07-26 23:12:56.240804", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-07-26 23:12:56.179240" } 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 Tuesday 26 July 2022 23:12:56 +0000 (0:00:00.435) 0:02:03.697 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "removed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n rsyslog x86_64 8.24.0-57.el7_9.3 @updates 1.9 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \nwarning: /etc/rsyslog.conf saved as /etc/rsyslog.conf.rpmsave\n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nRemoved:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Tuesday 26 July 2022 23:12:57 +0000 (0:00:01.254) 0:02:04.952 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "rsyslog" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.cs.vt.edu\n * extras: centos-distro.cavecreek.net\n * updates: mirror.math.princeton.edu\nResolving Dependencies\n--> Running transaction check\n---> Package rsyslog.x86_64 0:8.24.0-57.el7_9.3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n rsyslog x86_64 8.24.0-57.el7_9.3 updates 622 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 622 k\nInstalled size: 1.9 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n Verifying : rsyslog-8.24.0-57.el7_9.3.x86_64 1/1 \n\nInstalled:\n rsyslog.x86_64 0:8.24.0-57.el7_9.3 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset erased flag] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:39 Tuesday 26 July 2022 23:12:59 +0000 (0:00:01.665) 0:02:06.618 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 Tuesday 26 July 2022 23:12:59 +0000 (0:00:00.041) 0:02:06.660 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "packages": { "PyYAML": [ { "arch": "x86_64", "epoch": null, "name": "PyYAML", "release": "11.el7", "source": "rpm", "version": "3.10" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "audit-libs-python": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs-python", "release": "4.el7", "source": "rpm", "version": "2.8.5" } ], "authconfig": [ { "arch": "x86_64", "epoch": null, "name": "authconfig", "release": "30.el7", "source": "rpm", "version": "6.2.8" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "7.el7.centos", "source": "rpm", "version": "10.0" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "34.el7", "source": "rpm", "version": "4.2.46" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "13.el7", "source": "rpm", "version": "1.06.95" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "26.P2.el7_9.7", "source": "rpm", "version": "9.11.4" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "44.base.el7_9.1", "source": "rpm", "version": "2.27" } ], "btrfs-progs": [ { "arch": "x86_64", "epoch": null, "name": "btrfs-progs", "release": "1.el7", "source": "rpm", "version": "4.9.1" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "13.el7", "source": "rpm", "version": "1.0.6" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "72.el7_9", "source": "rpm", "version": "2021.2.50" } ], "centos-release": [ { "arch": "x86_64", "epoch": null, "name": "centos-release", "release": "9.2009.1.el7.centos", "source": "rpm", "version": "7" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "8.el7", "source": "rpm", "version": "2.5" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el7", "source": "rpm", "version": "1.7.6" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el7", "source": "rpm", "version": "3.4" } ], "cloud-init": [ { "arch": "x86_64", "epoch": null, "name": "cloud-init", "release": "7.el7.centos.5", "source": "rpm", "version": "19.4" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "5.el7", "source": "rpm", "version": "0.29" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "24.el7_9.2", "source": "rpm", "version": "8.22" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "28.el7", "source": "rpm", "version": "2.11" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "11.el7", "source": "rpm", "version": "2.9.0" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "23.el7", "source": "rpm", "version": "1.4.11" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "6.20121102git.el7", "source": "rpm", "version": "1.11" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "6.el7", "source": "rpm", "version": "2.0.3" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "23.el7", "source": "rpm", "version": "2.1.26" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "7.el7", "source": "rpm", "version": "0.100" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "15.el7", "source": "rpm", "version": "1.10.24" } ], "dbus-python": [ { "arch": "x86_64", "epoch": null, "name": "dbus-python", "release": "9.el7", "source": "rpm", "version": "1.1.1" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 7, "name": "device-mapper-libs", "release": "6.el7_9.5", "source": "rpm", "version": "1.02.170" } ], "dhclient": [ { "arch": "x86_64", "epoch": 12, "name": "dhclient", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-common": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-common", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "83.el7.centos.1", "source": "rpm", "version": "4.2.5" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "5.el7", "source": "rpm", "version": "3.3" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "5.el7_9.1", "source": "rpm", "version": "3.2" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-generic": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "572.el7", "source": "rpm", "version": "033" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "572.el7", "source": "rpm", "version": "033" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "5.el7", "source": "rpm", "version": "0.176" } ], "epel-release": [ { "arch": "noarch", "epoch": null, "name": "epel-release", "release": "14", "source": "rpm", "version": "7" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "10.el7", "source": "rpm", "version": "4.8" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "12.el7", "source": "rpm", "version": "2.1.0" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "37.el7", "source": "rpm", "version": "5.11" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "25.el7", "source": "rpm", "version": "3.2" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "6.el7", "source": "rpm", "version": "4.5.11" } ], "fipscheck": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "fipscheck-lib": [ { "arch": "x86_64", "epoch": null, "name": "fipscheck-lib", "release": "6.el7", "source": "rpm", "version": "1.4.1" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "14.el7_9.1", "source": "rpm", "version": "2.8" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el7_3.1", "source": "rpm", "version": "4.0.2" } ], "gdbm": [ { "arch": "x86_64", "epoch": null, "name": "gdbm", "release": "8.el7", "source": "rpm", "version": "1.10" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "3.el7", "source": "rpm", "version": "0.8.10" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.el7", "source": "rpm", "version": "0.19.8.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "9.el7_9", "source": "rpm", "version": "2.56.1" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "325.el7_9", "source": "rpm", "version": "2.17" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "15.el7", "source": "rpm", "version": "6.0.0" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "5.el7_5", "source": "rpm", "version": "2.0.22" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "9.el7_6", "source": "rpm", "version": "3.3.29" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el7", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "53a7ff4b", "source": "rpm", "version": "f4a80eb5" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "5.el7", "source": "rpm", "version": "1.3.2" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "3.el7", "source": "rpm", "version": "2.20" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "8.el7", "source": "rpm", "version": "1.22.2" } ], "grub2": [ { "arch": "x86_64", "epoch": 1, "name": "grub2", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "0.87.el7.centos.7", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "26.el7", "source": "rpm", "version": "8.28" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "30.el7_9", "source": "rpm", "version": "0.7.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "10.el7", "source": "rpm", "version": "1.5" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "19.el7", "source": "rpm", "version": "1.0" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.el7_7.1", "source": "rpm", "version": "3.13" } ], "hwdata": [ { "arch": "x86_64", "epoch": null, "name": "hwdata", "release": "9.7.el7", "source": "rpm", "version": "0.252" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "5.el7", "source": "rpm", "version": "5.1" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el7_9.1", "source": "rpm", "version": "9.49.53" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "30.el7", "source": "rpm", "version": "4.11.0" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "35.el7", "source": "rpm", "version": "1.4.21" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el7", "source": "rpm", "version": "20160308" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 3, "name": "irqbalance", "release": "12.el7", "source": "rpm", "version": "1.0.7" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el7", "source": "rpm", "version": "2.10" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "4.el7_0", "source": "rpm", "version": "0.11" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "15.el7", "source": "rpm", "version": "1.15.5" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "51.el7_9.3", "source": "rpm", "version": "2.0.15" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "3.el7", "source": "rpm", "version": "1.5.8" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "28.el7", "source": "rpm", "version": "20" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "28.el7", "source": "rpm", "version": "20" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "135.el7_9", "source": "rpm", "version": "0.4.9" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "50.el7", "source": "rpm", "version": "1.15.1" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "9.el7", "source": "rpm", "version": "458" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "15.el7", "source": "rpm", "version": "2.2.51" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el7", "source": "rpm", "version": "2.1.0" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "13.el7", "source": "rpm", "version": "2.4.46" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "32.el7", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "11.el7", "source": "rpm", "version": "2.22" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "4.el7", "source": "rpm", "version": "0.7.5" } ], "libcgroup": [ { "arch": "x86_64", "epoch": null, "name": "libcgroup", "release": "21.el7", "source": "rpm", "version": "0.41" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "32.el7", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "6.el7_9", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "59.el7_9.1", "source": "rpm", "version": "7.29.0" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "7.el7", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "25.el7", "source": "rpm", "version": "5.3.21" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "12.20121213cvs.el7", "source": "rpm", "version": "3.0" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "2.el7", "source": "rpm", "version": "0.1.9" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "4.el7", "source": "rpm", "version": "2.0.21" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "3.el7", "source": "rpm", "version": "0.99.4" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "19.el7", "source": "rpm", "version": "3.0.13" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "14.el7", "source": "rpm", "version": "1.5.3" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "3.el7", "source": "rpm", "version": "1.12" } ], "libidn": [ { "arch": "x86_64", "epoch": null, "name": "libidn", "release": "4.el7", "source": "rpm", "version": "1.28" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "32.el7", "source": "rpm", "version": "1.3.1" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "3.el7", "source": "rpm", "version": "2.0.2" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "9.el7", "source": "rpm", "version": "1.2" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "1.el7_3", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "4.el7", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": null, "name": "libnfsidmap", "release": "19.el7", "source": "rpm", "version": "0.25" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "4.el7", "source": "rpm", "version": "3.2.28" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "32.el7", "source": "rpm", "version": "0.2.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "3.el7", "source": "rpm", "version": "1.2.3" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "8.el7", "source": "rpm", "version": "1.5.13" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "5.el7", "source": "rpm", "version": "1.2.3" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "32.el7", "source": "rpm", "version": "0.1.5" } ], "librelp": [ { "arch": "x86_64", "epoch": null, "name": "librelp", "release": "1.el7_5.1", "source": "rpm", "version": "1.2.12" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "4.el7", "source": "rpm", "version": "2.3.1" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-python": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-python", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "15.el7", "source": "rpm", "version": "2.5" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsemanage-python": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage-python", "release": "14.el7", "source": "rpm", "version": "2.5" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "10.el7", "source": "rpm", "version": "2.5" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "19.el7", "source": "rpm", "version": "1.42.9" } ], "libssh2": [ { "arch": "x86_64", "epoch": null, "name": "libssh2", "release": "4.el7", "source": "rpm", "version": "1.8.0" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "44.el7", "source": "rpm", "version": "4.8.5" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "16.el7", "source": "rpm", "version": "2.1.0" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "1.el7", "source": "rpm", "version": "4.10" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "0.16.el7", "source": "rpm", "version": "0.2.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.el7", "source": "rpm", "version": "0.9.3" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "9.el7", "source": "rpm", "version": "0.60" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "4.el7", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libverto-libevent": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libevent", "release": "4.el7", "source": "rpm", "version": "0.2.5" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libxml2-python": [ { "arch": "x86_64", "epoch": null, "name": "libxml2-python", "release": "6.el7_9.6", "source": "rpm", "version": "2.9.1" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "11.el7_0", "source": "rpm", "version": "0.1.4" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "19.el7", "source": "rpm", "version": "3.8.6" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "17.el7", "source": "rpm", "version": "B.02.18" } ], "lsof": [ { "arch": "x86_64", "epoch": null, "name": "lsof", "release": "6.el7", "source": "rpm", "version": "4.87" } ], "lua": [ { "arch": "x86_64", "epoch": null, "name": "lua", "release": "15.el7", "source": "rpm", "version": "5.1.4" } ], "lz4": [ { "arch": "x86_64", "epoch": null, "name": "lz4", "release": "1.el7", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "8.el7", "source": "rpm", "version": "2.06" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "24.el7", "source": "rpm", "version": "3.82" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "11.el7", "source": "rpm", "version": "2.6.3" } ], "mariadb-libs": [ { "arch": "x86_64", "epoch": 1, "name": "mariadb-libs", "release": "1.el7", "source": "rpm", "version": "5.5.68" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 2, "name": "microcode_ctl", "release": "73.11.el7_9", "source": "rpm", "version": "2.1" } ], "mozjs17": [ { "arch": "x86_64", "epoch": null, "name": "mozjs17", "release": "20.el7", "source": "rpm", "version": "17.0.0" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "14.20130511.el7_4", "source": "rpm", "version": "5.9" } ], "net-tools": [ { "arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.25.20131004git.el7", "source": "rpm", "version": "2.0" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "9.el7_9", "source": "rpm", "version": "2.7.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "newt-python": [ { "arch": "x86_64", "epoch": null, "name": "newt-python", "release": "4.el7", "source": "rpm", "version": "0.52.15" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "0.68.el7.2", "source": "rpm", "version": "1.3.0" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "1.el7_9", "source": "rpm", "version": "4.32.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-pem": [ { "arch": "x86_64", "epoch": null, "name": "nss-pem", "release": "7.el7", "source": "rpm", "version": "1.0.3" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-tools": [ { "arch": "x86_64", "epoch": null, "name": "nss-tools", "release": "3.el7_9", "source": "rpm", "version": "3.67.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "1.el7_9", "source": "rpm", "version": "3.67.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "5.el7", "source": "rpm", "version": "2.0.12" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "24.el7_9", "source": "rpm", "version": "2.4.44" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "21.el7", "source": "rpm", "version": "7.4p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "22.el7_9", "source": "rpm", "version": "1.0.2k" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el7", "source": "rpm", "version": "1.58" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "3.el7", "source": "rpm", "version": "0.23.5" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "23.el7", "source": "rpm", "version": "1.1.8" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "32.el7", "source": "rpm", "version": "3.1" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "6.el7", "source": "rpm", "version": "0.79" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.el7", "source": "rpm", "version": "3.5.1" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "17.el7", "source": "rpm", "version": "8.32" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "17.el7", "source": "rpm", "version": "0.8.1" } ], "pkgconfig": [ { "arch": "x86_64", "epoch": 1, "name": "pkgconfig", "release": "4.el7", "source": "rpm", "version": "0.27.1" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "policycoreutils-python": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils-python", "release": "34.el7", "source": "rpm", "version": "2.5" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "26.el7", "source": "rpm", "version": "0.112" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "4.el7", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "16.el7", "source": "rpm", "version": "1.13" } ], "postfix": [ { "arch": "x86_64", "epoch": 2, "name": "postfix", "release": "9.el7", "source": "rpm", "version": "2.10.1" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "28.el7", "source": "rpm", "version": "3.3.10" } ], "pth": [ { "arch": "x86_64", "epoch": null, "name": "pth", "release": "23.el7", "source": "rpm", "version": "2.0.7" } ], "pygpgme": [ { "arch": "x86_64", "epoch": null, "name": "pygpgme", "release": "9.el7", "source": "rpm", "version": "0.3" } ], "pyliblzma": [ { "arch": "x86_64", "epoch": null, "name": "pyliblzma", "release": "11.el7", "source": "rpm", "version": "0.5.3" } ], "pyserial": [ { "arch": "noarch", "epoch": null, "name": "pyserial", "release": "6.el7", "source": "rpm", "version": "2.6" } ], "python": [ { "arch": "x86_64", "epoch": null, "name": "python", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-IPy": [ { "arch": "noarch", "epoch": null, "name": "python-IPy", "release": "6.el7", "source": "rpm", "version": "0.75" } ], "python-babel": [ { "arch": "noarch", "epoch": null, "name": "python-babel", "release": "8.el7", "source": "rpm", "version": "0.9.6" } ], "python-backports": [ { "arch": "x86_64", "epoch": null, "name": "python-backports", "release": "8.el7", "source": "rpm", "version": "1.0" } ], "python-backports-ssl_match_hostname": [ { "arch": "noarch", "epoch": null, "name": "python-backports-ssl_match_hostname", "release": "1.el7", "source": "rpm", "version": "3.5.0.1" } ], "python-chardet": [ { "arch": "noarch", "epoch": null, "name": "python-chardet", "release": "3.el7", "source": "rpm", "version": "2.2.1" } ], "python-configobj": [ { "arch": "noarch", "epoch": null, "name": "python-configobj", "release": "7.el7", "source": "rpm", "version": "4.7.2" } ], "python-decorator": [ { "arch": "noarch", "epoch": null, "name": "python-decorator", "release": "3.el7", "source": "rpm", "version": "3.4.0" } ], "python-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python-gobject-base", "release": "1.el7_4.1", "source": "rpm", "version": "3.22.0" } ], "python-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python-iniparse", "release": "9.el7", "source": "rpm", "version": "0.4" } ], "python-ipaddress": [ { "arch": "noarch", "epoch": null, "name": "python-ipaddress", "release": "2.el7", "source": "rpm", "version": "1.0.16" } ], "python-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python-jinja2", "release": "4.el7", "source": "rpm", "version": "2.7.2" } ], "python-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpatch", "release": "4.el7", "source": "rpm", "version": "1.2" } ], "python-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python-jsonpointer", "release": "2.el7", "source": "rpm", "version": "1.9" } ], "python-kitchen": [ { "arch": "noarch", "epoch": null, "name": "python-kitchen", "release": "5.el7", "source": "rpm", "version": "1.1.1" } ], "python-libs": [ { "arch": "x86_64", "epoch": null, "name": "python-libs", "release": "90.el7", "source": "rpm", "version": "2.7.5" } ], "python-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python-linux-procfs", "release": "4.el7", "source": "rpm", "version": "0.4.11" } ], "python-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python-markupsafe", "release": "10.el7", "source": "rpm", "version": "0.11" } ], "python-perf": [ { "arch": "x86_64", "epoch": null, "name": "python-perf", "release": "1160.45.1.el7", "source": "rpm", "version": "3.10.0" } ], "python-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python-prettytable", "release": "3.el7", "source": "rpm", "version": "0.7.2" } ], "python-pycurl": [ { "arch": "x86_64", "epoch": null, "name": "python-pycurl", "release": "19.el7", "source": "rpm", "version": "7.19.0" } ], "python-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python-pyudev", "release": "9.el7", "source": "rpm", "version": "0.15" } ], "python-requests": [ { "arch": "noarch", "epoch": null, "name": "python-requests", "release": "10.el7", "source": "rpm", "version": "2.6.0" } ], "python-schedutils": [ { "arch": "x86_64", "epoch": null, "name": "python-schedutils", "release": "6.el7", "source": "rpm", "version": "0.4" } ], "python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python-setuptools", "release": "7.el7", "source": "rpm", "version": "0.9.8" } ], "python-six": [ { "arch": "noarch", "epoch": null, "name": "python-six", "release": "2.el7", "source": "rpm", "version": "1.9.0" } ], "python-urlgrabber": [ { "arch": "noarch", "epoch": null, "name": "python-urlgrabber", "release": "10.el7", "source": "rpm", "version": "3.10" } ], "python-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python-urllib3", "release": "7.el7", "source": "rpm", "version": "1.10.2" } ], "pyxattr": [ { "arch": "x86_64", "epoch": null, "name": "pyxattr", "release": "5.el7", "source": "rpm", "version": "0.5.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 10, "name": "qemu-guest-agent", "release": "3.el7", "source": "rpm", "version": "2.12.0" } ], "qrencode-libs": [ { "arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "3.el7", "source": "rpm", "version": "3.4.1" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "19.el7", "source": "rpm", "version": "4.01" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "11.el7", "source": "rpm", "version": "6.2" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "11.el7", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "49.el7", "source": "rpm", "version": "0.2.0" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rpm-python": [ { "arch": "x86_64", "epoch": null, "name": "rpm-python", "release": "46.el7_9", "source": "rpm", "version": "4.11.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "10.el7", "source": "rpm", "version": "3.1.2" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "57.el7_9.3", "source": "rpm", "version": "8.24.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "7.el7", "source": "rpm", "version": "4.2.2" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "268.el7_9.2", "source": "rpm", "version": "3.13.1" } ], "setools-libs": [ { "arch": "x86_64", "epoch": null, "name": "setools-libs", "release": "4.el7", "source": "rpm", "version": "3.3.8" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "11.el7", "source": "rpm", "version": "2.8.71" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": 1, "name": "sg3_utils-libs", "release": "19.el7", "source": "rpm", "version": "1.37" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "5.el7", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "5.el7", "source": "rpm", "version": "1.8" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "11.el7", "source": "rpm", "version": "2.2.4" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el7", "source": "rpm", "version": "1.1.0" } ], "sqlite": [ { "arch": "x86_64", "epoch": null, "name": "sqlite", "release": "8.el7_7.1", "source": "rpm", "version": "3.7.17" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "10.el7_9.2", "source": "rpm", "version": "1.8.23" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "systemd-sysv": [ { "arch": "x86_64", "epoch": null, "name": "systemd-sysv", "release": "78.el7_9.3", "source": "rpm", "version": "219" } ], "sysvinit-tools": [ { "arch": "x86_64", "epoch": null, "name": "sysvinit-tools", "release": "14.dsf.el7", "source": "rpm", "version": "2.88" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "35.el7", "source": "rpm", "version": "1.26" } ], "tcp_wrappers": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "tcp_wrappers-libs": [ { "arch": "x86_64", "epoch": null, "name": "tcp_wrappers-libs", "release": "77.el7", "source": "rpm", "version": "7.6" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "3.el7", "source": "rpm", "version": "1.29" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "2.el7", "source": "rpm", "version": "0.3.14" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "11.el7_9", "source": "rpm", "version": "2.11.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.el7", "source": "rpm", "version": "2021e" } ], "ustr": [ { "arch": "x86_64", "epoch": null, "name": "ustr", "release": "16.el7", "source": "rpm", "version": "1.0.4" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "65.el7_9.1", "source": "rpm", "version": "2.23.2" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "8.el7_9", "source": "rpm", "version": "7.4.629" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "4.el7_9.1", "source": "rpm", "version": "1.18" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "7.el7", "source": "rpm", "version": "2.20" } ], "wpa_supplicant": [ { "arch": "x86_64", "epoch": 1, "name": "wpa_supplicant", "release": "12.el7_9.2", "source": "rpm", "version": "2.6" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "22.el7", "source": "rpm", "version": "4.5.0" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "1.el7", "source": "rpm", "version": "5.2.2" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "168.el7.centos", "source": "rpm", "version": "3.4.3" } ], "yum-metadata-parser": [ { "arch": "x86_64", "epoch": null, "name": "yum-metadata-parser", "release": "10.el7", "source": "rpm", "version": "1.1.4" } ], "yum-plugin-fastestmirror": [ { "arch": "noarch", "epoch": null, "name": "yum-plugin-fastestmirror", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "54.el7_8", "source": "rpm", "version": "1.1.31" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el7_9", "source": "rpm", "version": "1.2.7" } ] } }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:47 Tuesday 26 July 2022 23:13:00 +0000 (0:00:00.844) 0:02:07.505 ********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__rsyslog_version": "8.24.0" }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 1] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:54 Tuesday 26 July 2022 23:13:00 +0000 (0:00:00.047) 0:02:07.552 ********** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Rsyslog_version is 8.24.0, which is older than "8.37.0-7.2". TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version 2] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:59 Tuesday 26 July 2022 23:13:00 +0000 (0:00:00.044) 0:02:07.597 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set __rsyslog_failed_validation] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:65 Tuesday 26 July 2022 23:13:00 +0000 (0:00:00.032) 0:02:07.630 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:72 Tuesday 26 July 2022 23:13:00 +0000 (0:00:00.044) 0:02:07.675 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:79 Tuesday 26 July 2022 23:13:00 +0000 (0:00:00.381) 0:02:08.056 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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": 54, "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:85 Tuesday 26 July 2022 23:13:01 +0000 (0:00:00.335) 0:02:08.392 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:93 Tuesday 26 July 2022 23:13:01 +0000 (0:00:00.373) 0:02:08.765 ********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1642101032.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c9638f934d9bd63f915871a44f22aa1968342884", "ctime": 1658877178.9503896, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7128, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1642101032.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3232, "uid": 0, "version": "18446744072466936557", "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:98 Tuesday 26 July 2022 23:13:01 +0000 (0:00:00.356) 0:02:09.121 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:108 Tuesday 26 July 2022 23:13:01 +0000 (0:00:00.050) 0:02:09.172 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Tuesday 26 July 2022 23:13:02 +0000 (0:00:00.103) 0:02:09.276 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:155 Tuesday 26 July 2022 23:13:02 +0000 (0:00:00.059) 0:02:09.335 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:159 Tuesday 26 July 2022 23:13:02 +0000 (0:00:00.058) 0:02:09.394 ********** skipping: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:177 Tuesday 26 July 2022 23:13:02 +0000 (0:00:00.053) 0:02:09.448 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run input sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:188 Tuesday 26 July 2022 23:13:02 +0000 (0:00:00.028) 0:02:09.476 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include output sub-vars] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:203 Tuesday 26 July 2022 23:13:02 +0000 (0:00:00.040) 0:02:09.517 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Run output sub-tasks] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:215 Tuesday 26 July 2022 23:13:02 +0000 (0:00:00.026) 0:02:09.543 ********** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get rsyslog config files not owned by any package] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:227 Tuesday 26 July 2022 23:13:02 +0000 (0:00:00.027) 0:02:09.571 ********** ok: [/cache/centos-7.qcow2c.snap] => { "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.291833", "end": "2022-07-26 23:13:02.771256", "failed_when_result": false, "rc": 0, "start": "2022-07-26 23:13:02.479423" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-files-modules.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/10-output-forwards-modules.conf /etc/rsyslog.d/30-output-files-files_test0.conf /etc/rsyslog.d/90-input-basics-basic_input.conf TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 Tuesday 26 July 2022 23:13:02 +0000 (0:00:00.616) 0:02:10.187 ********** changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-input-files-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-files-modules.conf", "path": "/etc/rsyslog.d/10-input-files-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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-7.qcow2c.snap] => (item=/etc/rsyslog.d/10-output-forwards-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-forwards-modules.conf", "path": "/etc/rsyslog.d/10-output-forwards-modules.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (item=/etc/rsyslog.d/30-output-files-files_test0.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-files_test0.conf", "path": "/etc/rsyslog.d/30-output-files-files_test0.conf", "state": "absent" } changed: [/cache/centos-7.qcow2c.snap] => (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" } NOTIFIED HANDLER fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd for /cache/centos-7.qcow2c.snap 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:264 Tuesday 26 July 2022 23:13:05 +0000 (0:00:02.167) 0:02:12.355 ********** 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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:279 Tuesday 26 July 2022 23:13:05 +0000 (0:00:00.040) 0:02:12.395 ********** skipping: [/cache/centos-7.qcow2c.snap] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [/cache/centos-7.qcow2c.snap] => (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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:287 Tuesday 26 July 2022 23:13:05 +0000 (0:00:00.059) 0:02:12.454 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:299 Tuesday 26 July 2022 23:13:05 +0000 (0:00:00.048) 0:02:12.503 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "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/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:311 Tuesday 26 July 2022 23:13:05 +0000 (0:00:00.044) 0:02:12.548 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Enable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:330 Tuesday 26 July 2022 23:13:05 +0000 (0:00:00.044) 0:02:12.593 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target system.slice network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Disable rsyslog service] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:339 Tuesday 26 July 2022 23:13:05 +0000 (0:00:00.453) 0:02:13.046 ********** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check rsyslog version] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:350 Tuesday 26 July 2022 23:13:05 +0000 (0:00:00.045) 0:02:13.091 ********** skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: role_complete for /cache/centos-7.qcow2c.snap TASK [Cleaning up __testfile__] ************************************************ task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:516 Tuesday 26 July 2022 23:13:05 +0000 (0:00:00.072) 0:02:13.163 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "path": "/tmp/__testfile__", "state": "absent" } TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** task path: /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:523 Tuesday 26 July 2022 23:13:06 +0000 (0:00:00.314) 0:02:13.478 ********** RUNNING HANDLER [fedora.linux_system_roles.private_logging_subrole_rsyslog : restart rsyslogd] *** task path: /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 Tuesday 26 July 2022 23:13:06 +0000 (0:00:00.000) 0:02:13.478 ********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-26 23:13:05 UTC", "ActiveEnterTimestampMonotonic": "395141075", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice network-online.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-26 23:13:05 UTC", "AssertTimestampMonotonic": "395135091", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-07-26 23:13:05 UTC", "ConditionTimestampMonotonic": "395135090", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) http://www.rsyslog.com/doc/", "EnvironmentFile": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5224", "ExecMainStartTimestamp": "Tue 2022-07-26 23:13:05 UTC", "ExecMainStartTimestampMonotonic": "395135809", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Tue 2022-07-26 23:13:05 UTC] ; stop_time=[n/a] ; pid=5224 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-26 23:13:05 UTC", "InactiveExitTimestampMonotonic": "395135843", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "5224", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Tue 2022-07-26 23:13:05 UTC", "WatchdogTimestampMonotonic": "395141049", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=380 changed=60 unreachable=0 failed=0 skipped=282 rescued=0 ignored=0 Tuesday 26 July 2022 23:13:06 +0000 (0:00:00.479) 0:02:13.958 ********** =============================================================================== fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state --- 3.58s /tmp/tmprpwa1_ne/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 --- 3.30s /tmp/tmprpwa1_ne/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.10s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/handlers/main.yml:2 fedora.linux_system_roles.private_logging_subrole_rsyslog : Purge - remove files not generated by current state --- 2.17s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:244 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 1.79s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 1.78s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 1.67s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:30 Check /etc/rsyslog.d/90-input-basics-basic_input.conf was updated ------- 1.33s /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:495 ---------------------- fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent --- 1.32s /tmp/tmprpwa1_ne/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 --- 1.25s /tmp/tmprpwa1_ne/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 --- 1.24s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:23 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate common rsyslog configuration files in rsyslog.d --- 1.22s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate common rsyslog configuration files in rsyslog.d --- 1.18s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate common rsyslog configuration files in rsyslog.d --- 1.16s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 fedora.linux_system_roles.private_logging_subrole_rsyslog : Gather package facts --- 1.16s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:43 fedora.linux_system_roles.private_logging_subrole_rsyslog : Generate common rsyslog configuration files in rsyslog.d --- 1.10s /tmp/tmprpwa1_ne/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:131 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:2 ------------------------ Check the input call with tag=files_input ------------------------------- 1.02s /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:139 ---------------------- Check conf files exist -------------------------------------------------- 0.95s /tmp/tmpfihyqvnh/tests/logging/tasks/check_daemon_config_files.yml:26 --------- Check the input call with tag=files_input ------------------------------- 0.94s /tmp/tmpfihyqvnh/tests/logging/tests_combination.yml:313 ----------------------