[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.10] 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-tQi executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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-tQi/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Saturday 24 August 2024 18:29:50 -0400 (0:00:00.009) 0:00:00.009 ******* included: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role] *** task path: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Saturday 24 August 2024 18:29:50 -0400 (0:00:00.014) 0:00:00.023 ******* ok: [managed_node2] TASK [fedora.linux_system_roles.snapshot : Check if system is ostree] ********** task path: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Saturday 24 August 2024 18:29:51 -0400 (0:00:00.761) 0:00:00.785 ******* ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree] *** task path: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Saturday 24 August 2024 18:29:51 -0400 (0:00:00.499) 0:00:01.284 ******* ok: [managed_node2] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Saturday 24 August 2024 18:29:51 -0400 (0:00:00.037) 0:00:01.322 ******* skipping: [managed_node2] => (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_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__snapshot_packages": [ "lvm2", "util-linux" ], "__snapshot_python": "/usr/libexec/platform-python" }, "ansible_included_var_files": [ "/tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed_node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__snapshot_packages": [ "lvm2", "util-linux" ], "__snapshot_python": "/usr/libexec/platform-python" }, "ansible_included_var_files": [ "/tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.snapshot : Ensure required packages are installed] *** task path: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Saturday 24 August 2024 18:29:51 -0400 (0:00:00.058) 0:00:01.380 ******* ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: lvm2 util-linux TASK [fedora.linux_system_roles.snapshot : Run snapshot module check] ********** task path: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 Saturday 24 August 2024 18:29:55 -0400 (0:00:03.427) 0:00:04.808 ******* ok: [managed_node2] => { "changed": false, "errors": "", "message": "", "return_code": 0 } TASK [fedora.linux_system_roles.snapshot : Print out response] ***************** task path: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 Saturday 24 August 2024 18:29:55 -0400 (0:00:00.526) 0:00:05.334 ******* ok: [managed_node2] => { "snapshot_cmd": { "changed": false, "errors": "", "failed": false, "message": "", "msg": "", "return_code": 0 } } TASK [fedora.linux_system_roles.snapshot : Set result] ************************* task path: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 Saturday 24 August 2024 18:29:55 -0400 (0:00:00.013) 0:00:05.348 ******* ok: [managed_node2] => { "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-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49 Saturday 24 August 2024 18:29:55 -0400 (0:00:00.012) 0:00:05.360 ******* skipping: [managed_node2] => { "changed": false, "false_condition": "snapshot_lvm_action == \"list\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Show errors] ************************ task path: /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 Saturday 24 August 2024 18:29:55 -0400 (0:00:00.008) 0:00:05.369 ******* skipping: [managed_node2] => { "false_condition": "snapshot_cmd[\"return_code\"] != 0" } PLAY RECAP ********************************************************************* managed_node2 : ok=9 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Saturday 24 August 2024 18:29:55 -0400 (0:00:00.012) 0:00:05.381 ******* =============================================================================== fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 3.43s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.76s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 fedora.linux_system_roles.snapshot : Run snapshot module check ---------- 0.53s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.50s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.06s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree --- 0.04s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.01s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 fedora.linux_system_roles.snapshot : Print out response ----------------- 0.01s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 fedora.linux_system_roles.snapshot : Show errors ------------------------ 0.01s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 fedora.linux_system_roles.snapshot : Set result ------------------------- 0.01s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results --- 0.01s /tmp/collections-tQi/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49