ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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 '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_default.yml **************************************************** 1 plays in /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Saturday 17 August 2024 18:25:07 -0400 (0:00:00.051) 0:00:00.051 ******* included: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role] *** task path: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Saturday 17 August 2024 18:25:07 -0400 (0:00:00.162) 0:00:00.214 ******* ok: [managed_node1] TASK [fedora.linux_system_roles.snapshot : Check if system is ostree] ********** task path: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Saturday 17 August 2024 18:25:08 -0400 (0:00:00.859) 0:00:01.074 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree] *** task path: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Saturday 17 August 2024 18:25:09 -0400 (0:00:00.532) 0:00:01.607 ******* ok: [managed_node1] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Saturday 17 August 2024 18:25:09 -0400 (0:00:00.077) 0:00:01.684 ******* 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" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__snapshot_packages": [ "lvm2", "util-linux" ], "__snapshot_python": "/usr/bin/python" }, "ansible_included_var_files": [ "/tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Ensure required packages are installed] *** task path: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Saturday 17 August 2024 18:25:09 -0400 (0:00:00.117) 0:00:01.802 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "7:lvm2-2.02.187-6.el7_9.5.x86_64 providing lvm2 is already installed", "util-linux-2.23.2-65.el7_9.1.x86_64 providing util-linux is already installed" ] } lsrpackages: lvm2 util-linux TASK [fedora.linux_system_roles.snapshot : Run snapshot module check] ********** task path: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 Saturday 17 August 2024 18:25:10 -0400 (0:00:01.350) 0:00:03.152 ******* ok: [managed_node1] => { "changed": false, "errors": "", "message": "", "return_code": 0 } TASK [fedora.linux_system_roles.snapshot : Print out response] ***************** task path: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 Saturday 17 August 2024 18:25:11 -0400 (0:00:00.798) 0:00:03.951 ******* ok: [managed_node1] => { "snapshot_cmd": { "changed": false, "errors": "", "failed": false, "message": "", "msg": "", "return_code": 0 } } TASK [fedora.linux_system_roles.snapshot : Set result] ************************* task path: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 Saturday 17 August 2024 18:25:11 -0400 (0:00:00.027) 0:00:03.979 ******* ok: [managed_node1] => { "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-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49 Saturday 17 August 2024 18:25:11 -0400 (0:00:00.027) 0:00:04.006 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Show errors] ************************ task path: /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 Saturday 17 August 2024 18:25:11 -0400 (0:00:00.023) 0:00:04.030 ******* skipping: [managed_node1] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=9 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Saturday 17 August 2024 18:25:11 -0400 (0:00:00.030) 0:00:04.060 ******* =============================================================================== fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 1.35s /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.86s /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 fedora.linux_system_roles.snapshot : Run snapshot module check ---------- 0.80s /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.53s /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.16s /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.12s /tmp/collections-hMW/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.08s /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 fedora.linux_system_roles.snapshot : Show errors ------------------------ 0.03s /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 fedora.linux_system_roles.snapshot : Set result ------------------------- 0.03s /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 fedora.linux_system_roles.snapshot : Print out response ----------------- 0.03s /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results --- 0.02s /tmp/collections-hMW/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49