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-PCJ executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/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-PCJ/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-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Monday 07 October 2024 08:23:02 -0400 (0:00:00.027) 0:00:00.027 ******** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.12, 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-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Monday 07 October 2024 08:23:03 -0400 (0:00:01.352) 0:00:01.379 ******** included: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 07 October 2024 08:23:03 -0400 (0:00:00.021) 0:00:01.401 ******** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 07 October 2024 08:23:04 -0400 (0:00:00.565) 0:00:01.966 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 07 October 2024 08:23:04 -0400 (0:00:00.633) 0:00:02.600 ******** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 07 October 2024 08:23:04 -0400 (0:00:00.038) 0:00:02.638 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 07 October 2024 08:23:04 -0400 (0:00:00.023) 0:00:02.661 ******** included: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 40] ********************************************************** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 07 October 2024 08:23:05 -0400 (0:00:00.054) 0:00:02.715 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 07 October 2024 08:23:05 -0400 (0:00:00.017) 0:00:02.733 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 07 October 2024 08:23:05 -0400 (0:00:00.016) 0:00:02.749 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 07 October 2024 08:23:05 -0400 (0:00:00.015) 0:00:02.765 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 07 October 2024 08:23:05 -0400 (0:00:00.018) 0:00:02.783 ******** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Monday 07 October 2024 08:23:05 -0400 (0:00:00.014) 0:00:02.798 ******** ok: [managed-node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 07 October 2024 08:23:05 -0400 (0:00:00.036) 0:00:02.834 ******** skipping: [managed-node3] => { "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-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 07 October 2024 08:23:05 -0400 (0:00:00.057) 0:00:02.892 ******** skipping: [managed-node3] => { "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-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 07 October 2024 08:23:05 -0400 (0:00:00.054) 0:00:02.946 ******** skipping: [managed-node3] => { "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-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 07 October 2024 08:23:05 -0400 (0:00:00.056) 0:00:03.003 ******** skipping: [managed-node3] => { "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-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 07 October 2024 08:23:05 -0400 (0:00:00.060) 0:00:03.063 ******** skipping: [managed-node3] => { "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-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 07 October 2024 08:23:05 -0400 (0:00:00.041) 0:00:03.105 ******** skipping: [managed-node3] => { "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-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 07 October 2024 08:23:05 -0400 (0:00:00.045) 0:00:03.150 ******** skipping: [managed-node3] => { "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-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 07 October 2024 08:23:05 -0400 (0:00:00.059) 0:00:03.210 ******** skipping: [managed-node3] => { "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-node3 : ok=7 changed=0 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Monday 07 October 2024 08:23:05 -0400 (0:00:00.066) 0:00:03.276 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.35s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Check if system is ostree ----------------------------------------------- 0.63s /tmp/collections-PCJ/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.57s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Include the task 'run_test.yml' ----------------------------------------- 0.07s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Include the task 'run_test.yml' ----------------------------------------- 0.06s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Include the task 'run_test.yml' ----------------------------------------- 0.06s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Gathering Facts --------------------------------------------------------- 0.06s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Include the task 'run_test.yml' ----------------------------------------- 0.06s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Show playbook name ------------------------------------------------------ 0.05s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Include the task 'enable_epel.yml' -------------------------------------- 0.05s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Include the task 'run_test.yml' ----------------------------------------- 0.04s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Set flag to indicate system is ostree ----------------------------------- 0.04s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Set network provider to 'initscripts' ----------------------------------- 0.04s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Fix CentOS6 Base repo --------------------------------------------------- 0.02s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Include the task 'el_repo_setup.yml' ------------------------------------ 0.02s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Enable EPEL 8 ----------------------------------------------------------- 0.02s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Create EPEL 40 ---------------------------------------------------------- 0.02s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Install yum-utils package ----------------------------------------------- 0.02s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Enable EPEL 7 ----------------------------------------------------------- 0.02s /tmp/collections-PCJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32