ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', 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 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_purge_rules.yml ************************************************ 1 plays in /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml PLAY [Test auditd_purge_rules purge and idempotence] *************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:5 Wednesday 15 April 2026 14:12:48 -0400 (0:00:00.020) 0:00:00.020 ******* ok: [managed-node1] META: ran handlers TASK [Back up existing auditd configuration and rules metadata] **************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:13 Wednesday 15 April 2026 14:12:49 -0400 (0:00:00.873) 0:00:00.893 ******* included: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml for managed-node1 TASK [Check for existing auditd.conf] ****************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:7 Wednesday 15 April 2026 14:12:49 -0400 (0:00:00.020) 0:00:00.913 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1776276749.754181, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a93cfc6889d0a3dfd87548eac330576e1146dbe7", "ctime": 1776276745.7741957, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 159383746, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1776276745.399197, "nlink": 1, "path": "/etc/audit/auditd.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 880, "uid": 0, "version": "2271306284", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check for existing custom.rules] ***************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:12 Wednesday 15 April 2026 14:12:49 -0400 (0:00:00.451) 0:00:01.365 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1776276748.390186, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "77d103ccdfd11c4eb539eca7353fba2aed57407c", "ctime": 1776276746.9261913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169869506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0664", "mtime": 1776276746.6721923, "nlink": 1, "path": "/etc/audit/rules.d/custom.rules", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 246, "uid": 0, "version": "218639676", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Remember whether custom.rules existed] *********************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:17 Wednesday 15 April 2026 14:12:50 -0400 (0:00:00.342) 0:00:01.707 ******* ok: [managed-node1] => { "ansible_facts": { "__auditd_integration_had_custom_rules": true }, "changed": false } TASK [Back up auditd.conf before test] ***************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:21 Wednesday 15 April 2026 14:12:50 -0400 (0:00:00.037) 0:00:01.745 ******* changed: [managed-node1] => { "changed": true, "checksum": "a93cfc6889d0a3dfd87548eac330576e1146dbe7", "dest": "/root/.lsr_auditd_integration_auditd.conf.bak", "gid": 0, "group": "root", "md5sum": "92e833ed88010f0e8de83378e762d4c2", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:admin_home_t:s0", "size": 880, "src": "/etc/audit/auditd.conf", "state": "file", "uid": 0 } TASK [Back up custom.rules before test] **************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:29 Wednesday 15 April 2026 14:12:50 -0400 (0:00:00.453) 0:00:02.198 ******* changed: [managed-node1] => { "changed": true, "checksum": "77d103ccdfd11c4eb539eca7353fba2aed57407c", "dest": "/root/.lsr_auditd_integration_custom.rules.bak", "gid": 0, "group": "root", "md5sum": "399bcfcea7354c0246c8de5866ed19a2", "mode": "0664", "owner": "root", "secontext": "system_u:object_r:admin_home_t:s0", "size": 246, "src": "/etc/audit/rules.d/custom.rules", "state": "file", "uid": 0 } TASK [Record auditd.conf backup path for cleanup] ****************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:37 Wednesday 15 April 2026 14:12:51 -0400 (0:00:00.371) 0:00:02.570 ******* 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-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:42 Wednesday 15 April 2026 14:12:51 -0400 (0:00:00.037) 0:00:02.607 ******* ok: [managed-node1] => { "ansible_facts": { "__auditd_integration_backup_custom_rules": "/root/.lsr_auditd_integration_custom.rules.bak" }, "changed": false } TASK [Ensure rules.d backup parent directory is absent] ************************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:16 Wednesday 15 April 2026 14:12:51 -0400 (0:00:00.035) 0:00:02.642 ******* ok: [managed-node1] => { "changed": false, "path": "/root/.lsr_auditd_purge_rulesd.backup", "state": "absent" } TASK [Create parent directory for rules.d snapshot] **************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:21 Wednesday 15 April 2026 14:12:51 -0400 (0:00:00.433) 0:00:03.076 ******* changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/root/.lsr_auditd_purge_rulesd.backup", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Snapshot rules.d tree for full restore after test] *********************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:27 Wednesday 15 April 2026 14:12:51 -0400 (0:00:00.352) 0:00:03.429 ******* changed: [managed-node1] => { "changed": true, "checksum": null, "dest": "/root/.lsr_auditd_purge_rulesd.backup/", "gid": 0, "group": "root", "md5sum": null, "mode": "0750", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 45, "src": "/etc/audit/rules.d/", "state": "directory", "uid": 0 } TASK [Install decoy rules fragment to be removed by purge] ********************* task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:34 Wednesday 15 April 2026 14:12:52 -0400 (0:00:00.369) 0:00:03.799 ******* changed: [managed-node1] => { "changed": true, "checksum": "35324fa08aa315fc1ab79570382f077fec44dce9", "dest": "/etc/audit/rules.d/99-lsr-purge-decoy.rules", "gid": 0, "group": "root", "md5sum": "f628c72c0861f587eff2d10f92b8e21b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:auditd_etc_t:s0", "size": 89, "src": "/root/.ansible/tmp/ansible-tmp-1776276772.3968456-9772-96009204154108/source", "state": "file", "uid": 0 } TASK [Run auditd role with purge enabled] ************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:42 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.773) 0:00:04.572 ******* included: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:23 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.022) 0:00:04.594 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:33 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.034) 0:00:04.629 ******* statically imported: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml TASK [fedora.linux_system_roles.auditd : Assert num_logs range (num_logs_parser)] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:4 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.087) 0:00:04.716 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert freq range (freq_parser)] ****** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:11 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.020) 0:00:04.737 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:18 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.021) 0:00:04.758 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert priority_boost range (priority_boost_parser)] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:25 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.019) 0:00:04.777 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert q_depth range (q_depth_parser)] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:31 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.020) 0:00:04.797 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert max_restarts range (max_restarts_parser)] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:38 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.021) 0:00:04.818 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:44 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.021) 0:00:04.840 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:50 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.020) 0:00:04.860 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:56 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.021) 0:00:04.882 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:62 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.021) 0:00:04.904 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:68 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.020) 0:00:04.924 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert tcp_client_ports range order] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:76 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.021) 0:00:04.945 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:83 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.022) 0:00:04.968 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:89 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.019) 0:00:04.987 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:95 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.018) 0:00:05.005 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert exec companion paths when action is exec] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:101 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.018) 0:00:05.024 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert space_left_action exec path] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:108 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.017) 0:00:05.041 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert admin_space_left_action exec path] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:115 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.016) 0:00:05.057 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert disk_full_action exec path] **** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:122 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.017) 0:00:05.075 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert disk_error_action exec path] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:129 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.016) 0:00:05.091 ******* skipping: [managed-node1] => { "changed": false, "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:136 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.017) 0:00:05.108 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert auditd_rules entries] ********** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:143 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.020) 0:00:05.128 ******* ok: [managed-node1 -> localhost] => (item=lsr_auditd_purge_test) => { "ansible_loop_var": "item", "changed": false, "item": { "file": "/etc/issue", "keyname": "lsr_auditd_purge_test", "permissions": [ "read" ] } } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert syscall rules include required keys] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:153 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.028) 0:00:05.157 ******* TASK [fedora.linux_system_roles.auditd : Assert permission keys for file rules] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:164 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.015) 0:00:05.172 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Set platform/version specific variables] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:9 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.019) 0:00:05.192 ******* included: /tmp/collections-O4d/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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:2 Wednesday 15 April 2026 14:12:53 -0400 (0:00:00.031) 0:00:05.224 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.auditd : Check if system is ostree] ************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:10 Wednesday 15 April 2026 14:12:54 -0400 (0:00:00.762) 0:00:05.986 ******* 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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:15 Wednesday 15 April 2026 14:12:54 -0400 (0:00:00.325) 0:00:06.312 ******* 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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:19 Wednesday 15 April 2026 14:12:54 -0400 (0:00:00.019) 0:00:06.331 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Resolve package names for OS family] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:34 Wednesday 15 April 2026 14:12:54 -0400 (0:00:00.036) 0:00:06.367 ******* ok: [managed-node1] => { "ansible_facts": { "__auditd_packages": [ "audit" ] }, "changed": false } TASK [fedora.linux_system_roles.auditd : Install audit packages] *************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:12 Wednesday 15 April 2026 14:12:54 -0400 (0:00:00.017) 0:00:06.385 ******* 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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:18 Wednesday 15 April 2026 14:12:57 -0400 (0:00:02.923) 0:00:09.308 ******* ok: [managed-node1] => { "changed": false, "checksum": "a93cfc6889d0a3dfd87548eac330576e1146dbe7", "dest": "/etc/audit/auditd.conf", "gid": 0, "group": "root", "mode": "0640", "owner": "root", "path": "/etc/audit/auditd.conf", "secontext": "system_u:object_r:auditd_etc_t:s0", "size": 880, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.auditd : Ensure rules.d directory exists] ****** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:25 Wednesday 15 April 2026 14:12:58 -0400 (0:00:00.740) 0:00:10.049 ******* 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": 77, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.auditd : Purge rules.d when requested] ********* task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:31 Wednesday 15 April 2026 14:12:58 -0400 (0:00:00.336) 0:00:10.385 ******* included: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml for managed-node1 TASK [fedora.linux_system_roles.auditd : Discover files in rules.d] ************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:12 Wednesday 15 April 2026 14:12:58 -0400 (0:00:00.045) 0:00:10.431 ******* ok: [managed-node1] => { "changed": false, "examined": 3, "files": [ { "atime": 1776276545.876, "ctime": 1716968741.892, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 918330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1716968741.891, "nlink": 1, "path": "/etc/audit/rules.d/audit.rules", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1776276748.390186, "ctime": 1776276746.9261913, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 169869506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0664", "mtime": 1776276746.6721923, "nlink": 1, "path": "/etc/audit/rules.d/custom.rules", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 246, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1776276773.0561352, "ctime": 1776276773.0601351, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 272629954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1776276772.8081353, "nlink": 1, "path": "/etc/audit/rules.d/99-lsr-purge-decoy.rules", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 89, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 3 } TASK [fedora.linux_system_roles.auditd : Stat existing custom.rules before purge] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:18 Wednesday 15 April 2026 14:12:59 -0400 (0:00:00.451) 0:00:10.882 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1776276748.390186, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "77d103ccdfd11c4eb539eca7353fba2aed57407c", "ctime": 1776276746.9261913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 169869506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0664", "mtime": 1776276746.6721923, "nlink": 1, "path": "/etc/audit/rules.d/custom.rules", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 246, "uid": 0, "version": "218639676", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.auditd : Read existing custom.rules for comparison] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:23 Wednesday 15 April 2026 14:12:59 -0400 (0:00:00.337) 0:00:11.219 ******* ok: [managed-node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCgojIERlbGV0ZSBhbGwgcHJldmlvdXMgcnVsZXMKLUQKIyBTZXQgYnVmZmVyIHNpemUKLWIgMzI3NjgKIyBTZXQgZmFpbHVyZSBiZWhhdmlvcgotZiAxCiMgU2V0IHRoZSBtYXhpbXVtIGFtb3VudCBvZiBtZXNzYWdlcyBwZXIgc2Vjb25kCi1yIDYwCiMgU2V0IGVuYWJsZSBmbGFnICgwPWRpc2FibGUsIDE9ZW5hYmxlLCAyPWxvY2tlZCwgcmVxdWlyZXMgcmVib290IHRvIHVubG9jaykKLWUgMQoK", "encoding": "base64", "source": "/etc/audit/rules.d/custom.rules" } TASK [fedora.linux_system_roles.auditd : Record whether to keep existing custom.rules (managed rules)] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:29 Wednesday 15 April 2026 14:13:00 -0400 (0:00:00.404) 0:00:11.624 ******* ok: [managed-node1] => { "ansible_facts": { "__auditd_purge_keep_custom_rules": false }, "changed": false } TASK [fedora.linux_system_roles.auditd : Remove files from rules.d] ************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:62 Wednesday 15 April 2026 14:13:00 -0400 (0:00:00.040) 0:00:11.664 ******* changed: [managed-node1] => (item=/etc/audit/rules.d/audit.rules) => { "ansible_loop_var": "item", "changed": true, "item": { "atime": 1776276545.876, "ctime": 1716968741.892, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 918330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1716968741.891, "nlink": 1, "path": "/etc/audit/rules.d/audit.rules", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "path": "/etc/audit/rules.d/audit.rules", "state": "absent" } changed: [managed-node1] => (item=/etc/audit/rules.d/custom.rules) => { "ansible_loop_var": "item", "changed": true, "item": { "atime": 1776276748.390186, "ctime": 1776276746.9261913, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 169869506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0664", "mtime": 1776276746.6721923, "nlink": 1, "path": "/etc/audit/rules.d/custom.rules", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 246, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "path": "/etc/audit/rules.d/custom.rules", "state": "absent" } changed: [managed-node1] => (item=/etc/audit/rules.d/99-lsr-purge-decoy.rules) => { "ansible_loop_var": "item", "changed": true, "item": { "atime": 1776276773.0561352, "ctime": 1776276773.0601351, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 272629954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1776276772.8081353, "nlink": 1, "path": "/etc/audit/rules.d/99-lsr-purge-decoy.rules", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 89, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "path": "/etc/audit/rules.d/99-lsr-purge-decoy.rules", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.auditd : Run augenrules for managed-node1 TASK [fedora.linux_system_roles.auditd : Deploy custom audit rules] ************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:37 Wednesday 15 April 2026 14:13:01 -0400 (0:00:01.001) 0:00:12.665 ******* changed: [managed-node1] => { "changed": true, "checksum": "02d7d6985ada6afea8b705873885e4614f94bfc2", "dest": "/etc/audit/rules.d/custom.rules", "gid": 0, "group": "root", "md5sum": "177f245bcc102068cd4ad4608f133bb7", "mode": "0664", "owner": "root", "secontext": "system_u:object_r:auditd_etc_t:s0", "size": 290, "src": "/root/.ansible/tmp/ansible-tmp-1776276781.249532-9986-268045577957992/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.auditd : Start and enable auditd service] ****** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:47 Wednesday 15 April 2026 14:13:01 -0400 (0:00:00.688) 0:00:13.354 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.auditd : Run augenrules] ************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/handlers/main.yml:3 Wednesday 15 April 2026 14:13:01 -0400 (0:00:00.014) 0:00:13.368 ******* NOTIFIED HANDLER fedora.linux_system_roles.auditd : Load audit rules for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "augenrules" ], "delta": "0:00:00.017615", "end": "2026-04-15 14:13:02.326720", "rc": 0, "start": "2026-04-15 14:13:02.309105" } RUNNING HANDLER [fedora.linux_system_roles.auditd : Load audit rules] ********** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/handlers/main.yml:9 Wednesday 15 April 2026 14:13:02 -0400 (0:00:00.460) 0:00:13.829 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Stat decoy fragment after purge] ***************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:57 Wednesday 15 April 2026 14:13:02 -0400 (0:00:00.017) 0:00:13.847 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Verify decoy rules file was purged] ************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:62 Wednesday 15 April 2026 14:13:02 -0400 (0:00:00.327) 0:00:14.175 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Read custom.rules after purge] ******************************************* task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:67 Wednesday 15 April 2026 14:13:02 -0400 (0:00:00.017) 0:00:14.192 ******* ok: [managed-node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCgojIERlbGV0ZSBhbGwgcHJldmlvdXMgcnVsZXMKLUQKIyBTZXQgYnVmZmVyIHNpemUKLWIgMzI3NjgKIyBTZXQgZmFpbHVyZSBiZWhhdmlvcgotZiAxCiMgU2V0IHRoZSBtYXhpbXVtIGFtb3VudCBvZiBtZXNzYWdlcyBwZXIgc2Vjb25kCi1yIDYwCiMgU2V0IGVuYWJsZSBmbGFnICgwPWRpc2FibGUsIDE9ZW5hYmxlLCAyPWxvY2tlZCwgcmVxdWlyZXMgcmVib290IHRvIHVubG9jaykKLWUgMQoKLXcgL2V0Yy9pc3N1ZSAtcCByIC1rIGxzcl9hdWRpdGRfcHVyZ2VfdGVzdAo=", "encoding": "base64", "source": "/etc/audit/rules.d/custom.rules" } TASK [Verify custom.rules reflects role auditd_rules] ************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:72 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.321) 0:00:14.513 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Capture checksum of custom.rules before second role run] ***************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:80 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.021) 0:00:14.534 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1776276782.3161278, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "91271669ce4f391b8f8bf98a56beef27a5c8d15d72f8049956fa12373e8b459c", "ctime": 1776276781.845128, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 329252997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0664", "mtime": 1776276781.5871284, "nlink": 1, "path": "/etc/audit/rules.d/custom.rules", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 290, "uid": 0, "version": "2090232961", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run auditd role again with identical purge and rules] ******************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:86 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.338) 0:00:14.872 ******* included: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml for managed-node1 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:23 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.022) 0:00:14.895 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/run_role_with_clear_facts.yml:33 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.014) 0:00:14.909 ******* TASK [fedora.linux_system_roles.auditd : Assert num_logs range (num_logs_parser)] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:4 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.027) 0:00:14.936 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert freq range (freq_parser)] ****** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:11 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.020) 0:00:14.957 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:18 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.020) 0:00:14.978 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert priority_boost range (priority_boost_parser)] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:25 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.019) 0:00:14.997 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert q_depth range (q_depth_parser)] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:31 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.021) 0:00:15.019 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert max_restarts range (max_restarts_parser)] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:38 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.019) 0:00:15.039 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:44 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.020) 0:00:15.059 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:50 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.020) 0:00:15.080 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:56 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.019) 0:00:15.099 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:62 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.020) 0:00:15.120 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:68 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.021) 0:00:15.142 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert tcp_client_ports range order] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:76 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.020) 0:00:15.162 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:83 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.021) 0:00:15.183 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:89 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.019) 0:00:15.202 ******* ok: [managed-node1 -> localhost] => { "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:95 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.019) 0:00:15.221 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert exec companion paths when action is exec] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:101 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.018) 0:00:15.240 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert space_left_action exec path] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:108 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.017) 0:00:15.257 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert admin_space_left_action exec path] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:115 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.015) 0:00:15.273 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert disk_full_action exec path] **** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:122 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.018) 0:00:15.291 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert disk_error_action exec path] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:129 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.016) 0:00:15.308 ******* skipping: [managed-node1] => { "changed": false, "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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:136 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.016) 0:00:15.325 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Assert auditd_rules entries] ********** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:143 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.019) 0:00:15.344 ******* ok: [managed-node1 -> localhost] => (item=lsr_auditd_purge_test) => { "ansible_loop_var": "item", "changed": false, "item": { "file": "/etc/issue", "keyname": "lsr_auditd_purge_test", "permissions": [ "read" ] } } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Assert syscall rules include required keys] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:153 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.028) 0:00:15.373 ******* TASK [fedora.linux_system_roles.auditd : Assert permission keys for file rules] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/assert.yml:164 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.016) 0:00:15.389 ******* ok: [managed-node1 -> localhost] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.auditd : Set platform/version specific variables] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:9 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.019) 0:00:15.409 ******* included: /tmp/collections-O4d/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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:2 Wednesday 15 April 2026 14:13:03 -0400 (0:00:00.030) 0:00:15.440 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.auditd : Check if system is ostree] ************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:10 Wednesday 15 April 2026 14:13:04 -0400 (0:00:00.535) 0:00:15.976 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Set flag to indicate system is ostree] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:15 Wednesday 15 April 2026 14:13:04 -0400 (0:00:00.016) 0:00:15.992 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Set platform/version specific variables] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:19 Wednesday 15 April 2026 14:13:04 -0400 (0:00:00.015) 0:00:16.007 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Resolve package names for OS family] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:34 Wednesday 15 April 2026 14:13:04 -0400 (0:00:00.035) 0:00:16.042 ******* ok: [managed-node1] => { "ansible_facts": { "__auditd_packages": [ "audit" ] }, "changed": false } TASK [fedora.linux_system_roles.auditd : Install audit packages] *************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:12 Wednesday 15 April 2026 14:13:04 -0400 (0:00:00.018) 0:00:16.061 ******* 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-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:18 Wednesday 15 April 2026 14:13:07 -0400 (0:00:02.786) 0:00:18.847 ******* ok: [managed-node1] => { "changed": false, "checksum": "a93cfc6889d0a3dfd87548eac330576e1146dbe7", "dest": "/etc/audit/auditd.conf", "gid": 0, "group": "root", "mode": "0640", "owner": "root", "path": "/etc/audit/auditd.conf", "secontext": "system_u:object_r:auditd_etc_t:s0", "size": 880, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.auditd : Ensure rules.d directory exists] ****** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:25 Wednesday 15 April 2026 14:13:08 -0400 (0:00:00.636) 0:00:19.484 ******* 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": 26, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.auditd : Purge rules.d when requested] ********* task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:31 Wednesday 15 April 2026 14:13:08 -0400 (0:00:00.340) 0:00:19.824 ******* included: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml for managed-node1 TASK [fedora.linux_system_roles.auditd : Discover files in rules.d] ************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:12 Wednesday 15 April 2026 14:13:08 -0400 (0:00:00.043) 0:00:19.868 ******* ok: [managed-node1] => { "changed": false, "examined": 1, "files": [ { "atime": 1776276782.3161278, "ctime": 1776276781.845128, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 329252997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0664", "mtime": 1776276781.5871284, "nlink": 1, "path": "/etc/audit/rules.d/custom.rules", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 290, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 1 } TASK [fedora.linux_system_roles.auditd : Stat existing custom.rules before purge] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:18 Wednesday 15 April 2026 14:13:08 -0400 (0:00:00.331) 0:00:20.199 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1776276782.3161278, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "02d7d6985ada6afea8b705873885e4614f94bfc2", "ctime": 1776276781.845128, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 329252997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0664", "mtime": 1776276781.5871284, "nlink": 1, "path": "/etc/audit/rules.d/custom.rules", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 290, "uid": 0, "version": "2090232961", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.auditd : Read existing custom.rules for comparison] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:23 Wednesday 15 April 2026 14:13:09 -0400 (0:00:00.339) 0:00:20.539 ******* ok: [managed-node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCgojIERlbGV0ZSBhbGwgcHJldmlvdXMgcnVsZXMKLUQKIyBTZXQgYnVmZmVyIHNpemUKLWIgMzI3NjgKIyBTZXQgZmFpbHVyZSBiZWhhdmlvcgotZiAxCiMgU2V0IHRoZSBtYXhpbXVtIGFtb3VudCBvZiBtZXNzYWdlcyBwZXIgc2Vjb25kCi1yIDYwCiMgU2V0IGVuYWJsZSBmbGFnICgwPWRpc2FibGUsIDE9ZW5hYmxlLCAyPWxvY2tlZCwgcmVxdWlyZXMgcmVib290IHRvIHVubG9jaykKLWUgMQoKLXcgL2V0Yy9pc3N1ZSAtcCByIC1rIGxzcl9hdWRpdGRfcHVyZ2VfdGVzdAo=", "encoding": "base64", "source": "/etc/audit/rules.d/custom.rules" } TASK [fedora.linux_system_roles.auditd : Record whether to keep existing custom.rules (managed rules)] *** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:29 Wednesday 15 April 2026 14:13:09 -0400 (0:00:00.330) 0:00:20.870 ******* ok: [managed-node1] => { "ansible_facts": { "__auditd_purge_keep_custom_rules": true }, "changed": false } TASK [fedora.linux_system_roles.auditd : Remove files from rules.d] ************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:62 Wednesday 15 April 2026 14:13:09 -0400 (0:00:00.041) 0:00:20.912 ******* skipping: [managed-node1] => (item=/etc/audit/rules.d/custom.rules) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1776276782.3161278, "ctime": 1776276781.845128, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 329252997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0664", "mtime": 1776276781.5871284, "nlink": 1, "path": "/etc/audit/rules.d/custom.rules", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 290, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Deploy custom audit rules] ************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:37 Wednesday 15 April 2026 14:13:09 -0400 (0:00:00.021) 0:00:20.933 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.auditd : Start and enable auditd service] ****** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:47 Wednesday 15 April 2026 14:13:09 -0400 (0:00:00.016) 0:00:20.950 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Stat custom.rules after second role run] ********************************* task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:101 Wednesday 15 April 2026 14:13:09 -0400 (0:00:00.015) 0:00:20.966 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1776276782.3161278, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "91271669ce4f391b8f8bf98a56beef27a5c8d15d72f8049956fa12373e8b459c", "ctime": 1776276781.845128, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 329252997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0664", "mtime": 1776276781.5871284, "nlink": 1, "path": "/etc/audit/rules.d/custom.rules", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 290, "uid": 0, "version": "2090232961", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify custom.rules unchanged on idempotent second run] ****************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:107 Wednesday 15 April 2026 14:13:09 -0400 (0:00:00.332) 0:00:21.298 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Stat decoy path after second run] **************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:116 Wednesday 15 April 2026 14:13:09 -0400 (0:00:00.021) 0:00:21.320 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Verify decoy did not reappear] ******************************************* task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:121 Wednesday 15 April 2026 14:13:10 -0400 (0:00:00.324) 0:00:21.644 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check whether purge test rules.d snapshot exists] ************************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:127 Wednesday 15 April 2026 14:13:10 -0400 (0:00:00.017) 0:00:21.661 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1776276772.2911358, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1776276772.2931356, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 266338496, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0750", "mtime": 1776276772.2911358, "nlink": 2, "path": "/root/.lsr_auditd_purge_rulesd.backup", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 45, "uid": 0, "version": "2157287219", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": false, "xusr": true } } TASK [Remove rules.d tree before restoring snapshot] *************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:135 Wednesday 15 April 2026 14:13:10 -0400 (0:00:00.340) 0:00:22.001 ******* changed: [managed-node1] => { "changed": true, "path": "/etc/audit/rules.d", "state": "absent" } TASK [Recreate empty rules.d directory] **************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:140 Wednesday 15 April 2026 14:13:10 -0400 (0:00:00.336) 0:00:22.337 ******* changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0750", "owner": "root", "path": "/etc/audit/rules.d", "secontext": "unconfined_u:object_r:auditd_etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Copy snapshot back into rules.d] ***************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:146 Wednesday 15 April 2026 14:13:11 -0400 (0:00:00.341) 0:00:22.679 ******* changed: [managed-node1] => { "changed": true, "checksum": null, "dest": "/etc/audit/rules.d/", "gid": 0, "group": "root", "md5sum": null, "mode": "0750", "owner": "root", "secontext": "unconfined_u:object_r:auditd_etc_t:s0", "size": 45, "src": "/root/.lsr_auditd_purge_rulesd.backup/", "state": "directory", "uid": 0 } TASK [Remove purge test rules.d snapshot directory on managed host] ************ task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:153 Wednesday 15 April 2026 14:13:11 -0400 (0:00:00.356) 0:00:23.035 ******* changed: [managed-node1] => { "changed": true, "path": "/root/.lsr_auditd_purge_rulesd.backup", "state": "absent" } TASK [Restore system state after purge test] *********************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:159 Wednesday 15 April 2026 14:13:11 -0400 (0:00:00.345) 0:00:23.380 ******* included: /tmp/collections-O4d/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-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:3 Wednesday 15 April 2026 14:13:11 -0400 (0:00:00.023) 0:00:23.404 ******* ok: [managed-node1] => { "changed": false, "checksum": "a93cfc6889d0a3dfd87548eac330576e1146dbe7", "dest": "/etc/audit/auditd.conf", "gid": 0, "group": "root", "md5sum": "92e833ed88010f0e8de83378e762d4c2", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:auditd_etc_t:s0", "size": 880, "src": "/root/.lsr_auditd_integration_auditd.conf.bak", "state": "file", "uid": 0 } TASK [Remove auditd.conf backup file] ****************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:11 Wednesday 15 April 2026 14:13:12 -0400 (0:00:00.359) 0:00:23.764 ******* 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-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:17 Wednesday 15 April 2026 14:13:12 -0400 (0:00:00.350) 0:00:24.114 ******* changed: [managed-node1] => { "changed": true, "checksum": "77d103ccdfd11c4eb539eca7353fba2aed57407c", "dest": "/etc/audit/rules.d/custom.rules", "gid": 0, "group": "root", "md5sum": "399bcfcea7354c0246c8de5866ed19a2", "mode": "0664", "owner": "root", "secontext": "unconfined_u:object_r:auditd_etc_t:s0", "size": 246, "src": "/root/.lsr_auditd_integration_custom.rules.bak", "state": "file", "uid": 0 } TASK [Remove custom.rules backup file] ***************************************** task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:25 Wednesday 15 April 2026 14:13:13 -0400 (0:00:00.351) 0:00:24.466 ******* changed: [managed-node1] => { "changed": true, "path": "/root/.lsr_auditd_integration_custom.rules.bak", "state": "absent" } TASK [Remove custom.rules if it did not exist before test] ********************* task path: /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:31 Wednesday 15 April 2026 14:13:13 -0400 (0:00:00.337) 0:00:24.803 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=95 changed=15 unreachable=0 failed=0 skipped=26 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 15 April 2026 14:13:13 -0400 (0:00:00.014) 0:00:24.817 ******* =============================================================================== fedora.linux_system_roles.auditd : Install audit packages --------------- 5.71s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:12 fedora.linux_system_roles.auditd : Deploy auditd configuration ---------- 1.38s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:18 fedora.linux_system_roles.auditd : Remove files from rules.d ------------ 1.00s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:62 Gathering Facts --------------------------------------------------------- 0.87s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:5 Install decoy rules fragment to be removed by purge --------------------- 0.77s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:34 fedora.linux_system_roles.auditd : Ensure ansible_facts used by role ---- 0.76s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:2 fedora.linux_system_roles.auditd : Deploy custom audit rules ------------ 0.71s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:37 fedora.linux_system_roles.auditd : Ensure rules.d directory exists ------ 0.68s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/main.yml:25 fedora.linux_system_roles.auditd : Ensure ansible_facts used by role ---- 0.54s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/set_vars.yml:2 fedora.linux_system_roles.auditd : Run augenrules ----------------------- 0.46s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/handlers/main.yml:3 Back up auditd.conf before test ----------------------------------------- 0.45s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:21 Check for existing auditd.conf ------------------------------------------ 0.45s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:7 fedora.linux_system_roles.auditd : Discover files in rules.d ------------ 0.45s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:12 Ensure rules.d backup parent directory is absent ------------------------ 0.43s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:16 fedora.linux_system_roles.auditd : Read existing custom.rules for comparison --- 0.40s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/roles/auditd/tasks/purge_rules.yml:23 Back up custom.rules before test ---------------------------------------- 0.37s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/setup.yml:29 Snapshot rules.d tree for full restore after test ----------------------- 0.37s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:27 Restore auditd.conf from integration test backup ------------------------ 0.36s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tasks/cleanup.yml:3 Copy snapshot back into rules.d ----------------------------------------- 0.36s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:146 Create parent directory for rules.d snapshot ---------------------------- 0.35s /tmp/collections-O4d/ansible_collections/fedora/linux_system_roles/tests/auditd/tests_purge_rules.yml:21