ansible-playbook [core 2.17.6] 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-BhE executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-BhE/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-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Monday 11 November 2024 19:26:28 -0500 (0:00:00.011) 0:00:00.011 ******* included: /tmp/collections-BhE/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-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Monday 11 November 2024 19:26:28 -0500 (0:00:00.026) 0:00:00.037 ******* [WARNING]: Platform linux on host managed-node1 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-node1] TASK [fedora.linux_system_roles.snapshot : Check if system is ostree] ********** task path: /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Monday 11 November 2024 19:26:29 -0500 (0:00:01.088) 0:00:01.125 ******* 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-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Monday 11 November 2024 19:26:29 -0500 (0:00:00.466) 0:00:01.591 ******* 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-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Monday 11 November 2024 19:26:29 -0500 (0:00:00.021) 0:00:01.613 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_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-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.snapshot : Ensure required packages are installed] *** task path: /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Monday 11 November 2024 19:26:29 -0500 (0:00:00.030) 0:00:01.643 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: lvm2 util-linux-core TASK [fedora.linux_system_roles.snapshot : Run snapshot module check] ********** task path: /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 Monday 11 November 2024 19:26:31 -0500 (0:00:01.707) 0:00:03.350 ******* ok: [managed-node1] => { "changed": false, "errors": "", "message": "", "return_code": 0 } TASK [fedora.linux_system_roles.snapshot : Print out response] ***************** task path: /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 Monday 11 November 2024 19:26:32 -0500 (0:00:00.560) 0:00:03.911 ******* 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-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 Monday 11 November 2024 19:26:32 -0500 (0:00:00.015) 0:00:03.926 ******* 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-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49 Monday 11 November 2024 19:26:32 -0500 (0:00:00.014) 0:00:03.940 ******* skipping: [managed-node1] => { "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-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 Monday 11 November 2024 19:26:32 -0500 (0:00:00.011) 0:00:03.952 ******* skipping: [managed-node1] => { "false_condition": "snapshot_cmd[\"return_code\"] != 0" } PLAY RECAP ********************************************************************* managed-node1 : ok=8 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Monday 11 November 2024 19:26:32 -0500 (0:00:00.012) 0:00:03.965 ******* =============================================================================== fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 1.71s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 1.09s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 fedora.linux_system_roles.snapshot : Run snapshot module check ---------- 0.56s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.47s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.03s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.03s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree --- 0.02s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 fedora.linux_system_roles.snapshot : Print out response ----------------- 0.02s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 fedora.linux_system_roles.snapshot : Set result ------------------------- 0.01s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 fedora.linux_system_roles.snapshot : Show errors ------------------------ 0.01s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results --- 0.01s /tmp/collections-BhE/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49