ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Ip8 executable location = /usr/local/bin/ansible-playbook python version = 3.12.12 (main, Mar 9 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', 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_auditd_integration.yml ***************************************** 1 plays in /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml PLAY [Integration test for linux-system-roles.auditd] ************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml:4 Wednesday 22 April 2026 08:47:45 -0400 (0:00:00.019) 0:00:00.019 ******* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Back up existing auditd configuration and rules] ************************* task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml:9 Wednesday 22 April 2026 08:47:47 -0400 (0:00:02.316) 0:00:02.335 ******* included: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml for managed-node1 TASK [Check for existing auditd.conf] ****************************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:7 Wednesday 22 April 2026 08:47:47 -0400 (0:00:00.015) 0:00:02.351 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1776861956.892, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "92826a0a4167a0ec9df5fc3f743dd551e25be805", "ctime": 1776755470.647, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 932953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1768393724.0, "nlink": 1, "path": "/etc/audit/auditd.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 882, "uid": 0, "version": "1737414829", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check for existing custom.rules] ***************************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:12 Wednesday 22 April 2026 08:47:47 -0400 (0:00:00.440) 0:00:02.791 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Remember whether custom.rules existed] *********************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:17 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.334) 0:00:03.126 ******* ok: [managed-node1] => { "ansible_facts": { "__auditd_integration_had_custom_rules": false }, "changed": false } TASK [Back up auditd.conf before test] ***************************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:21 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.014) 0:00:03.140 ******* changed: [managed-node1] => { "changed": true, "checksum": "92826a0a4167a0ec9df5fc3f743dd551e25be805", "dest": "/root/.lsr_auditd_integration_auditd.conf.bak", "gid": 0, "group": "root", "md5sum": "fd5c639b8b1bd57c486dab75985ad9af", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:admin_home_t:s0", "size": 882, "src": "/etc/audit/auditd.conf", "state": "file", "uid": 0 } TASK [Back up custom.rules before test] **************************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:29 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.434) 0:00:03.574 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__auditd_integration_stat_rules.stat.exists", "skip_reason": "Conditional result was False" } TASK [Record auditd.conf backup path for cleanup] ****************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:37 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.010) 0:00:03.585 ******* ok: [managed-node1] => { "ansible_facts": { "__auditd_integration_backup_auditd_conf": "/root/.lsr_auditd_integration_auditd.conf.bak" }, "changed": false } TASK [Record custom.rules backup path for cleanup] ***************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:42 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.013) 0:00:03.599 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__auditd_integration_stat_rules.stat.exists", "skip_reason": "Conditional result was False" } TASK [Set filter based on platform/version] ************************************ task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml:12 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.014) 0:00:03.613 ******* ok: [managed-node1] => { "ansible_facts": { "__filter": "io_uring" }, "changed": false } TASK [Run auditd role with non-default settings] ******************************* task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml:16 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.013) 0:00:03.627 ******* included: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml for managed-node1 TASK [Clear facts] ************************************************************* task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:9 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.017) 0:00:03.644 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:23 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.000) 0:00:03.645 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:33 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.015) 0:00:03.660 ******* included: fedora.linux_system_roles.auditd for managed-node1 TASK [fedora.linux_system_roles.auditd : Validating arguments against arg spec 'main' - Manage auditd and audit rules] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml:4 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.067) 0:00:03.727 ******* ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "auditd", "path": "/tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd", "type": "role" } } MSG: The arg spec validation passed TASK [fedora.linux_system_roles.auditd : Set platform/version specific variables] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:3 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.016) 0:00:03.744 ******* included: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.auditd : Ensure ansible_facts used by role] **** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:2 Wednesday 22 April 2026 08:47:48 -0400 (0:00:00.016) 0:00:03.760 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.auditd : Check if system is ostree] ************ task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:10 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.548) 0:00:04.308 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.auditd : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:15 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.341) 0:00:04.650 ******* ok: [managed-node1] => { "ansible_facts": { "__auditd_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.auditd : Set platform/version specific variables] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:19 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.020) 0:00:04.670 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.auditd : Resolve package names for OS family] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:34 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.027) 0:00:04.698 ******* ok: [managed-node1] => { "ansible_facts": { "__auditd_packages": [ "audit" ] }, "changed": false } TASK [fedora.linux_system_roles.auditd : Validate role parameters] ************* task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:8 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.014) 0:00:04.713 ******* included: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml for managed-node1 TASK [fedora.linux_system_roles.auditd : Assert num_logs range (num_logs_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:4 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.031) 0:00:04.744 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert freq range (freq_parser)] ****** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:11 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.016) 0:00:04.761 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert incremental flush requires non-zero freq (sanity_check)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:18 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.015) 0:00:04.776 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert priority_boost range (priority_boost_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:25 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.015) 0:00:04.792 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert q_depth range (q_depth_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:31 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.015) 0:00:04.808 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert auditd_maximum_rate is null or a non-negative integer] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:38 Wednesday 22 April 2026 08:47:49 -0400 (0:00:00.014) 0:00:04.822 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert auditd_backlog_wait_time is null or a non-negative integer] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:48 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.020) 0:00:04.843 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert max_restarts range (max_restarts_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:58 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.021) 0:00:04.865 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert tcp_listen_port range when listener enabled in build (tcp_listen_port_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:64 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.015) 0:00:04.880 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert tcp_listen_queue range (tcp_listen_queue_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:70 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.015) 0:00:04.895 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert tcp_max_per_addr range (tcp_max_per_addr_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:76 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.015) 0:00:04.911 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert tcp_client_max_idle range (tcp_client_max_idle_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:82 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.015) 0:00:04.926 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert tcp_client_ports format (tcp_client_ports_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:88 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.015) 0:00:04.942 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert tcp_client_ports range order] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:98 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.020) 0:00:04.962 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert space_left_action rejects halt (space_action_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:107 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.020) 0:00:04.983 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert space_left percentage is between 1 and 99 when given as N%] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:113 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.015) 0:00:04.998 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(auditd_space_left | string) is match('^[0-9]+%$')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert admin_space_left percentage is between 1 and 99 when given as N%] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:125 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.015) 0:00:05.014 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(auditd_admin_space_left | string) is match('^[0-9]+%$')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert space_left is greater than admin_space_left when both use same form] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:137 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.015) 0:00:05.029 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert disk_full_action rejects email (disk_full_action_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:161 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.023) 0:00:05.053 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert disk_error_action rejects email and rotate (disk_error_action_parser)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:167 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.015) 0:00:05.068 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert exec companion paths when action is exec] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:173 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.015) 0:00:05.083 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "auditd_max_log_file_action | lower == 'exec'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert space_left_action exec path] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:180 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.012) 0:00:05.095 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "auditd_space_left_action | lower == 'exec'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert admin_space_left_action exec path] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:187 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.011) 0:00:05.107 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "auditd_admin_space_left_action | lower == 'exec'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert disk_full_action exec path] **** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:194 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.011) 0:00:05.118 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "auditd_disk_full_action | lower == 'exec'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert disk_error_action exec path] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:201 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.011) 0:00:05.129 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "auditd_disk_error_action | lower == 'exec'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert name when name_format is user (resolve_node)] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:208 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.011) 0:00:05.140 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Validate auditd_rules structure and values] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:215 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.017) 0:00:05.158 ******* included: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml for managed-node1 TASK [fedora.linux_system_roles.auditd : Assert auditd_rules is a list of dicts] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:4 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.038) 0:00:05.197 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert each auditd_rules entry has required action and filter] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:13 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.024) 0:00:05.222 ******* ok: [managed-node1] => (item=never,filesystem) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "never", "field": "fstype=debugfs", "filter": "filesystem", "keyname": "lsr_fs_dbg" } } MSG: All assertions passed ok: [managed-node1] => (item=always,io_uring) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "filter": "io_uring", "keyname": "lsr_io_uring", "syscall": [ "openat", "openat2" ] } } MSG: All assertions passed ok: [managed-node1] => (item=always,exit) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "nowarn", "filter": "exit", "keyname": "lsr_arch_nw", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item=always,exit) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": [ "b32", "b64" ], "filter": "exit", "keyname": "lsr_arch_pair", "syscall": "read" } } MSG: All assertions passed ok: [managed-node1] => (item=always,exit) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": "lsr_path_nw", "path": "/etc/hosts", "permission": "nowarn", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item=always,exit) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "dir": "/etc/ssh", "filter": "exit", "keyname": "lsr_dir_one_perm", "permission": "read", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item=always,exit) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "dir": "/tmp", "filter": "exit", "keyname": "lsr_dir_many_perm", "permission": [ "read", "write" ], "syscall": "openat" } } MSG: All assertions passed ok: [managed-node1] => (item=always,exit) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": "lsr_sc_list", "syscall": [ "open", "close" ] } } MSG: All assertions passed ok: [managed-node1] => (item=always,exit) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "field": [ "success=1", "auid!=-1", "exit<-1", "gid>10", "euid<=65534", "pid>=0", "a1&0100", "a2&=0200" ], "filter": "exit", "keyname": [ "lsr_ops", "lsr_ops2", "lsr_ops3" ], "path": "/etc/issue", "permission": "read", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item=always,exit) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": [ "kk1", "kk2" ], "syscall": "dup" } } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert auditd_rules entries use only supported keys] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:29 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.112) 0:00:05.334 ******* ok: [managed-node1] => (item={'action': 'never', 'filter': 'filesystem', 'field': 'fstype=debugfs', 'keyname': 'lsr_fs_dbg'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "never", "field": "fstype=debugfs", "filter": "filesystem", "keyname": "lsr_fs_dbg" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'io_uring', 'syscall': ['openat', 'openat2'], 'keyname': 'lsr_io_uring'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "filter": "io_uring", "keyname": "lsr_io_uring", "syscall": [ "openat", "openat2" ] } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'nowarn', 'syscall': 'open', 'keyname': 'lsr_arch_nw'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "nowarn", "filter": "exit", "keyname": "lsr_arch_nw", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': ['b32', 'b64'], 'syscall': 'read', 'keyname': 'lsr_arch_pair'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": [ "b32", "b64" ], "filter": "exit", "keyname": "lsr_arch_pair", "syscall": "read" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'path': '/etc/hosts', 'permission': 'nowarn', 'keyname': 'lsr_path_nw'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": "lsr_path_nw", "path": "/etc/hosts", "permission": "nowarn", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'dir': '/etc/ssh', 'permission': 'read', 'keyname': 'lsr_dir_one_perm'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "dir": "/etc/ssh", "filter": "exit", "keyname": "lsr_dir_one_perm", "permission": "read", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'openat', 'dir': '/tmp', 'permission': ['read', 'write'], 'keyname': 'lsr_dir_many_perm'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "dir": "/tmp", "filter": "exit", "keyname": "lsr_dir_many_perm", "permission": [ "read", "write" ], "syscall": "openat" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': ['open', 'close'], 'keyname': 'lsr_sc_list'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": "lsr_sc_list", "syscall": [ "open", "close" ] } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'path': '/etc/issue', 'permission': 'read', 'field': ['success=1', 'auid!=-1', 'exit<-1', 'gid>10', 'euid<=65534', 'pid>=0', 'a1&0100', 'a2&=0200'], 'keyname': ['lsr_ops', 'lsr_ops2', 'lsr_ops3']}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "field": [ "success=1", "auid!=-1", "exit<-1", "gid>10", "euid<=65534", "pid>=0", "a1&0100", "a2&=0200" ], "filter": "exit", "keyname": [ "lsr_ops", "lsr_ops2", "lsr_ops3" ], "path": "/etc/issue", "permission": "read", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'dup', 'keyname': ['kk1', 'kk2']}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": [ "kk1", "kk2" ], "syscall": "dup" } } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert auditd_rules path and dir are mutually exclusive] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:49 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.103) 0:00:05.438 ******* ok: [managed-node1] => (item={'action': 'never', 'filter': 'filesystem', 'field': 'fstype=debugfs', 'keyname': 'lsr_fs_dbg'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "never", "field": "fstype=debugfs", "filter": "filesystem", "keyname": "lsr_fs_dbg" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'io_uring', 'syscall': ['openat', 'openat2'], 'keyname': 'lsr_io_uring'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "filter": "io_uring", "keyname": "lsr_io_uring", "syscall": [ "openat", "openat2" ] } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'nowarn', 'syscall': 'open', 'keyname': 'lsr_arch_nw'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "nowarn", "filter": "exit", "keyname": "lsr_arch_nw", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': ['b32', 'b64'], 'syscall': 'read', 'keyname': 'lsr_arch_pair'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": [ "b32", "b64" ], "filter": "exit", "keyname": "lsr_arch_pair", "syscall": "read" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'path': '/etc/hosts', 'permission': 'nowarn', 'keyname': 'lsr_path_nw'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": "lsr_path_nw", "path": "/etc/hosts", "permission": "nowarn", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'dir': '/etc/ssh', 'permission': 'read', 'keyname': 'lsr_dir_one_perm'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "dir": "/etc/ssh", "filter": "exit", "keyname": "lsr_dir_one_perm", "permission": "read", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'openat', 'dir': '/tmp', 'permission': ['read', 'write'], 'keyname': 'lsr_dir_many_perm'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "dir": "/tmp", "filter": "exit", "keyname": "lsr_dir_many_perm", "permission": [ "read", "write" ], "syscall": "openat" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': ['open', 'close'], 'keyname': 'lsr_sc_list'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": "lsr_sc_list", "syscall": [ "open", "close" ] } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'path': '/etc/issue', 'permission': 'read', 'field': ['success=1', 'auid!=-1', 'exit<-1', 'gid>10', 'euid<=65534', 'pid>=0', 'a1&0100', 'a2&=0200'], 'keyname': ['lsr_ops', 'lsr_ops2', 'lsr_ops3']}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "field": [ "success=1", "auid!=-1", "exit<-1", "gid>10", "euid<=65534", "pid>=0", "a1&0100", "a2&=0200" ], "filter": "exit", "keyname": [ "lsr_ops", "lsr_ops2", "lsr_ops3" ], "path": "/etc/issue", "permission": "read", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'dup', 'keyname': ['kk1', 'kk2']}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": [ "kk1", "kk2" ], "syscall": "dup" } } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert auditd_rules path or dir requires filter exit] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:56 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.069) 0:00:05.507 ******* skipping: [managed-node1] => (item={'action': 'never', 'filter': 'filesystem', 'field': 'fstype=debugfs', 'keyname': 'lsr_fs_dbg'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "(item.path is defined) or (item.dir is defined)", "item": { "action": "never", "field": "fstype=debugfs", "filter": "filesystem", "keyname": "lsr_fs_dbg" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'action': 'always', 'filter': 'io_uring', 'syscall': ['openat', 'openat2'], 'keyname': 'lsr_io_uring'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "(item.path is defined) or (item.dir is defined)", "item": { "action": "always", "filter": "io_uring", "keyname": "lsr_io_uring", "syscall": [ "openat", "openat2" ] }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'nowarn', 'syscall': 'open', 'keyname': 'lsr_arch_nw'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "(item.path is defined) or (item.dir is defined)", "item": { "action": "always", "arch": "nowarn", "filter": "exit", "keyname": "lsr_arch_nw", "syscall": "open" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': ['b32', 'b64'], 'syscall': 'read', 'keyname': 'lsr_arch_pair'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "(item.path is defined) or (item.dir is defined)", "item": { "action": "always", "arch": [ "b32", "b64" ], "filter": "exit", "keyname": "lsr_arch_pair", "syscall": "read" }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'path': '/etc/hosts', 'permission': 'nowarn', 'keyname': 'lsr_path_nw'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": "lsr_path_nw", "path": "/etc/hosts", "permission": "nowarn", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'dir': '/etc/ssh', 'permission': 'read', 'keyname': 'lsr_dir_one_perm'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "dir": "/etc/ssh", "filter": "exit", "keyname": "lsr_dir_one_perm", "permission": "read", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'openat', 'dir': '/tmp', 'permission': ['read', 'write'], 'keyname': 'lsr_dir_many_perm'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "dir": "/tmp", "filter": "exit", "keyname": "lsr_dir_many_perm", "permission": [ "read", "write" ], "syscall": "openat" } } MSG: All assertions passed skipping: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': ['open', 'close'], 'keyname': 'lsr_sc_list'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "(item.path is defined) or (item.dir is defined)", "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": "lsr_sc_list", "syscall": [ "open", "close" ] }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'path': '/etc/issue', 'permission': 'read', 'field': ['success=1', 'auid!=-1', 'exit<-1', 'gid>10', 'euid<=65534', 'pid>=0', 'a1&0100', 'a2&=0200'], 'keyname': ['lsr_ops', 'lsr_ops2', 'lsr_ops3']}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "field": [ "success=1", "auid!=-1", "exit<-1", "gid>10", "euid<=65534", "pid>=0", "a1&0100", "a2&=0200" ], "filter": "exit", "keyname": [ "lsr_ops", "lsr_ops2", "lsr_ops3" ], "path": "/etc/issue", "permission": "read", "syscall": "open" } } MSG: All assertions passed skipping: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'dup', 'keyname': ['kk1', 'kk2']}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "(item.path is defined) or (item.dir is defined)", "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": [ "kk1", "kk2" ], "syscall": "dup" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert auditd_rules syscall requires valid filter type] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:64 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.063) 0:00:05.570 ******* skipping: [managed-node1] => (item={'action': 'never', 'filter': 'filesystem', 'field': 'fstype=debugfs', 'keyname': 'lsr_fs_dbg'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.syscall is defined", "item": { "action": "never", "field": "fstype=debugfs", "filter": "filesystem", "keyname": "lsr_fs_dbg" }, "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item={'action': 'always', 'filter': 'io_uring', 'syscall': ['openat', 'openat2'], 'keyname': 'lsr_io_uring'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "filter": "io_uring", "keyname": "lsr_io_uring", "syscall": [ "openat", "openat2" ] } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'nowarn', 'syscall': 'open', 'keyname': 'lsr_arch_nw'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "nowarn", "filter": "exit", "keyname": "lsr_arch_nw", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': ['b32', 'b64'], 'syscall': 'read', 'keyname': 'lsr_arch_pair'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": [ "b32", "b64" ], "filter": "exit", "keyname": "lsr_arch_pair", "syscall": "read" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'path': '/etc/hosts', 'permission': 'nowarn', 'keyname': 'lsr_path_nw'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": "lsr_path_nw", "path": "/etc/hosts", "permission": "nowarn", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'dir': '/etc/ssh', 'permission': 'read', 'keyname': 'lsr_dir_one_perm'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "dir": "/etc/ssh", "filter": "exit", "keyname": "lsr_dir_one_perm", "permission": "read", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'openat', 'dir': '/tmp', 'permission': ['read', 'write'], 'keyname': 'lsr_dir_many_perm'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "dir": "/tmp", "filter": "exit", "keyname": "lsr_dir_many_perm", "permission": [ "read", "write" ], "syscall": "openat" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': ['open', 'close'], 'keyname': 'lsr_sc_list'}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": "lsr_sc_list", "syscall": [ "open", "close" ] } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'open', 'path': '/etc/issue', 'permission': 'read', 'field': ['success=1', 'auid!=-1', 'exit<-1', 'gid>10', 'euid<=65534', 'pid>=0', 'a1&0100', 'a2&=0200'], 'keyname': ['lsr_ops', 'lsr_ops2', 'lsr_ops3']}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "field": [ "success=1", "auid!=-1", "exit<-1", "gid>10", "euid<=65534", "pid>=0", "a1&0100", "a2&=0200" ], "filter": "exit", "keyname": [ "lsr_ops", "lsr_ops2", "lsr_ops3" ], "path": "/etc/issue", "permission": "read", "syscall": "open" } } MSG: All assertions passed ok: [managed-node1] => (item={'action': 'always', 'filter': 'exit', 'arch': 'b64', 'syscall': 'dup', 'keyname': ['kk1', 'kk2']}) => { "ansible_loop_var": "item", "changed": false, "item": { "action": "always", "arch": "b64", "filter": "exit", "keyname": [ "kk1", "kk2" ], "syscall": "dup" } } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert auditd_rules field is a non-empty string or list of non-empty strings] *** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:74 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.112) 0:00:05.683 ******* fatal: [managed-node1]: FAILED! => {} MSG: The conditional check 'item.field is auditd_non_empty_str_or_list' failed. The error was: template error while templating string: Could not load "auditd_non_empty_str_or_list": 'auditd_non_empty_str_or_list'. String: {% if item.field is auditd_non_empty_str_or_list %} True {% else %} False {% endif %}. Could not load "auditd_non_empty_str_or_list": 'auditd_non_empty_str_or_list' TASK [Cat /etc/audit/audit.rules] ********************************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml:266 Wednesday 22 April 2026 08:47:50 -0400 (0:00:00.024) 0:00:05.708 ******* fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "cat", "/etc/audit/audit.rules" ], "delta": "0:00:00.003586", "end": "2026-04-22 08:47:51.255859", "failed_when_result": true, "rc": 0, "start": "2026-04-22 08:47:51.252273" } STDOUT: ## This file is automatically generated from /etc/audit/rules.d -D -b 8192 -f 1 --backlog_wait_time 60000 TASK [Restore system state after integration test] ***************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml:272 Wednesday 22 April 2026 08:47:51 -0400 (0:00:00.422) 0:00:06.130 ******* included: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml for managed-node1 TASK [Restore auditd.conf from integration test backup] ************************ task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:3 Wednesday 22 April 2026 08:47:51 -0400 (0:00:00.017) 0:00:06.148 ******* ok: [managed-node1] => { "changed": false, "checksum": "92826a0a4167a0ec9df5fc3f743dd551e25be805", "dest": "/etc/audit/auditd.conf", "gid": 0, "group": "root", "md5sum": "fd5c639b8b1bd57c486dab75985ad9af", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:auditd_etc_t:s0", "size": 882, "src": "/root/.lsr_auditd_integration_auditd.conf.bak", "state": "file", "uid": 0 } TASK [Remove auditd.conf backup file] ****************************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:11 Wednesday 22 April 2026 08:47:51 -0400 (0:00:00.352) 0:00:06.500 ******* changed: [managed-node1] => { "changed": true, "path": "/root/.lsr_auditd_integration_auditd.conf.bak", "state": "absent" } TASK [Restore custom.rules from integration test backup] *********************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:17 Wednesday 22 April 2026 08:47:52 -0400 (0:00:00.442) 0:00:06.943 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__auditd_integration_backup_custom_rules is defined", "skip_reason": "Conditional result was False" } TASK [Remove custom.rules backup file] ***************************************** task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:25 Wednesday 22 April 2026 08:47:52 -0400 (0:00:00.014) 0:00:06.957 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__auditd_integration_backup_custom_rules is defined", "skip_reason": "Conditional result was False" } TASK [Remove custom.rules if it did not exist before test] ********************* task path: /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:31 Wednesday 22 April 2026 08:47:52 -0400 (0:00:00.013) 0:00:06.971 ******* ok: [managed-node1] => { "changed": false, "path": "/etc/audit/rules.d/custom.rules", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=47 changed=2 unreachable=0 failed=1 skipped=13 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "end_time": "2026-04-22T12:47:50.881206+00:00Z", "host": "managed-node1", "message": "The conditional check 'item.field is auditd_non_empty_str_or_list' failed. The error was: template error while templating string: Could not load \"auditd_non_empty_str_or_list\": 'auditd_non_empty_str_or_list'. String: {% if item.field is auditd_non_empty_str_or_list %} True {% else %} False {% endif %}. Could not load \"auditd_non_empty_str_or_list\": 'auditd_non_empty_str_or_list'", "start_time": "2026-04-22T12:47:50.858738+00:00Z", "task_name": "Assert auditd_rules field is a non-empty string or list of non-empty strings", "task_path": "/tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:74" }, { "ansible_version": "2.17.14", "delta": "0:00:00.003586", "end_time": "2026-04-22 08:47:51.255859", "host": "managed-node1", "message": "", "rc": 0, "start_time": "2026-04-22 08:47:51.252273", "stdout": "## This file is automatically generated from /etc/audit/rules.d\n-D\n-b 8192\n-f 1\n--backlog_wait_time 60000", "task_name": "Cat /etc/audit/audit.rules", "task_path": "/tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml:266" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 22 April 2026 08:47:52 -0400 (0:00:00.345) 0:00:07.317 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 2.32s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml:4 fedora.linux_system_roles.auditd : Ensure ansible_facts used by role ---- 0.55s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:2 Remove auditd.conf backup file ------------------------------------------ 0.44s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:11 Check for existing auditd.conf ------------------------------------------ 0.44s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:7 Back up auditd.conf before test ----------------------------------------- 0.43s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:21 Cat /etc/audit/audit.rules ---------------------------------------------- 0.42s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_auditd_integration.yml:266 Restore auditd.conf from integration test backup ------------------------ 0.35s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:3 Remove custom.rules if it did not exist before test --------------------- 0.35s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:31 fedora.linux_system_roles.auditd : Check if system is ostree ------------ 0.34s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:10 Check for existing custom.rules ----------------------------------------- 0.33s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:12 fedora.linux_system_roles.auditd : Assert auditd_rules syscall requires valid filter type --- 0.11s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:64 fedora.linux_system_roles.auditd : Assert each auditd_rules entry has required action and filter --- 0.11s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:13 fedora.linux_system_roles.auditd : Assert auditd_rules entries use only supported keys --- 0.10s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:29 fedora.linux_system_roles.auditd : Assert auditd_rules path and dir are mutually exclusive --- 0.07s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:49 Run the role normally --------------------------------------------------- 0.07s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:33 fedora.linux_system_roles.auditd : Assert auditd_rules path or dir requires filter exit --- 0.06s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:56 fedora.linux_system_roles.auditd : Validate auditd_rules structure and values --- 0.04s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:215 fedora.linux_system_roles.auditd : Validate role parameters ------------- 0.03s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:8 fedora.linux_system_roles.auditd : Set platform/version specific variables --- 0.03s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:19 fedora.linux_system_roles.auditd : Assert auditd_rules is a list of dicts --- 0.02s /tmp/collections-Ip8/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_auditd_rules.yml:4 Apr 22 08:47:44 managed-node1 sshd-session[8537]: Accepted publickey for root from 10.31.13.203 port 59608 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Apr 22 08:47:44 managed-node1 systemd-logind[610]: New session 5 of user root. ░░ Subject: A new session 5 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 5 has been created for the user root. ░░ ░░ The leading process of the session is 8537. Apr 22 08:47:44 managed-node1 systemd[1]: Started Session 5 of User root. ░░ Subject: A start job for unit session-5.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-5.scope has finished successfully. ░░ ░░ The job identifier is 900. Apr 22 08:47:44 managed-node1 sshd-session[8537]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Apr 22 08:47:44 managed-node1 sshd-session[8540]: Received disconnect from 10.31.13.203 port 59608:11: disconnected by user Apr 22 08:47:44 managed-node1 sshd-session[8540]: Disconnected from user root 10.31.13.203 port 59608 Apr 22 08:47:44 managed-node1 sshd-session[8537]: pam_unix(sshd:session): session closed for user root Apr 22 08:47:44 managed-node1 systemd[1]: session-5.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-5.scope has successfully entered the 'dead' state. Apr 22 08:47:44 managed-node1 systemd-logind[610]: Session 5 logged out. Waiting for processes to exit. Apr 22 08:47:44 managed-node1 systemd-logind[610]: Removed session 5. ░░ Subject: Session 5 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 5 has been terminated. Apr 22 08:47:44 managed-node1 sshd-session[8564]: Accepted publickey for root from 10.31.13.203 port 59614 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Apr 22 08:47:44 managed-node1 systemd-logind[610]: New session 6 of user root. ░░ Subject: A new session 6 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 6 has been created for the user root. ░░ ░░ The leading process of the session is 8564. Apr 22 08:47:44 managed-node1 systemd[1]: Started Session 6 of User root. ░░ Subject: A start job for unit session-6.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-6.scope has finished successfully. ░░ ░░ The job identifier is 969. Apr 22 08:47:44 managed-node1 sshd-session[8564]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Apr 22 08:47:44 managed-node1 sshd-session[8567]: Received disconnect from 10.31.13.203 port 59614:11: disconnected by user Apr 22 08:47:44 managed-node1 sshd-session[8567]: Disconnected from user root 10.31.13.203 port 59614 Apr 22 08:47:44 managed-node1 sshd-session[8564]: pam_unix(sshd:session): session closed for user root Apr 22 08:47:44 managed-node1 systemd[1]: session-6.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-6.scope has successfully entered the 'dead' state. Apr 22 08:47:44 managed-node1 systemd-logind[610]: Session 6 logged out. Waiting for processes to exit. Apr 22 08:47:44 managed-node1 systemd-logind[610]: Removed session 6. ░░ Subject: Session 6 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 6 has been terminated. Apr 22 08:47:44 managed-node1 systemd[1]: systemd-hostnamed.service: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit systemd-hostnamed.service has successfully entered the 'dead' state. Apr 22 08:47:45 managed-node1 sshd-session[8595]: Accepted publickey for root from 10.31.13.203 port 59626 ssh2: ECDSA SHA256:JWAxgvKXLPHVQPkndDKAMMUuqDUU0pobeI285cKqr00 Apr 22 08:47:45 managed-node1 systemd-logind[610]: New session 7 of user root. ░░ Subject: A new session 7 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 7 has been created for the user root. ░░ ░░ The leading process of the session is 8595. Apr 22 08:47:45 managed-node1 systemd[1]: Started Session 7 of User root. ░░ Subject: A start job for unit session-7.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-7.scope has finished successfully. ░░ ░░ The job identifier is 1038. Apr 22 08:47:45 managed-node1 sshd-session[8595]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Apr 22 08:47:47 managed-node1 python3.9[8772]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Apr 22 08:47:47 managed-node1 python3.9[8947]: ansible-ansible.builtin.stat Invoked with path=/etc/audit/auditd.conf follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Apr 22 08:47:48 managed-node1 python3.9[9098]: ansible-ansible.builtin.stat Invoked with path=/etc/audit/rules.d/custom.rules follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Apr 22 08:47:48 managed-node1 python3.9[9247]: ansible-ansible.legacy.copy Invoked with src=/etc/audit/auditd.conf dest=/root/.lsr_auditd_integration_auditd.conf.bak remote_src=True mode=preserve backup=False force=True follow=False unsafe_writes=False _original_basename=None content=NOT_LOGGING_PARAMETER validate=None directory_mode=None local_follow=None checksum=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None Apr 22 08:47:49 managed-node1 python3.9[9445]: ansible-ansible.builtin.setup Invoked with gather_subset=['!all', '!min', 'distribution', 'distribution_major_version', 'distribution_version', 'os_family'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Apr 22 08:47:49 managed-node1 python3.9[9596]: ansible-ansible.builtin.stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Apr 22 08:47:51 managed-node1 python3.9[9745]: ansible-ansible.legacy.command Invoked with _raw_params=cat /etc/audit/audit.rules _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Apr 22 08:47:51 managed-node1 python3.9[9895]: ansible-ansible.legacy.copy Invoked with src=/root/.lsr_auditd_integration_auditd.conf.bak dest=/etc/audit/auditd.conf remote_src=True mode=preserve backup=False force=True follow=False unsafe_writes=False _original_basename=None content=NOT_LOGGING_PARAMETER validate=None directory_mode=None local_follow=None checksum=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None Apr 22 08:47:52 managed-node1 python3.9[10044]: ansible-ansible.builtin.file Invoked with path=/root/.lsr_auditd_integration_auditd.conf.bak state=absent recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S unsafe_writes=False _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None Apr 22 08:47:52 managed-node1 python3.9[10193]: ansible-ansible.builtin.file Invoked with path=/etc/audit/rules.d/custom.rules state=absent recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S unsafe_writes=False _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None Apr 22 08:47:52 managed-node1 sshd-session[10218]: Accepted publickey for root from 10.31.13.203 port 37526 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Apr 22 08:47:52 managed-node1 systemd-logind[610]: New session 8 of user root. ░░ Subject: A new session 8 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 8 has been created for the user root. ░░ ░░ The leading process of the session is 10218. Apr 22 08:47:52 managed-node1 systemd[1]: Started Session 8 of User root. ░░ Subject: A start job for unit session-8.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-8.scope has finished successfully. ░░ ░░ The job identifier is 1107. Apr 22 08:47:52 managed-node1 sshd-session[10218]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Apr 22 08:47:52 managed-node1 sshd-session[10221]: Received disconnect from 10.31.13.203 port 37526:11: disconnected by user Apr 22 08:47:52 managed-node1 sshd-session[10221]: Disconnected from user root 10.31.13.203 port 37526 Apr 22 08:47:52 managed-node1 sshd-session[10218]: pam_unix(sshd:session): session closed for user root Apr 22 08:47:52 managed-node1 systemd[1]: session-8.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-8.scope has successfully entered the 'dead' state. Apr 22 08:47:52 managed-node1 systemd-logind[610]: Session 8 logged out. Waiting for processes to exit. Apr 22 08:47:52 managed-node1 systemd-logind[610]: Removed session 8. ░░ Subject: Session 8 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 8 has been terminated. Apr 22 08:47:52 managed-node1 sshd-session[10246]: Accepted publickey for root from 10.31.13.203 port 37542 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Apr 22 08:47:52 managed-node1 systemd-logind[610]: New session 9 of user root. ░░ Subject: A new session 9 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 9 has been created for the user root. ░░ ░░ The leading process of the session is 10246. Apr 22 08:47:52 managed-node1 systemd[1]: Started Session 9 of User root. ░░ Subject: A start job for unit session-9.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-9.scope has finished successfully. ░░ ░░ The job identifier is 1176. Apr 22 08:47:52 managed-node1 sshd-session[10246]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)