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-RfH 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_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 30 November 2024 07:50:35 -0500 (0:00:00.008) 0:00:00.008 ***** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 30 November 2024 07:50:36 -0500 (0:00:01.440) 0:00:01.448 ***** included: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 30 November 2024 07:50:36 -0500 (0:00:00.046) 0:00:01.494 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 30 November 2024 07:50:37 -0500 (0:00:00.664) 0:00:02.159 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 30 November 2024 07:50:37 -0500 (0:00:00.674) 0:00:02.834 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 30 November 2024 07:50:37 -0500 (0:00:00.037) 0:00:02.871 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 30 November 2024 07:50:37 -0500 (0:00:00.027) 0:00:02.899 ***** included: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.086) 0:00:02.986 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.030) 0:00:03.017 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.025) 0:00:03.042 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.025) 0:00:03.068 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.035) 0:00:03.103 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.039) 0:00:03.142 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.033) 0:00:03.176 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Show playbook name] ****************************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.074) 0:00:03.251 ***** skipping: [managed-node2] => { "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)" } TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.069) 0:00:03.320 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.065) 0:00:03.386 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.070) 0:00:03.457 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.067) 0:00:03.524 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.143) 0:00:03.667 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.111) 0:00:03.778 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(ansible_distribution in ['CentOS','RedHat'] and ansible_distribution_major_version | int < 9)", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node2 : ok=7 changed=0 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 30 November 2024 07:50:38 -0500 (0:00:00.065) 0:00:03.844 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 1.44s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Check if system is ostree ----------------------------------------------- 0.68s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Gather the minimum subset of ansible_facts required by the network role test --- 0.66s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Include the task 'run_test.yml' ----------------------------------------- 0.14s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Include the task 'run_test.yml' ----------------------------------------- 0.11s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Include the task 'enable_epel.yml' -------------------------------------- 0.09s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Gathering Facts --------------------------------------------------------- 0.07s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Include the task 'run_test.yml' ----------------------------------------- 0.07s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Show playbook name ------------------------------------------------------ 0.07s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Include the task 'run_test.yml' ----------------------------------------- 0.07s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Include the task 'run_test.yml' ----------------------------------------- 0.07s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Include the task 'run_test.yml' ----------------------------------------- 0.07s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Include the task 'el_repo_setup.yml' ------------------------------------ 0.05s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Enable EPEL 6 ----------------------------------------------------------- 0.04s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Set flag to indicate system is ostree ----------------------------------- 0.04s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Enable EPEL 8 ----------------------------------------------------------- 0.04s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Set network provider to 'initscripts' ----------------------------------- 0.03s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Create EPEL 9 ----------------------------------------------------------- 0.03s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Fix CentOS6 Base repo --------------------------------------------------- 0.03s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Install yum-utils package ----------------------------------------------- 0.03s /tmp/collections-RfH/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26