ansible-playbook [core 2.17.4] 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-EqK 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-EqK/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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Monday 07 October 2024 08:21:13 -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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Monday 07 October 2024 08:21:14 -0400 (0:00:01.286) 0:00:01.294 ******** included: /tmp/collections-EqK/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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 07 October 2024 08:21:14 -0400 (0:00:00.125) 0:00:01.419 ******** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 07 October 2024 08:21:15 -0400 (0:00:00.602) 0:00:02.022 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 07 October 2024 08:21:15 -0400 (0:00:00.479) 0:00:02.502 ******** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 07 October 2024 08:21:15 -0400 (0:00:00.063) 0:00:02.565 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 07 October 2024 08:21:15 -0400 (0:00:00.034) 0:00:02.600 ******** included: /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 07 October 2024 08:21:15 -0400 (0:00:00.093) 0:00:02.694 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 07 October 2024 08:21:15 -0400 (0:00:00.047) 0:00:02.741 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 07 October 2024 08:21:15 -0400 (0:00:00.034) 0:00:02.776 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 07 October 2024 08:21:15 -0400 (0:00:00.048) 0:00:02.824 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 07 October 2024 08:21:15 -0400 (0:00:00.042) 0:00:02.866 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Monday 07 October 2024 08:21:15 -0400 (0:00:00.020) 0:00:02.887 ******** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 07 October 2024 08:21:16 -0400 (0:00:00.050) 0:00:02.937 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 07 October 2024 08:21:16 -0400 (0:00:00.073) 0:00:03.011 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 07 October 2024 08:21:16 -0400 (0:00:00.052) 0:00:03.063 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 07 October 2024 08:21:16 -0400 (0:00:00.057) 0:00:03.120 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 07 October 2024 08:21:16 -0400 (0:00:00.056) 0:00:03.177 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 07 October 2024 08:21:16 -0400 (0:00:00.053) 0:00:03.231 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 07 October 2024 08:21:16 -0400 (0:00:00.046) 0:00:03.277 ******** 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-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 07 October 2024 08:21:16 -0400 (0:00:00.044) 0:00:03.321 ******** 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 Monday 07 October 2024 08:21:16 -0400 (0:00:00.046) 0:00:03.368 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.29s /tmp/collections-EqK/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.60s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Check if system is ostree ----------------------------------------------- 0.48s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Include the task 'el_repo_setup.yml' ------------------------------------ 0.13s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Include the task 'enable_epel.yml' -------------------------------------- 0.09s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Gathering Facts --------------------------------------------------------- 0.07s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Set flag to indicate system is ostree ----------------------------------- 0.06s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Include the task 'run_test.yml' ----------------------------------------- 0.06s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Include the task 'run_test.yml' ----------------------------------------- 0.06s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Show playbook name ------------------------------------------------------ 0.05s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Set network provider to 'initscripts' ----------------------------------- 0.05s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Enable EPEL 7 ----------------------------------------------------------- 0.05s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Create EPEL 9 ----------------------------------------------------------- 0.05s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Include the task 'run_test.yml' ----------------------------------------- 0.04s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Enable EPEL 8 ----------------------------------------------------------- 0.04s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Install yum-utils package ----------------------------------------------- 0.03s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Fix CentOS6 Base repo --------------------------------------------------- 0.03s /tmp/collections-EqK/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26