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-gQh executable location = /usr/local/bin/ansible-playbook python version = 3.12.13 (main, Apr 16 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml:3 Saturday 30 May 2026 18:58:25 -0400 (0:00:00.019) 0:00:00.019 ********** [WARNING]: Platform linux on host managed-node5 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node5] TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml:13 Saturday 30 May 2026 18:58:27 -0400 (0:00:02.405) 0:00:02.425 ********** ok: [managed-node5] => { "changed": false, "stat": { "atime": 1780181905.5593333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1780181643.538, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/journal/dev-log", "lnk_target": "/run/systemd/journal/dev-log", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1780181638.93, "nlink": 1, "path": "/dev/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 28, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml:18 Saturday 30 May 2026 18:58:28 -0400 (0:00:00.469) 0:00:02.894 ********** ok: [managed-node5] => { "ansible_facts": { "__journal_start_time": "2026-05-30 18:58:27" }, "changed": false } TASK [Run the role] ************************************************************ task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml:23 Saturday 30 May 2026 18:58:28 -0400 (0:00:00.017) 0:00:02.912 ********** included: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tasks/run_role_with_clear_facts.yml for managed-node5 TASK [Clear facts] ************************************************************* task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tasks/run_role_with_clear_facts.yml:9 Saturday 30 May 2026 18:58:28 -0400 (0:00:00.015) 0:00:02.927 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tasks/run_role_with_clear_facts.yml:23 Saturday 30 May 2026 18:58:28 -0400 (0:00:00.000) 0:00:02.928 ********** skipping: [managed-node5] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tasks/run_role_with_clear_facts.yml:33 Saturday 30 May 2026 18:58:28 -0400 (0:00:00.015) 0:00:02.943 ********** included: fedora.linux_system_roles.snapshot for managed-node5 TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Saturday 30 May 2026 18:58:28 -0400 (0:00:00.067) 0:00:03.011 ********** included: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml for managed-node5 TASK [fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role] *** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Saturday 30 May 2026 18:58:28 -0400 (0:00:00.019) 0:00:03.031 ********** ok: [managed-node5] TASK [fedora.linux_system_roles.snapshot : Record role begin fingerprint] ****** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:7 Saturday 30 May 2026 18:58:28 -0400 (0:00:00.546) 0:00:03.577 ********** ok: [managed-node5] => { "changed": false } TASK [fedora.linux_system_roles.snapshot : Check if system is ostree] ********** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:16 Saturday 30 May 2026 18:58:29 -0400 (0:00:00.421) 0:00:03.998 ********** ok: [managed-node5] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree] *** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:21 Saturday 30 May 2026 18:58:29 -0400 (0:00:00.330) 0:00:04.329 ********** ok: [managed-node5] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:25 Saturday 30 May 2026 18:58:29 -0400 (0:00:00.020) 0:00:04.349 ********** skipping: [managed-node5] => (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-node5] => (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-node5] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node5] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node5] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.snapshot : Enable copr if requested] *********** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Saturday 30 May 2026 18:58:29 -0400 (0:00:00.028) 0:00:04.377 ********** skipping: [managed-node5] => { "changed": false, "false_condition": "snapshot_use_copr | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Ensure required packages are installed] *** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:10 Saturday 30 May 2026 18:58:29 -0400 (0:00:00.012) 0:00:04.390 ********** changed: [managed-node5] => { "changed": true, "rc": 0, "results": [ "Installed: device-mapper-persistent-data-1.1.0-1.el9.x86_64", "Installed: python3-packaging-20.9-5.el9.noarch", "Installed: python3-dbus-client-gen-0.5.1-1.el9.noarch", "Installed: python3-dbus-python-client-gen-0.8.3-1.el9.noarch", "Installed: python3-dbus-signature-pyparsing-0.4.1-1.el9.noarch", "Installed: libnvme-1.16.1-3.el9.x86_64", "Installed: python3-snapm-0.7.0-5.el9.noarch", "Installed: python3-file-magic-5.39-19.el9.noarch", "Installed: boom-boot-1.6.8-2.el9.noarch", "Installed: boom-boot-conf-1.6.8-2.el9.noarch", "Installed: snapm-0.7.0-5.el9.noarch", "Installed: python3-into-dbus-python-0.8.2-1.el9.noarch", "Installed: python3-wcwidth-0.2.5-8.el9.noarch", "Installed: libaio-0.3.111-13.el9.x86_64", "Installed: device-mapper-9:1.02.207-4.el9.1.x86_64", "Installed: device-mapper-event-9:1.02.207-4.el9.1.x86_64", "Installed: device-mapper-event-libs-9:1.02.207-4.el9.1.x86_64", "Installed: python3-boom-1.6.8-2.el9.noarch", "Installed: python3-justbases-0.15.2-1.el9.noarch", "Installed: python3-justbytes-0.15.2-1.el9.noarch", "Installed: lvm2-9:2.03.33-4.el9.1.x86_64", "Installed: device-mapper-libs-9:1.02.207-4.el9.1.x86_64", "Installed: lvm2-libs-9:2.03.33-4.el9.1.x86_64", "Removed: device-mapper-9:1.02.207-4.el9.x86_64", "Removed: device-mapper-libs-9:1.02.207-4.el9.x86_64" ] } lsrpackages: boom-boot lvm2 snapm util-linux-core TASK [fedora.linux_system_roles.snapshot : Get package facts] ****************** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:16 Saturday 30 May 2026 18:58:35 -0400 (0:00:05.474) 0:00:09.865 ********** ok: [managed-node5] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.snapshot : Set snapm availability fact and version] *** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:20 Saturday 30 May 2026 18:58:36 -0400 (0:00:00.977) 0:00:10.842 ********** ok: [managed-node5] => { "ansible_facts": { "__snapshot_snapm_available": true, "__snapshot_snapm_version": "0.7.0" }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set needs bootable support] ********* task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:28 Saturday 30 May 2026 18:58:36 -0400 (0:00:00.028) 0:00:10.871 ********** ok: [managed-node5] => { "ansible_facts": { "__snapshot_needs_bootable_support": false }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Package snapm version must be 0.4 or later] *** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:32 Saturday 30 May 2026 18:58:36 -0400 (0:00:00.023) 0:00:10.895 ********** skipping: [managed-node5] => { "changed": false, "false_condition": "__snapshot_snapm_version is version(\"0.4\", \"<\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Package snapm must available for bootable snapsets] *** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:41 Saturday 30 May 2026 18:58:36 -0400 (0:00:00.021) 0:00:10.916 ********** skipping: [managed-node5] => { "changed": false, "false_condition": "not __snapshot_snapm_available", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Package snapm must be version 0.5 or later for bootable snapsets] *** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49 Saturday 30 May 2026 18:58:36 -0400 (0:00:00.017) 0:00:10.933 ********** skipping: [managed-node5] => { "changed": false, "false_condition": "not __snapshot_snapm_available or __snapshot_snapm_version is version(\"0.5\", \"<\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Run snapshot module check] ********** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:63 Saturday 30 May 2026 18:58:36 -0400 (0:00:00.019) 0:00:10.953 ********** ok: [managed-node5] => { "changed": false, "errors": "", "message": "", "return_code": 0 } TASK [fedora.linux_system_roles.snapshot : Print out response] ***************** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:90 Saturday 30 May 2026 18:58:36 -0400 (0:00:00.597) 0:00:11.551 ********** ok: [managed-node5] => { "snapshot_cmd": { "changed": false, "errors": "", "failed": false, "message": "", "msg": "", "return_code": 0 } } TASK [fedora.linux_system_roles.snapshot : Set result] ************************* task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:96 Saturday 30 May 2026 18:58:36 -0400 (0:00:00.026) 0:00:11.577 ********** ok: [managed-node5] => { "ansible_facts": { "snapshot_cmd": { "changed": false, "errors": "", "failed": false, "message": "", "msg": "", "return_code": 0 } }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results] *** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:101 Saturday 30 May 2026 18:58:37 -0400 (0:00:00.027) 0:00:11.605 ********** skipping: [managed-node5] => { "changed": false, "false_condition": "snapshot_cmd is defined and snapshot_lvm_action == \"list\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Show errors] ************************ task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:106 Saturday 30 May 2026 18:58:37 -0400 (0:00:00.022) 0:00:11.628 ********** skipping: [managed-node5] => { "false_condition": "snapshot_cmd is defined and snapshot_cmd[\"return_code\"] != 0" } TASK [fedora.linux_system_roles.snapshot : Record role success fingerprint] **** task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:111 Saturday 30 May 2026 18:58:37 -0400 (0:00:00.022) 0:00:11.651 ********** ok: [managed-node5] => { "changed": false } TASK [Check system journal contains role fingerprints] ************************* task path: /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml:27 Saturday 30 May 2026 18:58:37 -0400 (0:00:00.351) 0:00:12.002 ********** ok: [managed-node5] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-05-30 18:58:27\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*begin system_role:snapshot\" || { echo ERROR: BEGIN fingerprint not found; exit 1; }; journalctl --since \"2026-05-30 18:58:27\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*success system_role:snapshot\" || { echo ERROR: SUCCESS fingerprint not found; exit 1; }", "delta": "0:00:00.016384", "end": "2026-05-30 18:58:37.826922", "rc": 0, "start": "2026-05-30 18:58:37.810538" } STDOUT: May 30 18:58:29 managed-node5 python3.9[10143]: ansible-fedora.linux_system_roles.sr_fingerprint begin system_role:snapshot ansible_version=2.17.14 CentOS-9 2026-05-30T18:58:29-04:00 May 30 18:58:37 managed-node5 python3.9[11731]: ansible-fedora.linux_system_roles.sr_fingerprint success system_role:snapshot ansible_version=2.17.14 CentOS-9 2026-05-30T18:58:37-04:00 PLAY RECAP ********************************************************************* managed-node5 : ok=19 changed=1 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 30 May 2026 18:58:37 -0400 (0:00:00.461) 0:00:12.463 ********** =============================================================================== fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 5.47s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:10 Gathering Facts --------------------------------------------------------- 2.41s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml:3 fedora.linux_system_roles.snapshot : Get package facts ------------------ 0.98s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:16 fedora.linux_system_roles.snapshot : Run snapshot module check ---------- 0.60s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:63 fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.55s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 See if /dev/log exists for the fingerprint check ------------------------ 0.47s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml:13 Check system journal contains role fingerprints ------------------------- 0.46s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml:27 fedora.linux_system_roles.snapshot : Record role begin fingerprint ------ 0.42s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:7 fedora.linux_system_roles.snapshot : Record role success fingerprint ---- 0.35s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:111 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.33s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:16 Run the role normally --------------------------------------------------- 0.07s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/tests/snapshot/tasks/run_role_with_clear_facts.yml:33 fedora.linux_system_roles.snapshot : Set snapm availability fact and version --- 0.03s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:20 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.03s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:25 fedora.linux_system_roles.snapshot : Set result ------------------------- 0.03s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:96 fedora.linux_system_roles.snapshot : Print out response ----------------- 0.03s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:90 fedora.linux_system_roles.snapshot : Set needs bootable support --------- 0.02s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:28 fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results --- 0.02s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:101 fedora.linux_system_roles.snapshot : Show errors ------------------------ 0.02s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:106 fedora.linux_system_roles.snapshot : Package snapm version must be 0.4 or later --- 0.02s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:32 fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree --- 0.02s /tmp/collections-gQh/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:21