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-T02 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-T02/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-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Friday 04 October 2024 09:58:53 -0400 (0:00:00.011) 0:00:00.011 ******** [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-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Friday 04 October 2024 09:58:55 -0400 (0:00:01.318) 0:00:01.329 ******** included: /tmp/collections-T02/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-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 04 October 2024 09:58:55 -0400 (0:00:00.076) 0:00:01.405 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 04 October 2024 09:58:55 -0400 (0:00:00.049) 0:00:01.455 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 04 October 2024 09:58:55 -0400 (0:00:00.626) 0:00:02.082 ******** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 04 October 2024 09:58:55 -0400 (0:00:00.021) 0:00:02.103 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 04 October 2024 09:58:55 -0400 (0:00:00.013) 0:00:02.117 ******** included: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 9] *********************************************************** task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 04 October 2024 09:58:55 -0400 (0:00:00.041) 0:00:02.158 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 04 October 2024 09:58:55 -0400 (0:00:00.014) 0:00:02.173 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 04 October 2024 09:58:55 -0400 (0:00:00.012) 0:00:02.185 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 04 October 2024 09:58:55 -0400 (0:00:00.013) 0:00:02.199 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 04 October 2024 09:58:55 -0400 (0:00:00.013) 0:00:02.212 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Friday 04 October 2024 09:58:55 -0400 (0:00:00.018) 0:00:02.231 ******** ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Friday 04 October 2024 09:58:55 -0400 (0:00:00.040) 0:00:02.271 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Friday 04 October 2024 09:58:56 -0400 (0:00:00.063) 0:00:02.334 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Friday 04 October 2024 09:58:56 -0400 (0:00:00.049) 0:00:02.383 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Friday 04 October 2024 09:58:56 -0400 (0:00:00.054) 0:00:02.438 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Friday 04 October 2024 09:58:56 -0400 (0:00:00.051) 0:00:02.489 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Friday 04 October 2024 09:58:56 -0400 (0:00:00.051) 0:00:02.541 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Friday 04 October 2024 09:58:56 -0400 (0:00:00.072) 0:00:02.613 ******** 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-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Friday 04 October 2024 09:58:56 -0400 (0:00:00.050) 0:00:02.664 ******** 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=6 changed=0 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 Friday 04 October 2024 09:58:56 -0400 (0:00:00.052) 0:00:02.716 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.32s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Check if system is ostree ----------------------------------------------- 0.63s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Include the task 'el_repo_setup.yml' ------------------------------------ 0.08s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Include the task 'run_test.yml' ----------------------------------------- 0.07s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Gathering Facts --------------------------------------------------------- 0.06s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Include the task 'run_test.yml' ----------------------------------------- 0.05s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Show playbook name ------------------------------------------------------ 0.05s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Gather the minimum subset of ansible_facts required by the network role test --- 0.05s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Include the task 'enable_epel.yml' -------------------------------------- 0.04s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Set network provider to 'initscripts' ----------------------------------- 0.04s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Set flag to indicate system is ostree ----------------------------------- 0.02s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Enable EPEL 6 ----------------------------------------------------------- 0.02s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Create EPEL 9 ----------------------------------------------------------- 0.01s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Fix CentOS6 Base repo --------------------------------------------------- 0.01s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Enable EPEL 7 ----------------------------------------------------------- 0.01s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Enable EPEL 8 ----------------------------------------------------------- 0.01s /tmp/collections-T02/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37