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-HYN 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-HYN/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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Thursday 03 October 2024 23:52:08 -0400 (0:00:00.010) 0:00:00.010 ****** [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 [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Thursday 03 October 2024 23:52:09 -0400 (0:00:01.207) 0:00:01.218 ****** included: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 03 October 2024 23:52:09 -0400 (0:00:00.058) 0:00:01.277 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 03 October 2024 23:52:09 -0400 (0:00:00.502) 0:00:01.780 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.593) 0:00:02.373 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.045) 0:00:02.419 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.034) 0:00:02.453 ****** included: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.087) 0:00:02.541 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.046) 0:00:02.587 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.031) 0:00:02.618 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.026) 0:00:02.645 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.020) 0:00:02.666 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.021) 0:00:02.687 ****** ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.041) 0:00:02.729 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Thursday 03 October 2024 23:52:10 -0400 (0:00:00.069) 0:00:02.798 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Thursday 03 October 2024 23:52:11 -0400 (0:00:00.056) 0:00:02.855 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Thursday 03 October 2024 23:52:11 -0400 (0:00:00.063) 0:00:02.919 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Thursday 03 October 2024 23:52:11 -0400 (0:00:00.056) 0:00:02.975 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Thursday 03 October 2024 23:52:11 -0400 (0:00:00.049) 0:00:03.025 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Thursday 03 October 2024 23:52:11 -0400 (0:00:00.047) 0:00:03.072 ****** skipping: [managed-node1] => { "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-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Thursday 03 October 2024 23:52:11 -0400 (0:00:00.050) 0:00:03.123 ****** skipping: [managed-node1] => { "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-node1 : ok=7 changed=0 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Thursday 03 October 2024 23:52:11 -0400 (0:00:00.063) 0:00:03.186 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.21s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Check if system is ostree ----------------------------------------------- 0.59s /tmp/collections-HYN/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.50s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Include the task 'enable_epel.yml' -------------------------------------- 0.09s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Gathering Facts --------------------------------------------------------- 0.07s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Include the task 'run_test.yml' ----------------------------------------- 0.06s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Include the task 'run_test.yml' ----------------------------------------- 0.06s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Include the task 'el_repo_setup.yml' ------------------------------------ 0.06s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Show playbook name ------------------------------------------------------ 0.06s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Include the task 'run_test.yml' ----------------------------------------- 0.06s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Create EPEL 9 ----------------------------------------------------------- 0.05s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Set flag to indicate system is ostree ----------------------------------- 0.05s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Set network provider to 'initscripts' ----------------------------------- 0.04s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Fix CentOS6 Base repo --------------------------------------------------- 0.03s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Install yum-utils package ----------------------------------------------- 0.03s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Enable EPEL 7 ----------------------------------------------------------- 0.03s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Enable EPEL 6 ----------------------------------------------------------- 0.02s /tmp/collections-HYN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42