ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-vON executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ntp_provider6.yml ********************************************** 1 plays in /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml PLAY [Configure NTP with OS release non-default provider and then change it to the default provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:2 Saturday 07 December 2024 22:53:07 -0500 (0:00:00.009) 0:00:00.009 ***** ok: [managed-node3] TASK [Common test setup tasks] ************************************************* task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:12 Saturday 07 December 2024 22:53:08 -0500 (0:00:01.034) 0:00:01.044 ***** included: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml for managed-node3 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Saturday 07 December 2024 22:53:08 -0500 (0:00:00.018) 0:00:01.062 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Saturday 07 December 2024 22:53:09 -0500 (0:00:00.442) 0:00:01.505 ***** ok: [managed-node3] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Saturday 07 December 2024 22:53:09 -0500 (0:00:00.021) 0:00:01.526 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Ensure ansible_facts used by test] *************************************** task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Saturday 07 December 2024 22:53:12 -0500 (0:00:02.954) 0:00:04.481 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [Debug] ******************************************************************* task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Saturday 07 December 2024 22:53:12 -0500 (0:00:00.034) 0:00:04.516 ***** ok: [managed-node3] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.41.126" ], "all_ipv6_addresses": [ "fe80::c2b:2cff:fe92:c69b" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_vendor": "Xen", "bios_version": "4.11.amazon", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "Xen", "chassis_version": "NA", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2" }, "date_time": { "date": "2024-12-07", "day": "07", "epoch": "1733629988", "epoch_int": "1733629988", "hour": "22", "iso8601": "2024-12-08T03:53:08Z", "iso8601_basic": "20241207T225308666664", "iso8601_basic_short": "20241207T225308", "iso8601_micro": "2024-12-08T03:53:08.666664Z", "minute": "53", "month": "12", "second": "08", "time": "22:53:08", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500", "weekday": "Saturday", "weekday_number": "6", "weeknumber": "49", "year": "2024" }, "default_ipv4": { "address": "10.31.41.126", "alias": "eth0", "broadcast": "10.31.43.255", "gateway": "10.31.40.1", "interface": "eth0", "macaddress": "0e:2b:2c:92:c6:9b", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda1": [ "fe591198-9082-4b15-9b62-e83518524cd2" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "fe591198-9082-4b15-9b62-e83518524cd2" ] }, "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "start": "2048", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } }, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "support_discard": "0", "vendor": null, "virtual": 1 } }, "discovered_interpreter_python": "/usr/libexec/platform-python", "distribution": "CentOS", "distribution_file_parsed": true, "distribution_file_path": "/etc/centos-release", "distribution_file_variety": "CentOS", "distribution_major_version": "8", "distribution_release": "Stream", "distribution_version": "8", "dns": { "nameservers": [ "10.29.169.13", "10.29.170.12", "10.2.32.1" ], "search": [ "us-east-1.aws.redhat.com" ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "2", "SSH_CLIENT": "10.31.43.6 44556 22", "SSH_CONNECTION": "10.31.43.6 44556 10.31.41.126 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "6", "_": "/usr/libexec/platform-python", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "on", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "10.31.41.126", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::c2b:2cff:fe92:c69b", "prefix": "64", "scope": "link" } ], "macaddress": "0e:2b:2c:92:c6:9b", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "managed-node3", "gather_subset": [ "all" ], "hostname": "managed-node3", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "4.18.0-553.5.1.el8.x86_64", "kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "lo": { "active": true, "device": "lo", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [fixed]", "netns_local": "on [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "tx_checksumming": "on", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "on", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "on [fixed]", "tx_nocache_copy": "off [fixed]", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_sctp_segmentation": "on", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "on [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "prefix": "8" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "timestamping": [], "type": "loopback" }, "loadavg": { "15m": 0.14, "1m": 1.28, "5m": 0.41 }, "locally_reachable_ips": { "ipv4": [ "10.31.41.126", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::c2b:2cff:fe92:c69b" ] }, "lsb": {}, "lvm": "N/A", "machine": "x86_64", "machine_id": "30a5ce35ba7a487c8ea17a4f51bf6a94", "memfree_mb": 2738, "memory_mb": { "nocache": { "free": 3308, "used": 231 }, "real": { "free": 2738, "total": 3539, "used": 801 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3539, "module_setup": true, "mounts": [ { "block_available": 64347490, "block_size": 4096, "block_total": 65533179, "block_used": 1185689, "device": "/dev/xvda1", "fstype": "xfs", "inode_available": 130996264, "inode_total": 131071472, "inode_used": 75208, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 263567319040, "size_total": 268423901184, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } ], "nodename": "managed-node3", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz" ], "processor_cores": 1, "processor_count": 1, "processor_nproc": 2, "processor_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec28ec5e-8488-1256-e34a-2c0fb9bad344", "product_uuid": "ec28ec5e-8488-1256-e34a-2c0fb9bad344", "product_version": "4.11.amazon", "python": { "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 8, "minor": 6, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 6, 8, "final", 0 ] }, "python_version": "3.6.8", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAONO5FHAWzOEjwRVm02BUhQX9mWqk7fdeFaNMBGzrvKaD+pMe8x46RvEQoJz6DBg4wno9oboyo91HjxzyBJ2egvxEqRRC6WEt96rOzwzUpTRfXgUEbutz6EtplsZ5zlU61kYQIcvcABeeFE3QXr0cS+ULEBJWEeH35UkMGo+OfPzAAAAFQDqs0dae5SYwnoch8B3plSZMHQwfQAAAIApDygtjZ8nIhRaj3Gxg0YJW2o5DZngtRWredH99NikvXCID8KJDWSxiAs8G6/Vau5rgQGCJY67/GpNNUZ5Z4BTGqlC+QSQefhDyVPx6IO5Lgp/Q6cM+q5j+RSDM0gW32qRTKLkHvIJGv9BZVBEDBNCVVhk+mRhhcCtZOgFIYrlpAAAAIEA3JVdXs8nnBqMSv+F7q4Vtv+lwumctUmQOCcueuxdyVu114HDirO6tek1g+PwLpbAIgRA9uz6FCQsnevLWn0ZgHdQFfx31xM/MKBj7dn04B6vMxAmXZhRj2vPsXdX8lKH+M8AGmNfsQMoRaMijOoAIiLkDkJMGNfsWnmGSJBnt5Y=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOaLCVKicxUlH/mtOF6cFmfY0U49exHunpRscNiAN6t6hNXmYOu9paLSXMwQB10X2gnRp9EqNZMCYCxKWIpK4o8=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIEa3ZQ60IZhmvHP1JRo05Om8cjKM8nA1xnxuiUeP+r8v", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCmIb5gptMR9ssyNU6VCusZsyRa+ke67RXYEHGywTxBtQWIf0SyqGHBm+m6q4Tfj9MYCmlMA7uB/s23/mKI5xQ/jOFY+Obwj48h1CzUZLBZKYbnSF1oLwYRZn8PS7L+JK69Op3mZHfHZBs1TafiOTz/3PMWjEKhLHwrrankwWX2F0NYijgOUs9tLfYf2ooCD2MQz2dZ+5q1H6xt07YjKzM3ts4UIGAOO/c/0zw9ylrd+gUz9v/4L4Wley8GjJoMaKVTM06Wveh9HYcKG3L/MRU27PJb2qTAKjZy6+jikhDtH4sfmQojVhsaCSI3a9ZgvPChfu73HJIKIMAJEIBQ35i5BZWiUC50d3i04KhAMlRXKvasR3m2t+9R6UWnSnhtVB8CfLG6PxyUCkAz8VwyVfGVFynbMj4eUduj5qU66C0tvsznKSkb3x3R6f2S5cCAYQL1aBdgZZwEBisbB5/CvDMapOmoX2o4LrusScTuJLrnHONywPRtixg+ZjFN76ez270=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 1914, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "xen" ], "virtualization_tech_host": [], "virtualization_type": "xen" } TASK [Skip test on ostree systems if unsupported] ****************************** task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Saturday 07 December 2024 22:53:12 -0500 (0:00:00.034) 0:00:04.551 ***** META: end_host conditional evaluated to False, continuing execution for managed-node3 skipping: [managed-node3] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node3" } MSG: end_host conditional evaluated to false, continuing execution for managed-node3 TASK [Check for availability of both NTP providers] **************************** task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:21 Saturday 07 December 2024 22:53:12 -0500 (0:00:00.024) 0:00:04.575 ***** changed: [managed-node3] => (item=chrony) => { "ansible_loop_var": "item", "changed": true, "item": "chrony", "rc": 0, "results": [ "Installed: chrony-4.5-1.el8.x86_64" ] } failed: [managed-node3] (item=ntp) => { "ansible_loop_var": "item", "changed": false, "failures": [ "No package ntp available." ], "item": "ntp", "rc": 1, "results": [] } MSG: Failed to install some of the specified packages ...ignoring TASK [Set the availability of both NTP providers] ****************************** task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:34 Saturday 07 December 2024 22:53:19 -0500 (0:00:06.912) 0:00:11.487 ***** skipping: [managed-node3] => (item={'msg': '', 'changed': True, 'results': ['Installed: chrony-4.5-1.el8.x86_64'], 'rc': 0, 'invocation': {'module_args': {'name': ['chrony'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'sslverify': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'use_backend': 'auto', 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, 'failed': False, 'item': 'chrony', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.failed", "item": { "ansible_loop_var": "item", "changed": true, "failed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "chrony" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "item": "chrony", "msg": "", "rc": 0, "results": [ "Installed: chrony-4.5-1.el8.x86_64" ] }, "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item={'failures': ['No package ntp available.'], 'results': [], 'rc': 1, 'failed': True, 'msg': 'Failed to install some of the specified packages', 'invocation': {'module_args': {'name': ['ntp'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'sslverify': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'use_backend': 'auto', 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, 'changed': False, 'item': 'ntp', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "both_avail": false }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": true, "failures": [ "No package ntp available." ], "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "ntp" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "item": "ntp", "msg": "Failed to install some of the specified packages", "rc": 1, "results": [] } } TASK [End test if not both available] ****************************************** task path: /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:41 Saturday 07 December 2024 22:53:19 -0500 (0:00:00.071) 0:00:11.558 ***** META: ending play PLAY RECAP ********************************************************************* managed-node3 : ok=8 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 TASKS RECAP ******************************************************************** Saturday 07 December 2024 22:53:19 -0500 (0:00:00.008) 0:00:11.567 ***** =============================================================================== Check for availability of both NTP providers ---------------------------- 6.91s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:21 Ensure iproute for gathering default_ipv4 fact -------------------------- 2.95s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Gathering Facts --------------------------------------------------------- 1.03s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:2 Check if system is ostree ----------------------------------------------- 0.44s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Set the availability of both NTP providers ------------------------------ 0.07s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:34 Ensure ansible_facts used by test --------------------------------------- 0.03s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Debug ------------------------------------------------------------------- 0.03s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Skip test on ostree systems if unsupported ------------------------------ 0.02s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Set flag to indicate system is ostree ----------------------------------- 0.02s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Common test setup tasks ------------------------------------------------- 0.02s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:12 End test if not both available ------------------------------------------ 0.01s /tmp/collections-vON/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:41