ansible-playbook [core 2.17.5] 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-Kcw 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-Kcw/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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Tuesday 08 October 2024 02:02:09 -0400 (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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Tuesday 08 October 2024 02:02:10 -0400 (0:00:01.231) 0:00:01.239 ******* included: /tmp/collections-Kcw/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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 08 October 2024 02:02:10 -0400 (0:00:00.057) 0:00:01.296 ******* ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 08 October 2024 02:02:10 -0400 (0:00:00.532) 0:00:01.829 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.467) 0:00:02.296 ******* ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.033) 0:00:02.330 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.027) 0:00:02.358 ******* included: /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.067) 0:00:02.425 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.023) 0:00:02.449 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.021) 0:00:02.470 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.024) 0:00:02.495 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.014) 0:00:02.509 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.017) 0:00:02.527 ******* ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.036) 0:00:02.563 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.048) 0:00:02.612 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.039) 0:00:02.651 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.034) 0:00:02.685 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.033) 0:00:02.719 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.034) 0:00:02.754 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.032) 0:00:02.787 ******* 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-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.033) 0:00:02.820 ******* 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 Tuesday 08 October 2024 02:02:11 -0400 (0:00:00.041) 0:00:02.862 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 1.23s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Gather the minimum subset of ansible_facts required by the network role test --- 0.53s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.47s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Include the task 'enable_epel.yml' -------------------------------------- 0.07s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Include the task 'el_repo_setup.yml' ------------------------------------ 0.06s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Gathering Facts --------------------------------------------------------- 0.05s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Include the task 'run_test.yml' ----------------------------------------- 0.04s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Show playbook name ------------------------------------------------------ 0.04s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Set network provider to 'initscripts' ----------------------------------- 0.04s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Include the task 'run_test.yml' ----------------------------------------- 0.03s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Include the task 'run_test.yml' ----------------------------------------- 0.03s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Set flag to indicate system is ostree ----------------------------------- 0.03s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Include the task 'run_test.yml' ----------------------------------------- 0.03s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Include the task 'run_test.yml' ----------------------------------------- 0.03s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Include the task 'run_test.yml' ----------------------------------------- 0.03s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Fix CentOS6 Base repo --------------------------------------------------- 0.03s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Enable EPEL 7 ----------------------------------------------------------- 0.02s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Create EPEL 9 ----------------------------------------------------------- 0.02s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Install yum-utils package ----------------------------------------------- 0.02s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Enable EPEL 6 ----------------------------------------------------------- 0.02s /tmp/collections-Kcw/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42