[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. No config file found; using defaults running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:32:53 -0400 (0:00:00.010) 0:00:00.010 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Thursday 25 July 2024 07:32:54 -0400 (0:00:01.145) 0:00:01.155 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/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] *** Thursday 25 July 2024 07:32:54 -0400 (0:00:00.021) 0:00:01.176 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Thursday 25 July 2024 07:32:55 -0400 (0:00:00.515) 0:00:01.692 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Thursday 25 July 2024 07:32:55 -0400 (0:00:00.451) 0:00:02.144 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Thursday 25 July 2024 07:32:55 -0400 (0:00:00.024) 0:00:02.168 ********* 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'] ************************************** Thursday 25 July 2024 07:32:55 -0400 (0:00:00.015) 0:00:02.184 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Thursday 25 July 2024 07:32:55 -0400 (0:00:00.041) 0:00:02.225 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** Thursday 25 July 2024 07:32:56 -0400 (0:00:00.460) 0:00:02.686 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Thursday 25 July 2024 07:32:56 -0400 (0:00:00.015) 0:00:02.702 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Thursday 25 July 2024 07:32:56 -0400 (0:00:00.016) 0:00:02.718 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.237402", "end": "2024-07-25 07:32:56.654830", "rc": 0, "start": "2024-07-25 07:32:56.417428" } TASK [Enable EPEL 6] *********************************************************** Thursday 25 July 2024 07:32:56 -0400 (0:00:00.591) 0:00:03.309 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Thursday 25 July 2024 07:32:56 -0400 (0:00:00.015) 0:00:03.325 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:32:56 -0400 (0:00:00.029) 0:00:03.354 ********* ok: [managed_node1] TASK [Show playbook name] ****************************************************** Thursday 25 July 2024 07:32:57 -0400 (0:00:00.795) 0:00:04.150 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:32:57 -0400 (0:00:00.033) 0:00:04.184 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** Thursday 25 July 2024 07:32:57 -0400 (0:00:00.043) 0:00:04.227 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:32:57 -0400 (0:00:00.033) 0:00:04.261 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:32:57 -0400 (0:00:00.083) 0:00:04.344 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:32:57 -0400 (0:00:00.041) 0:00:04.386 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:32:57 -0400 (0:00:00.036) 0:00:04.423 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003140", "end": "2024-07-25 07:32:58.133143", "rc": 0, "start": "2024-07-25 07:32:58.130003" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:32:58 -0400 (0:00:00.363) 0:00:04.787 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:32:58 -0400 (0:00:00.034) 0:00:04.821 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:32:58 -0400 (0:00:00.034) 0:00:04.856 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** Thursday 25 July 2024 07:32:58 -0400 (0:00:00.048) 0:00:04.905 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009570", "end": "2024-07-25 07:32:58.619335", "rc": 1, "start": "2024-07-25 07:32:58.609765" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:32:58 -0400 (0:00:00.366) 0:00:05.271 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:32:58 -0400 (0:00:00.037) 0:00:05.309 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Thursday 25 July 2024 07:32:59 -0400 (0:00:00.361) 0:00:05.670 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.035) 0:00:05.705 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.045) 0:00:05.751 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.064) 0:00:05.816 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.053) 0:00:05.869 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.035) 0:00:05.905 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.034) 0:00:05.940 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.034) 0:00:05.975 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:33:01 -0400 (0:00:01.759) 0:00:07.735 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:33:02 -0400 (0:00:01.768) 0:00:09.503 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.052) 0:00:09.556 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.048) 0:00:09.604 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.049) 0:00:09.654 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.049) 0:00:09.704 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.061) 0:00:09.766 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.049) 0:00:09.815 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.061) 0:00:09.876 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.148) 0:00:10.025 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.050) 0:00:10.076 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.049) 0:00:10.126 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.064) 0:00:10.190 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.050) 0:00:10.241 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.048) 0:00:10.289 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:33:04 -0400 (0:00:00.832) 0:00:11.121 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmplm7q7nex" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:33:04 -0400 (0:00:00.401) 0:00:11.523 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.670) 0:00:12.194 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.049) 0:00:12.244 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.053) 0:00:12.297 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.054) 0:00:12.352 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.049) 0:00:12.401 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:33:06 -0400 (0:00:00.493) 0:00:12.895 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:33:06 -0400 (0:00:00.051) 0:00:12.946 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:33:06 -0400 (0:00:00.107) 0:00:13.053 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 07:33:06 -0400 (0:00:00.075) 0:00:13.129 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 07:33:06 -0400 (0:00:00.049) 0:00:13.179 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721907185.5217862, "block_size": 4096, "blocks": 8, "ctime": 1721907185.5217862, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301067, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721907185.5217862, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:33:06 -0400 (0:00:00.376) 0:00:13.556 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:33:07 -0400 (0:00:00.051) 0:00:13.608 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019198", "end": "2024-07-25 07:33:07.342929", "rc": 1, "start": "2024-07-25 07:33:07.323731" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:33:07 -0400 (0:00:00.407) 0:00:14.015 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:33:07 -0400 (0:00:00.048) 0:00:14.064 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003155", "end": "2024-07-25 07:33:07.780288", "rc": 0, "start": "2024-07-25 07:33:07.777133" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:33:07 -0400 (0:00:00.390) 0:00:14.455 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:33:07 -0400 (0:00:00.054) 0:00:14.509 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002973", "end": "2024-07-25 07:33:08.225171", "rc": 0, "start": "2024-07-25 07:33:08.222198" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:33:08 -0400 (0:00:00.392) 0:00:14.901 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.054) 0:00:14.955 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Thursday 25 July 2024 07:33:08 -0400 (0:00:00.051) 0:00:15.007 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.050) 0:00:15.058 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.050) 0:00:15.108 ********* skipping: [managed_node1] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.080) 0:00:15.189 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.049) 0:00:15.239 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.080) 0:00:15.319 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039665", "end": "2024-07-25 07:33:09.075199", "rc": 1, "start": "2024-07-25 07:33:09.035534" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:33:09 -0400 (0:00:00.427) 0:00:15.746 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ Thursday 25 July 2024 07:33:09 -0400 (0:00:00.079) 0:00:15.826 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:33:09 -0400 (0:00:00.053) 0:00:15.879 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:33:09 -0400 (0:00:00.105) 0:00:15.984 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:33:09 -0400 (0:00:00.074) 0:00:16.059 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:33:09 -0400 (0:00:00.072) 0:00:16.131 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003138", "end": "2024-07-25 07:33:09.847051", "rc": 0, "start": "2024-07-25 07:33:09.843913" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:33:09 -0400 (0:00:00.388) 0:00:16.520 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:33:09 -0400 (0:00:00.053) 0:00:16.574 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:33:10 -0400 (0:00:00.052) 0:00:16.627 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** Thursday 25 July 2024 07:33:10 -0400 (0:00:00.119) 0:00:16.746 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005651", "end": "2024-07-25 07:33:10.466465", "rc": 1, "start": "2024-07-25 07:33:10.460814" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:33:10 -0400 (0:00:00.392) 0:00:17.139 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:33:10 -0400 (0:00:00.072) 0:00:17.211 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Thursday 25 July 2024 07:33:10 -0400 (0:00:00.393) 0:00:17.605 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Thursday 25 July 2024 07:33:11 -0400 (0:00:00.053) 0:00:17.658 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:33:11 -0400 (0:00:00.082) 0:00:17.741 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:33:11 -0400 (0:00:00.095) 0:00:17.836 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:33:11 -0400 (0:00:00.088) 0:00:17.924 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:33:11 -0400 (0:00:00.058) 0:00:17.982 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:33:11 -0400 (0:00:00.054) 0:00:18.037 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:33:11 -0400 (0:00:00.054) 0:00:18.092 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:33:13 -0400 (0:00:01.706) 0:00:19.799 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:33:14 -0400 (0:00:01.484) 0:00:21.283 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:33:14 -0400 (0:00:00.053) 0:00:21.337 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:33:14 -0400 (0:00:00.049) 0:00:21.386 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:33:14 -0400 (0:00:00.050) 0:00:21.437 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:14 -0400 (0:00:00.050) 0:00:21.488 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:14 -0400 (0:00:00.061) 0:00:21.549 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:14 -0400 (0:00:00.050) 0:00:21.600 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.062) 0:00:21.663 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.093) 0:00:21.756 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.050) 0:00:21.806 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.050) 0:00:21.856 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.060) 0:00:21.916 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.048) 0:00:21.965 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.047) 0:00:22.013 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.631) 0:00:22.644 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmpi20ym4u8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.388) 0:00:23.033 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.491) 0:00:23.524 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.047) 0:00:23.572 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:33:17 -0400 (0:00:00.053) 0:00:23.625 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:33:17 -0400 (0:00:00.053) 0:00:23.679 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:33:17 -0400 (0:00:00.046) 0:00:23.726 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:33:17 -0400 (0:00:00.395) 0:00:24.121 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:33:17 -0400 (0:00:00.051) 0:00:24.172 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:33:17 -0400 (0:00:00.090) 0:00:24.263 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:33:17 -0400 (0:00:00.073) 0:00:24.336 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Thursday 25 July 2024 07:33:18 -0400 (0:00:00.382) 0:00:24.719 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:33:18 -0400 (0:00:00.053) 0:00:24.772 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 07:33:18 -0400 (0:00:00.116) 0:00:24.889 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 07:33:18 -0400 (0:00:00.052) 0:00:24.941 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721907196.853877, "block_size": 4096, "blocks": 8, "ctime": 1721907196.853877, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301240, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721907196.853877, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:33:18 -0400 (0:00:00.388) 0:00:25.330 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:33:18 -0400 (0:00:00.054) 0:00:25.385 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018860", "end": "2024-07-25 07:33:19.116031", "rc": 1, "start": "2024-07-25 07:33:19.097171" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:33:19 -0400 (0:00:00.400) 0:00:25.786 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:33:19 -0400 (0:00:00.053) 0:00:25.839 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002936", "end": "2024-07-25 07:33:19.551366", "rc": 0, "start": "2024-07-25 07:33:19.548430" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:33:19 -0400 (0:00:00.387) 0:00:26.227 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:33:19 -0400 (0:00:00.059) 0:00:26.286 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003090", "end": "2024-07-25 07:33:20.007048", "rc": 0, "start": "2024-07-25 07:33:20.003958" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:33:20 -0400 (0:00:00.397) 0:00:26.684 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.060) 0:00:26.745 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Thursday 25 July 2024 07:33:20 -0400 (0:00:00.057) 0:00:26.802 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.058) 0:00:26.861 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.056) 0:00:26.917 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ Thursday 25 July 2024 07:33:20 -0400 (0:00:00.047) 0:00:26.965 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.055) 0:00:27.020 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.135) 0:00:27.155 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035202", "end": "2024-07-25 07:33:20.904752", "rc": 1, "start": "2024-07-25 07:33:20.869550" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.423) 0:00:27.578 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.081) 0:00:27.660 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.055) 0:00:27.715 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.107) 0:00:27.823 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.076) 0:00:27.899 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:33:21 -0400 (0:00:00.074) 0:00:27.974 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.006280", "end": "2024-07-25 07:33:21.688240", "rc": 0, "start": "2024-07-25 07:33:21.681960" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.386) 0:00:28.360 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:33:21 -0400 (0:00:00.055) 0:00:28.416 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:33:21 -0400 (0:00:00.054) 0:00:28.470 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.081) 0:00:28.552 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.141) 0:00:28.693 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.092) 0:00:28.785 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.060) 0:00:28.845 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.057) 0:00:28.903 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.057) 0:00:28.960 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:33:24 -0400 (0:00:01.723) 0:00:30.683 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:33:25 -0400 (0:00:01.490) 0:00:32.173 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:33:25 -0400 (0:00:00.055) 0:00:32.228 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:33:25 -0400 (0:00:00.055) 0:00:32.284 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:33:25 -0400 (0:00:00.052) 0:00:32.336 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:25 -0400 (0:00:00.051) 0:00:32.388 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:25 -0400 (0:00:00.069) 0:00:32.457 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:25 -0400 (0:00:00.100) 0:00:32.558 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.065) 0:00:32.623 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.103) 0:00:32.726 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.053) 0:00:32.780 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.051) 0:00:32.832 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.068) 0:00:32.901 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.054) 0:00:32.955 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.051) 0:00:33.007 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.578) 0:00:33.585 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmppdtm9mgk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:33:27 -0400 (0:00:00.396) 0:00:33.981 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:33:27 -0400 (0:00:00.502) 0:00:34.484 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:33:27 -0400 (0:00:00.055) 0:00:34.540 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:33:27 -0400 (0:00:00.056) 0:00:34.597 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:33:28 -0400 (0:00:00.056) 0:00:34.653 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:33:28 -0400 (0:00:00.055) 0:00:34.708 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:33:28 -0400 (0:00:00.398) 0:00:35.106 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** Thursday 25 July 2024 07:33:28 -0400 (0:00:00.107) 0:00:35.214 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:33:28 -0400 (0:00:00.083) 0:00:35.298 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:33:28 -0400 (0:00:00.098) 0:00:35.396 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:33:28 -0400 (0:00:00.092) 0:00:35.489 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:33:28 -0400 (0:00:00.063) 0:00:35.552 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:33:29 -0400 (0:00:00.057) 0:00:35.609 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:33:29 -0400 (0:00:00.056) 0:00:35.665 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:33:30 -0400 (0:00:01.692) 0:00:37.358 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:33:32 -0400 (0:00:01.501) 0:00:38.860 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.055) 0:00:38.916 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.096) 0:00:39.012 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.054) 0:00:39.066 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.052) 0:00:39.119 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.067) 0:00:39.187 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.053) 0:00:39.241 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.063) 0:00:39.305 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.100) 0:00:39.405 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.052) 0:00:39.457 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.052) 0:00:39.509 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.065) 0:00:39.575 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:33:33 -0400 (0:00:00.053) 0:00:39.628 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:33:33 -0400 (0:00:00.051) 0:00:39.680 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:33:33 -0400 (0:00:00.587) 0:00:40.267 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmpdqpedfff" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:33:34 -0400 (0:00:00.398) 0:00:40.666 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:33:34 -0400 (0:00:00.745) 0:00:41.412 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:33:34 -0400 (0:00:00.051) 0:00:41.463 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:33:34 -0400 (0:00:00.098) 0:00:41.561 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:33:35 -0400 (0:00:00.056) 0:00:41.618 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:33:35 -0400 (0:00:00.053) 0:00:41.672 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:33:35 -0400 (0:00:00.409) 0:00:42.081 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:33:35 -0400 (0:00:00.096) 0:00:42.177 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:33:35 -0400 (0:00:00.076) 0:00:42.254 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721907214.6576207, "block_size": 4096, "blocks": 0, "ctime": 1721907214.6576207, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62472, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1721907214.6576207, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ Thursday 25 July 2024 07:33:36 -0400 (0:00:00.392) 0:00:42.647 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:33:36 -0400 (0:00:00.055) 0:00:42.703 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 07:33:36 -0400 (0:00:00.083) 0:00:42.787 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 07:33:36 -0400 (0:00:00.053) 0:00:42.840 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721907214.4980185, "block_size": 4096, "blocks": 8, "ctime": 1721907207.8089647, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301067, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721907207.8089647, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:33:36 -0400 (0:00:00.391) 0:00:43.232 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:33:36 -0400 (0:00:00.056) 0:00:43.288 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022125", "end": "2024-07-25 07:33:37.027934", "rc": 1, "start": "2024-07-25 07:33:37.005809" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:33:37 -0400 (0:00:00.411) 0:00:43.700 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:33:37 -0400 (0:00:00.092) 0:00:43.792 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003008", "end": "2024-07-25 07:33:37.514471", "rc": 0, "start": "2024-07-25 07:33:37.511463" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:33:37 -0400 (0:00:00.398) 0:00:44.191 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:33:37 -0400 (0:00:00.058) 0:00:44.250 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003040", "end": "2024-07-25 07:33:37.967473", "rc": 0, "start": "2024-07-25 07:33:37.964433" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:33:38 -0400 (0:00:00.394) 0:00:44.644 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.060) 0:00:44.704 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Thursday 25 July 2024 07:33:38 -0400 (0:00:00.057) 0:00:44.762 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.058) 0:00:44.820 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.056) 0:00:44.877 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.048) 0:00:44.925 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.055) 0:00:44.980 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.084) 0:00:45.065 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.048805", "end": "2024-07-25 07:33:38.828931", "rc": 0, "start": "2024-07-25 07:33:38.780126" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.436) 0:00:45.502 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.075) 0:00:45.577 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:33:39 -0400 (0:00:00.051) 0:00:45.628 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:33:39 -0400 (0:00:00.131) 0:00:45.760 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:33:39 -0400 (0:00:00.071) 0:00:45.831 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:33:39 -0400 (0:00:00.069) 0:00:45.901 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003205", "end": "2024-07-25 07:33:39.612520", "rc": 0, "start": "2024-07-25 07:33:39.609315" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:33:39 -0400 (0:00:00.385) 0:00:46.287 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:33:39 -0400 (0:00:00.051) 0:00:46.338 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:33:39 -0400 (0:00:00.050) 0:00:46.389 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:33:39 -0400 (0:00:00.080) 0:00:46.469 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:33:39 -0400 (0:00:00.089) 0:00:46.559 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:33:40 -0400 (0:00:00.084) 0:00:46.643 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:33:40 -0400 (0:00:00.056) 0:00:46.700 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:33:40 -0400 (0:00:00.052) 0:00:46.752 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:33:40 -0400 (0:00:00.085) 0:00:46.838 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:33:41 -0400 (0:00:01.693) 0:00:48.531 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:33:43 -0400 (0:00:01.494) 0:00:50.026 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:33:43 -0400 (0:00:00.055) 0:00:50.082 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:33:43 -0400 (0:00:00.056) 0:00:50.138 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:33:43 -0400 (0:00:00.054) 0:00:50.192 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:43 -0400 (0:00:00.052) 0:00:50.245 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:43 -0400 (0:00:00.070) 0:00:50.316 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:43 -0400 (0:00:00.054) 0:00:50.370 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:33:43 -0400 (0:00:00.063) 0:00:50.434 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:33:43 -0400 (0:00:00.102) 0:00:50.536 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:33:43 -0400 (0:00:00.053) 0:00:50.590 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:44 -0400 (0:00:00.053) 0:00:50.644 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:33:44 -0400 (0:00:00.069) 0:00:50.713 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:33:44 -0400 (0:00:00.102) 0:00:50.815 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:33:44 -0400 (0:00:00.053) 0:00:50.869 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:33:44 -0400 (0:00:00.595) 0:00:51.464 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmp75_wjdw8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:33:45 -0400 (0:00:00.400) 0:00:51.865 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:33:45 -0400 (0:00:00.497) 0:00:52.362 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:33:45 -0400 (0:00:00.055) 0:00:52.418 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:33:45 -0400 (0:00:00.056) 0:00:52.475 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:33:45 -0400 (0:00:00.057) 0:00:52.532 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:33:45 -0400 (0:00:00.055) 0:00:52.587 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:33:46 -0400 (0:00:00.406) 0:00:52.994 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** Thursday 25 July 2024 07:33:46 -0400 (0:00:00.059) 0:00:53.053 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:33:46 -0400 (0:00:00.099) 0:00:53.153 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:33:46 -0400 (0:00:00.090) 0:00:53.244 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:33:46 -0400 (0:00:00.112) 0:00:53.356 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:33:46 -0400 (0:00:00.057) 0:00:53.413 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:33:46 -0400 (0:00:00.061) 0:00:53.474 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:33:48 -0400 (0:00:01.715) 0:00:55.190 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:33:50 -0400 (0:00:01.502) 0:00:56.692 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.057) 0:00:56.749 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.053) 0:00:56.803 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.052) 0:00:56.855 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.053) 0:00:56.909 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.067) 0:00:56.976 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.052) 0:00:57.029 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.065) 0:00:57.094 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.099) 0:00:57.193 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.051) 0:00:57.245 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.100) 0:00:57.345 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.064) 0:00:57.410 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.052) 0:00:57.463 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:33:50 -0400 (0:00:00.053) 0:00:57.516 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:33:51 -0400 (0:00:00.590) 0:00:58.107 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmp1pk7upn6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:33:51 -0400 (0:00:00.399) 0:00:58.507 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:33:52 -0400 (0:00:00.737) 0:00:59.244 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:33:52 -0400 (0:00:00.053) 0:00:59.298 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:33:52 -0400 (0:00:00.056) 0:00:59.355 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:33:52 -0400 (0:00:00.058) 0:00:59.413 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:33:52 -0400 (0:00:00.052) 0:00:59.466 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Thursday 25 July 2024 07:33:53 -0400 (0:00:00.403) 0:00:59.870 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:33:53 -0400 (0:00:00.084) 0:00:59.954 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:33:53 -0400 (0:00:00.143) 0:01:00.097 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:33:53 -0400 (0:00:00.092) 0:01:00.190 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:33:53 -0400 (0:00:00.062) 0:01:00.252 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:33:53 -0400 (0:00:00.057) 0:01:00.310 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:33:53 -0400 (0:00:00.055) 0:01:00.365 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:33:55 -0400 (0:00:01.655) 0:01:02.021 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:33:56 -0400 (0:00:01.495) 0:01:03.517 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:33:56 -0400 (0:00:00.057) 0:01:03.574 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.053) 0:01:03.627 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.051) 0:01:03.678 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.054) 0:01:03.733 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.064) 0:01:03.798 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.050) 0:01:03.848 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.158) 0:01:04.007 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.097) 0:01:04.105 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.051) 0:01:04.156 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.053) 0:01:04.209 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.069) 0:01:04.279 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.052) 0:01:04.331 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:33:57 -0400 (0:00:00.052) 0:01:04.384 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:33:58 -0400 (0:00:00.583) 0:01:04.967 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmpgrarwieq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:33:58 -0400 (0:00:00.392) 0:01:05.360 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:33:59 -0400 (0:00:00.510) 0:01:05.870 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:33:59 -0400 (0:00:00.052) 0:01:05.923 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:33:59 -0400 (0:00:00.054) 0:01:05.978 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:33:59 -0400 (0:00:00.058) 0:01:06.037 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:33:59 -0400 (0:00:00.052) 0:01:06.089 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:33:59 -0400 (0:00:00.396) 0:01:06.486 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:34:00 -0400 (0:00:00.130) 0:01:06.616 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Thursday 25 July 2024 07:34:00 -0400 (0:00:00.076) 0:01:06.693 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721907232.4922202, "block_size": 4096, "blocks": 0, "ctime": 1721907232.4922202, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 62603, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1721907232.4922202, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ Thursday 25 July 2024 07:34:00 -0400 (0:00:00.383) 0:01:07.076 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:34:00 -0400 (0:00:00.060) 0:01:07.137 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 07:34:00 -0400 (0:00:00.085) 0:01:07.222 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 07:34:00 -0400 (0:00:00.055) 0:01:07.277 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:34:01 -0400 (0:00:00.390) 0:01:07.668 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:34:01 -0400 (0:00:00.053) 0:01:07.722 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019695", "end": "2024-07-25 07:34:01.458494", "rc": 1, "start": "2024-07-25 07:34:01.438799" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:34:01 -0400 (0:00:00.411) 0:01:08.133 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:34:01 -0400 (0:00:00.055) 0:01:08.188 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:34:01 -0400 (0:00:00.055) 0:01:08.244 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:34:01 -0400 (0:00:00.053) 0:01:08.297 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:34:01 -0400 (0:00:00.054) 0:01:08.352 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** Thursday 25 July 2024 07:34:01 -0400 (0:00:00.054) 0:01:08.407 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:34:01 -0400 (0:00:00.157) 0:01:08.564 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** Thursday 25 July 2024 07:34:02 -0400 (0:00:00.051) 0:01:08.616 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:34:02 -0400 (0:00:00.055) 0:01:08.672 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:34:02 -0400 (0:00:00.090) 0:01:08.762 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.048439", "end": "2024-07-25 07:34:02.529948", "rc": 0, "start": "2024-07-25 07:34:02.481509" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:34:02 -0400 (0:00:00.443) 0:01:09.206 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** Thursday 25 July 2024 07:34:02 -0400 (0:00:00.084) 0:01:09.290 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:34:02 -0400 (0:00:00.055) 0:01:09.346 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:34:02 -0400 (0:00:00.102) 0:01:09.449 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:34:02 -0400 (0:00:00.076) 0:01:09.525 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:34:02 -0400 (0:00:00.073) 0:01:09.599 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003138", "end": "2024-07-25 07:34:03.310459", "rc": 0, "start": "2024-07-25 07:34:03.307321" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:34:03 -0400 (0:00:00.387) 0:01:09.986 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:34:03 -0400 (0:00:00.054) 0:01:10.040 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:34:03 -0400 (0:00:00.096) 0:01:10.137 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:34:03 -0400 (0:00:00.093) 0:01:10.231 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:34:03 -0400 (0:00:00.097) 0:01:10.328 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:34:03 -0400 (0:00:00.089) 0:01:10.418 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:34:03 -0400 (0:00:00.060) 0:01:10.478 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:34:03 -0400 (0:00:00.055) 0:01:10.534 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:34:03 -0400 (0:00:00.055) 0:01:10.590 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:34:05 -0400 (0:00:01.670) 0:01:12.260 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:34:07 -0400 (0:00:01.492) 0:01:13.752 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.055) 0:01:13.808 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.100) 0:01:13.909 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.051) 0:01:13.961 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.052) 0:01:14.013 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.065) 0:01:14.079 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.051) 0:01:14.130 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.067) 0:01:14.198 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.098) 0:01:14.296 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.051) 0:01:14.347 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.052) 0:01:14.400 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.063) 0:01:14.464 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.052) 0:01:14.516 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:34:07 -0400 (0:00:00.051) 0:01:14.568 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:34:08 -0400 (0:00:00.588) 0:01:15.157 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmpv5pybg5g" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:34:08 -0400 (0:00:00.399) 0:01:15.557 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:34:09 -0400 (0:00:00.498) 0:01:16.056 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:34:09 -0400 (0:00:00.051) 0:01:16.108 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:34:09 -0400 (0:00:00.054) 0:01:16.162 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:34:09 -0400 (0:00:00.103) 0:01:16.266 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:34:09 -0400 (0:00:00.053) 0:01:16.319 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:34:10 -0400 (0:00:00.395) 0:01:16.715 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** Thursday 25 July 2024 07:34:10 -0400 (0:00:00.054) 0:01:16.769 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:34:10 -0400 (0:00:00.090) 0:01:16.859 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:34:10 -0400 (0:00:00.084) 0:01:16.944 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:34:10 -0400 (0:00:00.056) 0:01:17.000 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:34:10 -0400 (0:00:00.055) 0:01:17.055 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:34:10 -0400 (0:00:00.053) 0:01:17.109 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:34:12 -0400 (0:00:01.667) 0:01:18.776 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:34:13 -0400 (0:00:01.575) 0:01:20.352 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:34:13 -0400 (0:00:00.056) 0:01:20.408 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:34:13 -0400 (0:00:00.051) 0:01:20.460 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:34:13 -0400 (0:00:00.052) 0:01:20.513 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:13 -0400 (0:00:00.053) 0:01:20.566 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:14 -0400 (0:00:00.065) 0:01:20.631 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:14 -0400 (0:00:00.053) 0:01:20.684 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:34:14 -0400 (0:00:00.065) 0:01:20.749 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:34:14 -0400 (0:00:00.096) 0:01:20.846 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:34:14 -0400 (0:00:00.052) 0:01:20.899 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:14 -0400 (0:00:00.053) 0:01:20.952 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:34:14 -0400 (0:00:00.063) 0:01:21.016 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:34:14 -0400 (0:00:00.053) 0:01:21.069 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:34:14 -0400 (0:00:00.052) 0:01:21.121 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:34:15 -0400 (0:00:00.582) 0:01:21.704 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmppiih0yeg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:34:15 -0400 (0:00:00.391) 0:01:22.095 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:34:16 -0400 (0:00:00.772) 0:01:22.868 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:34:16 -0400 (0:00:00.168) 0:01:23.036 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:34:16 -0400 (0:00:00.058) 0:01:23.095 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:34:16 -0400 (0:00:00.058) 0:01:23.153 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:34:16 -0400 (0:00:00.056) 0:01:23.210 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Thursday 25 July 2024 07:34:17 -0400 (0:00:00.403) 0:01:23.613 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:34:17 -0400 (0:00:00.104) 0:01:23.718 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:34:17 -0400 (0:00:00.094) 0:01:23.813 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:34:17 -0400 (0:00:00.064) 0:01:23.878 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:34:17 -0400 (0:00:00.059) 0:01:23.938 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:34:17 -0400 (0:00:00.058) 0:01:23.997 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:34:19 -0400 (0:00:01.635) 0:01:25.632 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:34:20 -0400 (0:00:01.589) 0:01:27.221 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:34:20 -0400 (0:00:00.057) 0:01:27.278 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:34:20 -0400 (0:00:00.054) 0:01:27.333 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:34:20 -0400 (0:00:00.054) 0:01:27.387 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:20 -0400 (0:00:00.053) 0:01:27.441 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:20 -0400 (0:00:00.067) 0:01:27.509 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:20 -0400 (0:00:00.054) 0:01:27.563 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:34:21 -0400 (0:00:00.064) 0:01:27.628 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:34:21 -0400 (0:00:00.102) 0:01:27.731 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:34:21 -0400 (0:00:00.054) 0:01:27.785 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:21 -0400 (0:00:00.052) 0:01:27.838 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:34:21 -0400 (0:00:00.065) 0:01:27.904 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:34:21 -0400 (0:00:00.054) 0:01:27.958 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:34:21 -0400 (0:00:00.052) 0:01:28.010 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:34:21 -0400 (0:00:00.578) 0:01:28.589 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmp_mxc5sl7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:34:22 -0400 (0:00:00.430) 0:01:29.019 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:34:22 -0400 (0:00:00.495) 0:01:29.515 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:34:22 -0400 (0:00:00.050) 0:01:29.565 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:34:23 -0400 (0:00:00.053) 0:01:29.618 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:34:23 -0400 (0:00:00.053) 0:01:29.671 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:34:23 -0400 (0:00:00.050) 0:01:29.722 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Thursday 25 July 2024 07:34:23 -0400 (0:00:00.398) 0:01:30.120 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:34:23 -0400 (0:00:00.078) 0:01:30.199 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:34:23 -0400 (0:00:00.091) 0:01:30.290 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:34:23 -0400 (0:00:00.086) 0:01:30.377 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:34:23 -0400 (0:00:00.057) 0:01:30.434 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:34:23 -0400 (0:00:00.052) 0:01:30.486 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:34:23 -0400 (0:00:00.052) 0:01:30.539 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:34:25 -0400 (0:00:01.729) 0:01:32.269 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:34:27 -0400 (0:00:01.476) 0:01:33.745 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.051) 0:01:33.796 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.049) 0:01:33.846 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.049) 0:01:33.895 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.048) 0:01:33.944 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.063) 0:01:34.007 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.049) 0:01:34.057 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.058) 0:01:34.115 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.092) 0:01:34.208 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.049) 0:01:34.257 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.047) 0:01:34.305 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.062) 0:01:34.367 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.086) 0:01:34.454 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:34:27 -0400 (0:00:00.049) 0:01:34.504 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:34:28 -0400 (0:00:00.584) 0:01:35.089 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmpdm66xbl3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:34:28 -0400 (0:00:00.390) 0:01:35.480 ********* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:34:29 -0400 (0:00:00.497) 0:01:35.977 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:34:29 -0400 (0:00:00.052) 0:01:36.030 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:34:29 -0400 (0:00:00.057) 0:01:36.087 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:34:29 -0400 (0:00:00.056) 0:01:36.144 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:34:29 -0400 (0:00:00.053) 0:01:36.197 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:34:29 -0400 (0:00:00.406) 0:01:36.604 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:34:30 -0400 (0:00:00.081) 0:01:36.686 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 07:34:30 -0400 (0:00:00.077) 0:01:36.763 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 07:34:30 -0400 (0:00:00.051) 0:01:36.814 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:34:30 -0400 (0:00:00.376) 0:01:37.191 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:34:30 -0400 (0:00:00.089) 0:01:37.280 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018639", "end": "2024-07-25 07:34:31.004033", "rc": 1, "start": "2024-07-25 07:34:30.985394" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:34:31 -0400 (0:00:00.395) 0:01:37.676 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:34:31 -0400 (0:00:00.049) 0:01:37.726 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:34:31 -0400 (0:00:00.050) 0:01:37.777 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:34:31 -0400 (0:00:00.049) 0:01:37.827 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:34:31 -0400 (0:00:00.049) 0:01:37.876 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** Thursday 25 July 2024 07:34:31 -0400 (0:00:00.049) 0:01:37.926 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:34:31 -0400 (0:00:00.052) 0:01:37.979 ********* skipping: [managed_node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** Thursday 25 July 2024 07:34:31 -0400 (0:00:00.053) 0:01:38.032 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:34:31 -0400 (0:00:00.054) 0:01:38.087 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:34:31 -0400 (0:00:00.084) 0:01:38.172 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047443", "end": "2024-07-25 07:34:31.930052", "rc": 0, "start": "2024-07-25 07:34:31.882609" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** Thursday 25 July 2024 07:34:32 -0400 (0:00:00.434) 0:01:38.606 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** Thursday 25 July 2024 07:34:32 -0400 (0:00:00.081) 0:01:38.687 ********* ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** Thursday 25 July 2024 07:34:32 -0400 (0:00:00.055) 0:01:38.743 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:34:32 -0400 (0:00:00.153) 0:01:38.896 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:34:32 -0400 (0:00:00.076) 0:01:38.973 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:34:32 -0400 (0:00:00.074) 0:01:39.048 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003217", "end": "2024-07-25 07:34:32.767259", "rc": 0, "start": "2024-07-25 07:34:32.764042" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:34:32 -0400 (0:00:00.394) 0:01:39.443 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:34:32 -0400 (0:00:00.055) 0:01:39.498 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Thursday 25 July 2024 07:34:32 -0400 (0:00:00.054) 0:01:39.553 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:34:33 -0400 (0:00:00.094) 0:01:39.648 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:34:33 -0400 (0:00:00.092) 0:01:39.740 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:34:33 -0400 (0:00:00.084) 0:01:39.825 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:34:33 -0400 (0:00:00.057) 0:01:39.882 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:34:33 -0400 (0:00:00.054) 0:01:39.937 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:34:33 -0400 (0:00:00.087) 0:01:40.025 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:34:35 -0400 (0:00:01.659) 0:01:41.685 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:34:36 -0400 (0:00:01.485) 0:01:43.170 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:34:36 -0400 (0:00:00.053) 0:01:43.224 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:34:36 -0400 (0:00:00.048) 0:01:43.273 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:34:36 -0400 (0:00:00.050) 0:01:43.323 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:36 -0400 (0:00:00.050) 0:01:43.373 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:36 -0400 (0:00:00.061) 0:01:43.434 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:36 -0400 (0:00:00.050) 0:01:43.484 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:34:36 -0400 (0:00:00.060) 0:01:43.545 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:34:37 -0400 (0:00:00.092) 0:01:43.637 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:34:37 -0400 (0:00:00.049) 0:01:43.687 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:37 -0400 (0:00:00.049) 0:01:43.737 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:34:37 -0400 (0:00:00.058) 0:01:43.796 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:34:37 -0400 (0:00:00.089) 0:01:43.885 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:34:37 -0400 (0:00:00.050) 0:01:43.936 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:34:37 -0400 (0:00:00.576) 0:01:44.512 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmp3a9qx17q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:34:38 -0400 (0:00:00.395) 0:01:44.908 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:34:38 -0400 (0:00:00.493) 0:01:45.401 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:34:38 -0400 (0:00:00.048) 0:01:45.450 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:34:38 -0400 (0:00:00.053) 0:01:45.503 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:34:38 -0400 (0:00:00.053) 0:01:45.556 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:34:39 -0400 (0:00:00.048) 0:01:45.605 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Thursday 25 July 2024 07:34:39 -0400 (0:00:00.395) 0:01:46.000 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** Thursday 25 July 2024 07:34:39 -0400 (0:00:00.056) 0:01:46.057 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:34:39 -0400 (0:00:00.099) 0:01:46.156 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:34:39 -0400 (0:00:00.091) 0:01:46.248 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:34:39 -0400 (0:00:00.112) 0:01:46.361 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:34:39 -0400 (0:00:00.056) 0:01:46.417 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:34:39 -0400 (0:00:00.060) 0:01:46.478 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:34:41 -0400 (0:00:01.657) 0:01:48.136 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:34:43 -0400 (0:00:01.493) 0:01:49.630 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.057) 0:01:49.687 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.054) 0:01:49.741 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.052) 0:01:49.794 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.053) 0:01:49.848 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.066) 0:01:49.914 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.052) 0:01:49.967 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.068) 0:01:50.035 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.098) 0:01:50.134 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.051) 0:01:50.186 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.109) 0:01:50.296 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.065) 0:01:50.361 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.052) 0:01:50.414 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:34:43 -0400 (0:00:00.053) 0:01:50.467 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:34:44 -0400 (0:00:00.579) 0:01:51.047 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmp2tmkixxp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:34:44 -0400 (0:00:00.393) 0:01:51.441 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:34:45 -0400 (0:00:00.729) 0:01:52.170 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:34:45 -0400 (0:00:00.054) 0:01:52.225 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:34:45 -0400 (0:00:00.058) 0:01:52.283 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:34:45 -0400 (0:00:00.060) 0:01:52.344 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:34:45 -0400 (0:00:00.055) 0:01:52.399 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Thursday 25 July 2024 07:34:46 -0400 (0:00:00.404) 0:01:52.804 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:34:46 -0400 (0:00:00.102) 0:01:52.906 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:34:46 -0400 (0:00:00.146) 0:01:53.053 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:34:46 -0400 (0:00:00.064) 0:01:53.118 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:34:46 -0400 (0:00:00.058) 0:01:53.176 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:34:46 -0400 (0:00:00.059) 0:01:53.235 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:34:48 -0400 (0:00:01.649) 0:01:54.885 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:34:49 -0400 (0:00:01.487) 0:01:56.372 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:34:49 -0400 (0:00:00.057) 0:01:56.429 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:34:49 -0400 (0:00:00.053) 0:01:56.482 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:34:49 -0400 (0:00:00.052) 0:01:56.535 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:49 -0400 (0:00:00.053) 0:01:56.588 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:50 -0400 (0:00:00.066) 0:01:56.654 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:50 -0400 (0:00:00.051) 0:01:56.706 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:34:50 -0400 (0:00:00.064) 0:01:56.770 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:34:50 -0400 (0:00:00.098) 0:01:56.868 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:34:50 -0400 (0:00:00.158) 0:01:57.026 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:50 -0400 (0:00:00.052) 0:01:57.079 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:34:50 -0400 (0:00:00.063) 0:01:57.143 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:34:50 -0400 (0:00:00.055) 0:01:57.199 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:34:50 -0400 (0:00:00.053) 0:01:57.252 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:34:51 -0400 (0:00:00.582) 0:01:57.835 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmp1d8rlqqd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:34:51 -0400 (0:00:00.396) 0:01:58.231 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:34:52 -0400 (0:00:00.515) 0:01:58.747 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:34:52 -0400 (0:00:00.053) 0:01:58.800 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:34:52 -0400 (0:00:00.055) 0:01:58.856 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:34:52 -0400 (0:00:00.057) 0:01:58.913 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:34:52 -0400 (0:00:00.053) 0:01:58.967 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Thursday 25 July 2024 07:34:52 -0400 (0:00:00.394) 0:01:59.361 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** Thursday 25 July 2024 07:34:52 -0400 (0:00:00.083) 0:01:59.445 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:34:52 -0400 (0:00:00.147) 0:01:59.592 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:34:53 -0400 (0:00:00.090) 0:01:59.683 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:34:53 -0400 (0:00:00.062) 0:01:59.745 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:34:53 -0400 (0:00:00.056) 0:01:59.802 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:34:53 -0400 (0:00:00.060) 0:01:59.863 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:34:54 -0400 (0:00:01.660) 0:02:01.524 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:34:56 -0400 (0:00:01.490) 0:02:03.014 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:34:56 -0400 (0:00:00.051) 0:02:03.066 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:34:56 -0400 (0:00:00.048) 0:02:03.115 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:34:56 -0400 (0:00:00.047) 0:02:03.162 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:56 -0400 (0:00:00.048) 0:02:03.211 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:56 -0400 (0:00:00.100) 0:02:03.311 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:56 -0400 (0:00:00.049) 0:02:03.360 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:34:56 -0400 (0:00:00.063) 0:02:03.424 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:34:56 -0400 (0:00:00.093) 0:02:03.517 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:34:56 -0400 (0:00:00.049) 0:02:03.566 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:34:57 -0400 (0:00:00.050) 0:02:03.617 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:34:57 -0400 (0:00:00.061) 0:02:03.679 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:34:57 -0400 (0:00:00.049) 0:02:03.728 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:34:57 -0400 (0:00:00.050) 0:02:03.779 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:34:57 -0400 (0:00:00.581) 0:02:04.360 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-33804d8y7ysb6/tmpi3g78sbd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:34:58 -0400 (0:00:00.397) 0:02:04.757 ********* ok: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:34:58 -0400 (0:00:00.494) 0:02:05.252 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:34:58 -0400 (0:00:00.053) 0:02:05.305 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:34:58 -0400 (0:00:00.055) 0:02:05.361 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:34:58 -0400 (0:00:00.057) 0:02:05.419 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:34:58 -0400 (0:00:00.053) 0:02:05.472 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Thursday 25 July 2024 07:34:59 -0400 (0:00:00.463) 0:02:05.935 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:34:59 -0400 (0:00:00.095) 0:02:06.031 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 07:34:59 -0400 (0:00:00.084) 0:02:06.115 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 07:34:59 -0400 (0:00:00.054) 0:02:06.170 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:34:59 -0400 (0:00:00.388) 0:02:06.558 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:35:00 -0400 (0:00:00.053) 0:02:06.612 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021921", "end": "2024-07-25 07:35:00.343876", "rc": 1, "start": "2024-07-25 07:35:00.321955" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:35:00 -0400 (0:00:00.403) 0:02:07.016 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Thursday 25 July 2024 07:35:00 -0400 (0:00:00.058) 0:02:07.075 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Thursday 25 July 2024 07:35:00 -0400 (0:00:00.054) 0:02:07.129 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Thursday 25 July 2024 07:35:00 -0400 (0:00:00.053) 0:02:07.183 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Thursday 25 July 2024 07:35:00 -0400 (0:00:00.058) 0:02:07.241 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** Thursday 25 July 2024 07:35:00 -0400 (0:00:00.055) 0:02:07.297 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** Thursday 25 July 2024 07:35:00 -0400 (0:00:00.056) 0:02:07.353 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.888061", "end": "2024-07-25 07:35:01.955559", "rc": 0, "start": "2024-07-25 07:35:01.067498" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** Thursday 25 July 2024 07:35:02 -0400 (0:00:01.277) 0:02:08.631 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* Thursday 25 July 2024 07:35:02 -0400 (0:00:00.111) 0:02:08.743 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** Thursday 25 July 2024 07:35:02 -0400 (0:00:00.055) 0:02:08.798 ********* skipping: [managed_node1] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** Thursday 25 July 2024 07:35:02 -0400 (0:00:00.063) 0:02:08.861 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** Thursday 25 July 2024 07:35:02 -0400 (0:00:00.056) 0:02:08.918 ********* included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) included: /var/ARTIFACTS/work-generall2i0jng_/plans/general/tree/tmp.H9WEn4Rmyz/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** Thursday 25 July 2024 07:35:02 -0400 (0:00:00.096) 0:02:09.015 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045409", "end": "2024-07-25 07:35:02.775894", "rc": 0, "start": "2024-07-25 07:35:02.730485" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** Thursday 25 July 2024 07:35:02 -0400 (0:00:00.437) 0:02:09.452 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008393", "end": "2024-07-25 07:35:03.174435", "rc": 0, "start": "2024-07-25 07:35:03.166042" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:c3:14:ae:f5 brd ff:ff:ff:ff:ff:ff inet 10.31.15.36/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3144sec preferred_lft 3144sec inet6 fe80::8ff:c3ff:fe14:aef5/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 42:61:ca:01:1f:a0 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.36 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.36 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* Thursday 25 July 2024 07:35:03 -0400 (0:00:00.393) 0:02:09.846 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.458826", "end": "2024-07-25 07:35:04.024667", "rc": 0, "start": "2024-07-25 07:35:03.565841" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1331 0 --:--:-- --:--:-- --:--:-- 1331 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1419 0 --:--:-- --:--:-- --:--:-- 1419 PLAY RECAP ********************************************************************* managed_node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Thursday 25 July 2024 07:35:04 -0400 (0:00:00.913) 0:02:10.760 ********* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.77s fedora.linux_system_roles.network : Check which services are running ---- 1.76s fedora.linux_system_roles.network : Check which services are running ---- 1.73s fedora.linux_system_roles.network : Check which services are running ---- 1.72s fedora.linux_system_roles.network : Check which services are running ---- 1.72s fedora.linux_system_roles.network : Check which services are running ---- 1.71s fedora.linux_system_roles.network : Check which services are running ---- 1.69s fedora.linux_system_roles.network : Check which services are running ---- 1.69s fedora.linux_system_roles.network : Check which services are running ---- 1.67s fedora.linux_system_roles.network : Check which services are running ---- 1.67s fedora.linux_system_roles.network : Check which services are running ---- 1.66s fedora.linux_system_roles.network : Check which services are running ---- 1.66s fedora.linux_system_roles.network : Check which services are running ---- 1.66s fedora.linux_system_roles.network : Check which services are running ---- 1.66s fedora.linux_system_roles.network : Check which services are running ---- 1.65s fedora.linux_system_roles.network : Check which services are running ---- 1.64s fedora.linux_system_roles.network : Check which packages are installed --- 1.59s fedora.linux_system_roles.network : Check which packages are installed --- 1.58s fedora.linux_system_roles.network : Check which packages are installed --- 1.50s fedora.linux_system_roles.network : Check which packages are installed --- 1.50s