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-Xh2 executable location = /usr/local/bin/ansible-playbook python version = 3.12.12 (main, Mar 27 2026, 00:00:00) [GCC 14.3.1 20251022 (Red Hat 14.3.1-4)] (/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_default.yml **************************************************** 1 plays in /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_default.yml:3 Tuesday 21 April 2026 21:25:10 -0400 (0:00:00.041) 0:00:00.041 ********* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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 [Run role with cleared facts] ********************************************* task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_default.yml:6 Tuesday 21 April 2026 21:25:11 -0400 (0:00:01.154) 0:00:01.196 ********* included: /tmp/collections-Xh2/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-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:9 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.030) 0:00:01.226 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:23 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.000) 0:00:01.227 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:33 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.015) 0:00:01.242 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_default.yml:3 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.061) 0:00:01.304 ********* ok: [managed-node1] => { "changed": false, "validate_args_context": { "argument_spec_name": "main", "name": "auditd", "path": "/tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd", "type": "role" } } MSG: The arg spec validation passed TASK [fedora.linux_system_roles.auditd : Validate role parameters] ************* task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:3 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.014) 0:00:01.318 ********* included: /tmp/collections-Xh2/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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:4 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.026) 0:00:01.344 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert freq range (freq_parser)] ****** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:11 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.014) 0:00:01.359 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:18 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.013) 0:00:01.373 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:25 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.015) 0:00:01.388 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:31 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.015) 0:00:01.404 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:38 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.015) 0:00:01.419 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:48 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.019) 0:00:01.439 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:58 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.020) 0:00:01.460 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:64 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.014) 0:00:01.474 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:70 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.014) 0:00:01.489 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:76 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.013) 0:00:01.503 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:82 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.013) 0:00:01.517 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:88 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.014) 0:00:01.531 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "auditd_tcp_client_ports is string", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert tcp_client_ports range order] *** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:98 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.013) 0:00:01.545 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "auditd_tcp_client_ports is string", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert space_left_action rejects halt (space_action_parser)] *** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:107 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.013) 0:00:01.559 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:113 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.014) 0:00:01.574 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:125 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.014) 0:00:01.588 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:137 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.014) 0:00:01.602 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:161 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.029) 0:00:01.632 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:167 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.014) 0:00:01.646 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:173 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.013) 0:00:01.660 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:180 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.011) 0:00:01.671 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:187 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.011) 0:00:01.682 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:194 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.012) 0:00:01.694 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:201 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.011) 0:00:01.706 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:208 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.010) 0:00:01.717 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "auditd_name_format | lower == 'user'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Validate auditd_rules structure and values] *** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:215 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.011) 0:00:01.728 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "auditd_rules | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Set platform/version specific variables] *** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:6 Tuesday 21 April 2026 21:25:11 -0400 (0:00:00.011) 0:00:01.740 ********* included: /tmp/collections-Xh2/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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:2 Tuesday 21 April 2026 21:25:12 -0400 (0:00:00.027) 0:00:01.767 ********* ok: [managed-node1] TASK [fedora.linux_system_roles.auditd : Check if system is ostree] ************ task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:10 Tuesday 21 April 2026 21:25:12 -0400 (0:00:00.544) 0:00:02.311 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:15 Tuesday 21 April 2026 21:25:12 -0400 (0:00:00.412) 0:00:02.723 ********* 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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:19 Tuesday 21 April 2026 21:25:12 -0400 (0:00:00.020) 0:00:02.743 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.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-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:34 Tuesday 21 April 2026 21:25:13 -0400 (0:00:00.026) 0:00:02.770 ********* ok: [managed-node1] => { "ansible_facts": { "__auditd_packages": [ "audit" ] }, "changed": false } TASK [fedora.linux_system_roles.auditd : Install audit packages] *************** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:9 Tuesday 21 April 2026 21:25:13 -0400 (0:00:00.014) 0:00:02.784 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.auditd : Deploy auditd configuration] ********** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:15 Tuesday 21 April 2026 21:25:18 -0400 (0:00:05.599) 0:00:08.385 ********* Notification for handler Restart auditd has been saved. changed: [managed-node1] => { "changed": true, "checksum": "33eefb6af1c751110a125b8b468118e6f0edb244", "dest": "/etc/audit/auditd.conf", "gid": 0, "group": "root", "md5sum": "eda8c45ce09c30766469af2714e2eff9", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:auditd_etc_t:s0", "size": 852, "src": "/root/.ansible/tmp/ansible-tmp-1776821118.6762729-9497-78994726260471/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.auditd : Ensure rules.d directory exists] ****** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:22 Tuesday 21 April 2026 21:25:19 -0400 (0:00:00.757) 0:00:09.143 ********* ok: [managed-node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0750", "owner": "root", "path": "/etc/audit/rules.d", "secontext": "system_u:object_r:auditd_etc_t:s0", "size": 25, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.auditd : Purge rules.d when requested] ********* task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:28 Tuesday 21 April 2026 21:25:19 -0400 (0:00:00.426) 0:00:09.569 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "auditd_purge_rules | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Deploy custom audit rules] ************ task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:34 Tuesday 21 April 2026 21:25:19 -0400 (0:00:00.010) 0:00:09.580 ********* Notification for handler Run augenrules has been saved. changed: [managed-node1] => { "changed": true, "checksum": "beaedc34af6f74d852b504550a00030393947a4b", "dest": "/etc/audit/rules.d/custom.rules", "gid": 0, "group": "root", "md5sum": "02a93488fb84ceabb705a049f70ced6b", "mode": "0664", "owner": "root", "secontext": "system_u:object_r:auditd_etc_t:s0", "size": 293, "src": "/root/.ansible/tmp/ansible-tmp-1776821119.8735087-9525-249127065638363/.source.rules", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.auditd : Start and enable auditd service] ****** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:44 Tuesday 21 April 2026 21:25:20 -0400 (0:00:00.687) 0:00:10.267 ********* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "auditd", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:auditd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2026-04-21 21:22:45 EDT", "ActiveEnterTimestampMonotonic": "15111990", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "local-fs.target system.slice systemd-journald.socket systemd-tmpfiles-setup.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2026-04-21 21:22:45 EDT", "AssertTimestampMonotonic": "14868116", "Before": "audit-rules.service shutdown.target crond.service systemd-update-utmp.service sysinit.target", "BindLogSockets": "no", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "45441000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanLiveMount": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "no", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2026-04-21 21:22:45 EDT", "ConditionTimestampMonotonic": "14868073", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/auditd.service", "ControlGroupId": "2376", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DebugInvocation": "no", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Security Audit Logging Service", "DevicePolicy": "auto", "Documentation": "\"man:auditd(8)\" https://github.com/linux-audit/audit-documentation", "DynamicUser": "no", "EffectiveMemoryHigh": "3630923776", "EffectiveMemoryMax": "3630923776", "EffectiveTasksMax": "21802", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "0", "ExecMainPID": "715", "ExecMainStartTimestamp": "Tue 2026-04-21 21:22:45 EDT", "ExecMainStartTimestampMonotonic": "15100001", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/auditd ; argv[]=/usr/sbin/auditd ; ignore_errors=no ; start_time=[Tue 2026-04-21 21:22:45 EDT] ; stop_time=[Tue 2026-04-21 21:22:45 EDT] ; pid=705 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/sbin/auditd ; argv[]=/usr/sbin/auditd ; flags= ; start_time=[Tue 2026-04-21 21:22:45 EDT] ; stop_time=[Tue 2026-04-21 21:22:45 EDT] ; pid=705 ; code=exited ; status=0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/auditd.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "auditd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2026-04-21 21:22:45 EDT", "InactiveExitTimestampMonotonic": "14869271", "InvocationID": "06012bc76d744096bc34f887ccf7f1b8", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13626", "LimitNPROCSoft": "13626", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13626", "LimitSIGPENDINGSoft": "13626", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LiveMountResult": "success", "LoadState": "loaded", "LockPersonality": "yes", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "715", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureDurationUSec": "[not set]", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3255103488", "MemoryCurrent": "2727936", "MemoryDenyWriteExecute": "yes", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "2985984", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "auditd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/auditd.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivatePIDs": "no", "PrivateTmp": "no", "PrivateTmpEx": "no", "PrivateUsers": "no", "PrivateUsersEx": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectControlGroupsEx": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "yes", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "on-failure", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartPreventExitStatus": "2 4 6", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "yes", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Tue 2026-04-21 21:22:45 EDT", "StateChangeTimestampMonotonic": "15111990", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "21802", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "audit-rules.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Flush handlers after role] *********************************************** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_default.yml:11 Tuesday 21 April 2026 21:25:21 -0400 (0:00:01.064) 0:00:11.331 ********* NOTIFIED HANDLER fedora.linux_system_roles.auditd : Restart auditd for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.auditd : Run augenrules for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.auditd : Run augenrules] ************ task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/handlers/main.yml:3 Tuesday 21 April 2026 21:25:21 -0400 (0:00:00.001) 0:00:11.332 ********* NOTIFIED HANDLER fedora.linux_system_roles.auditd : Load audit rules for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "augenrules" ], "delta": "0:00:00.023530", "end": "2026-04-21 21:25:21.976563", "rc": 0, "start": "2026-04-21 21:25:21.953033" } RUNNING HANDLER [fedora.linux_system_roles.auditd : Load audit rules] ********** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/handlers/main.yml:9 Tuesday 21 April 2026 21:25:22 -0400 (0:00:00.437) 0:00:11.769 ********* changed: [managed-node1] => { "changed": true, "cmd": [ "augenrules", "--load" ], "delta": "0:00:00.016877", "end": "2026-04-21 21:25:22.334553", "rc": 0, "start": "2026-04-21 21:25:22.317676" } STDOUT: /usr/sbin/augenrules: No change No rules enabled 1 failure 1 pid 715 rate_limit 0 backlog_limit 32768 lost 0 backlog 0 backlog_wait_time 60000 backlog_wait_time_actual 0 enabled 1 failure 1 pid 715 rate_limit 0 backlog_limit 32768 lost 0 backlog 0 backlog_wait_time 60000 backlog_wait_time_actual 0 enabled 1 failure 1 pid 715 rate_limit 0 backlog_limit 32768 lost 0 backlog 0 backlog_wait_time 60000 backlog_wait_time_actual 0 enabled 1 failure 1 pid 715 rate_limit 0 backlog_limit 32768 lost 0 backlog 0 backlog_wait_time 60000 backlog_wait_time_actual 0 enabled 1 failure 1 pid 715 rate_limit 0 backlog_limit 32768 lost 0 backlog 0 backlog_wait_time 60000 backlog_wait_time_actual 0 RUNNING HANDLER [fedora.linux_system_roles.auditd : Restart auditd] ************ task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/handlers/main.yml:17 Tuesday 21 April 2026 21:25:22 -0400 (0:00:00.359) 0:00:12.128 ********* changed: [managed-node1] => { "changed": true, "name": "auditd", "state": "started" } TASK [Check header for ansible_managed, fingerprint] *************************** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_default.yml:14 Tuesday 21 April 2026 21:25:22 -0400 (0:00:00.507) 0:00:12.636 ********* included: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/check_header.yml for managed-node1 TASK [Get file] **************************************************************** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/check_header.yml:3 Tuesday 21 April 2026 21:25:22 -0400 (0:00:00.013) 0:00:12.649 ********* ok: [managed-node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6YXVkaXRkCgojCiMgVGhpcyBmaWxlIGNvbnRyb2xzIHRoZSBjb25maWd1cmF0aW9uIG9mIHRoZSBhdWRpdCBkYWVtb24KIwoKbG9jYWxfZXZlbnRzID0geWVzCndyaXRlX2xvZ3MgPSB5ZXMKbG9nX2ZpbGUgPSAvdmFyL2xvZy9hdWRpdC9hdWRpdC5sb2cKbG9nX2dyb3VwID0gcm9vdApsb2dfZm9ybWF0ID0gRU5SSUNIRUQKZmx1c2ggPSBJTkNSRU1FTlRBTF9BU1lOQwpmcmVxID0gNTAKbWF4X2xvZ19maWxlID0gOApudW1fbG9ncyA9IDUKcHJpb3JpdHlfYm9vc3QgPSA0Cm5hbWVfZm9ybWF0ID0gTk9ORQptYXhfbG9nX2ZpbGVfYWN0aW9uID0gUk9UQVRFCnNwYWNlX2xlZnQgPSA3NQpzcGFjZV9sZWZ0X2FjdGlvbiA9IFNZU0xPRwp2ZXJpZnlfZW1haWwgPSB5ZXMKYWN0aW9uX21haWxfYWNjdCA9IHJvb3QKYWRtaW5fc3BhY2VfbGVmdCA9IDUwCmFkbWluX3NwYWNlX2xlZnRfYWN0aW9uID0gU1VTUEVORApkaXNrX2Z1bGxfYWN0aW9uID0gU1VTUEVORApkaXNrX2Vycm9yX2FjdGlvbiA9IFNVU1BFTkQKcmVwb3J0X2ludGVydmFsID0gMAp1c2VfbGlid3JhcCA9IHllcwp0Y3BfbGlzdGVuX3F1ZXVlID0gNQp0Y3BfbWF4X3Blcl9hZGRyID0gMQp0Y3BfY2xpZW50X21heF9pZGxlID0gMAp0cmFuc3BvcnQgPSBUQ1AKZW5hYmxlX2tyYjUgPSBubwprcmI1X3ByaW5jaXBhbCA9IGF1ZGl0ZApkaXN0cmlidXRlX25ldHdvcmsgPSBubwpxX2RlcHRoID0gMjAwMApvdmVyZmxvd19hY3Rpb24gPSBTWVNMT0cKbWF4X3Jlc3RhcnRzID0gMTAKcGx1Z2luX2RpciA9IC9ldGMvYXVkaXQvcGx1Z2lucy5kLwplbmRfb2ZfZXZlbnRfdGltZW91dCA9IDIK", "encoding": "base64", "source": "/etc/audit/auditd.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/check_header.yml:9 Tuesday 21 April 2026 21:25:23 -0400 (0:00:00.421) 0:00:13.071 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=37 changed=5 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 21 April 2026 21:25:23 -0400 (0:00:00.023) 0:00:13.095 ********* =============================================================================== fedora.linux_system_roles.auditd : Install audit packages --------------- 5.60s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:9 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_default.yml:3 fedora.linux_system_roles.auditd : Start and enable auditd service ------ 1.06s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:44 fedora.linux_system_roles.auditd : Deploy auditd configuration ---------- 0.76s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:15 fedora.linux_system_roles.auditd : Deploy custom audit rules ------------ 0.69s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:34 fedora.linux_system_roles.auditd : Ensure ansible_facts used by role ---- 0.54s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:2 fedora.linux_system_roles.auditd : Restart auditd ----------------------- 0.51s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/handlers/main.yml:17 fedora.linux_system_roles.auditd : Run augenrules ----------------------- 0.44s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/handlers/main.yml:3 fedora.linux_system_roles.auditd : Ensure rules.d directory exists ------ 0.43s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:22 Get file ---------------------------------------------------------------- 0.42s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/check_header.yml:3 fedora.linux_system_roles.auditd : Check if system is ostree ------------ 0.41s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:10 fedora.linux_system_roles.auditd : Load audit rules --------------------- 0.36s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/handlers/main.yml:9 Run the role normally --------------------------------------------------- 0.06s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:33 Run role with cleared facts --------------------------------------------- 0.03s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_default.yml:6 fedora.linux_system_roles.auditd : Assert space_left is greater than admin_space_left when both use same form --- 0.03s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:137 fedora.linux_system_roles.auditd : Set platform/version specific variables --- 0.03s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:6 fedora.linux_system_roles.auditd : Validate role parameters ------------- 0.03s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:3 fedora.linux_system_roles.auditd : Set platform/version specific variables --- 0.03s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:19 Check for presence of ansible managed header, fingerprint --------------- 0.02s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/check_header.yml:9 fedora.linux_system_roles.auditd : Assert auditd_backlog_wait_time is null or a non-negative integer --- 0.02s /tmp/collections-Xh2/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert_role_vars.yml:48