ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_switch_provider.yml ******************************************** 2 plays in /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 included: /tmp/collections-aEW/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-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 ok: [managed-node1] => {"changed": false, "stat": {"exists": false}} TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 ok: [managed-node1] => {"ansible_facts": {"__network_is_ostree": false}, "changed": false} TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 skipping: [managed-node1] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 included: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 ok: [managed-node1] => {"attempts": 1, "changed": false, "cmd": ["rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm"], "rc": 0, "stdout": "skipped, since /etc/yum.repos.d/epel.repo exists", "stdout_lines": ["skipped, since /etc/yum.repos.d/epel.repo exists"]} TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 ok: [managed-node1] => {"changed": false, "msg": "", "rc": 0, "results": ["yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed"]} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 ok: [managed-node1] => {"changed": false, "cmd": ["yum-config-manager", "--enable", "epel"], "delta": "0:00:00.159488", "end": "2024-09-24 14:48:20.729115", "rc": 0, "start": "2024-09-24 14:48:20.569627", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror\n================================== repo: epel ==================================\n[epel]\nasync = True\nbandwidth = 0\nbase_persistdir = /var/lib/yum/repos/x86_64/7\nbaseurl = \ncache = 0\ncachedir = /var/cache/yum/x86_64/7/epel\ncheck_config_file_age = True\ncompare_providers_priority = 80\ncost = 1000\ndeltarpm_metadata_percentage = 100\ndeltarpm_percentage = \nenabled = True\nenablegroups = True\nexclude = \nfailovermethod = priority\nftp_disable_epsv = False\ngpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir\ngpgcakey = \ngpgcheck = True\ngpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir\ngpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7\nhdrdir = /var/cache/yum/x86_64/7/epel/headers\nhttp_caching = all\nincludepkgs = \nip_resolve = \nkeepalive = True\nkeepcache = False\nmddownloadpolicy = sqlite\nmdpolicy = group:small\nmediaid = \nmetadata_expire = 21600\nmetadata_expire_filter = read-only:present\nmetalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos\nminrate = 0\nmirrorlist = \nmirrorlist_expire = 86400\nname = Extra Packages for Enterprise Linux 7 - x86_64\nold_base_cache_dir = \npassword = \npersistdir = /var/lib/yum/repos/x86_64/7/epel\npkgdir = /var/cache/yum/x86_64/7/epel/packages\nproxy = False\nproxy_dict = \nproxy_password = \nproxy_username = \nrepo_gpgcheck = False\nretries = 10\nskip_if_unavailable = False\nssl_check_cert_permissions = True\nsslcacert = \nsslclientcert = \nsslclientkey = \nsslverify = True\nthrottle = 0\ntimeout = 30.0\nui_id = epel/x86_64\nui_repoid_vars = releasever,\n basearch\nusername = ", "stdout_lines": ["Loaded plugins: fastestmirror", "================================== repo: epel ==================================", "[epel]", "async = True", "bandwidth = 0", "base_persistdir = /var/lib/yum/repos/x86_64/7", "baseurl = ", "cache = 0", "cachedir = /var/cache/yum/x86_64/7/epel", "check_config_file_age = True", "compare_providers_priority = 80", "cost = 1000", "deltarpm_metadata_percentage = 100", "deltarpm_percentage = ", "enabled = True", "enablegroups = True", "exclude = ", "failovermethod = priority", "ftp_disable_epsv = False", "gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir", "gpgcakey = ", "gpgcheck = True", "gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir", "gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7", "hdrdir = /var/cache/yum/x86_64/7/epel/headers", "http_caching = all", "includepkgs = ", "ip_resolve = ", "keepalive = True", "keepcache = False", "mddownloadpolicy = sqlite", "mdpolicy = group:small", "mediaid = ", "metadata_expire = 21600", "metadata_expire_filter = read-only:present", "metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos", "minrate = 0", "mirrorlist = ", "mirrorlist_expire = 86400", "name = Extra Packages for Enterprise Linux 7 - x86_64", "old_base_cache_dir = ", "password = ", "persistdir = /var/lib/yum/repos/x86_64/7/epel", "pkgdir = /var/cache/yum/x86_64/7/epel/packages", "proxy = False", "proxy_dict = ", "proxy_password = ", "proxy_username = ", "repo_gpgcheck = False", "retries = 10", "skip_if_unavailable = False", "ssl_check_cert_permissions = True", "sslcacert = ", "sslclientcert = ", "sslclientkey = ", "sslverify = True", "throttle = 0", "timeout = 30.0", "ui_id = epel/x86_64", "ui_repoid_vars = releasever,", " basearch", "username = "]} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 skipping: [managed-node1] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 skipping: [managed-node1] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 ok: [managed-node1] META: ran handlers TASK [Set fact to use initscripts network_provider] **************************** task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:8 ok: [managed-node1] => {"ansible_facts": {"interface": "LST-TST-br34", "network_provider": "initscripts"}, "changed": false} TASK [Through the initscripts provider, create test bridge LST-TST-br34] ******* task path: /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:14 ERROR! the role 'fedora.linux_system_roles.network' was not found in /tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks The error appears to be in '/tmp/collections-aEW/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml': line 16, column 15, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: include_role: name: fedora.linux_system_roles.network ^ here PLAY RECAP ********************************************************************* managed-node1 : ok=11 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0