ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-VL8 executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/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-VL8/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-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:2 Sunday 06 October 2024 01:39:26 -0400 (0:00:00.020) 0:00:00.020 ******** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Common test setup tasks] ************************************************* task path: /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:12 Sunday 06 October 2024 01:39:27 -0400 (0:00:01.142) 0:00:01.162 ******** included: /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml for managed-node2 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Sunday 06 October 2024 01:39:27 -0400 (0:00:00.020) 0:00:01.183 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Sunday 06 October 2024 01:39:28 -0400 (0:00:00.425) 0:00:01.609 ******** ok: [managed-node2] => { "ansible_facts": { "__timesync_is_ostree": false }, "changed": false } TASK [Ensure iproute for gathering default_ipv4 fact] ************************** task path: /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Sunday 06 October 2024 01:39:28 -0400 (0:00:00.065) 0:00:01.674 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Ensure ansible_facts used by test] *************************************** task path: /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Sunday 06 October 2024 01:39:29 -0400 (0:00:00.998) 0:00:02.673 ******** skipping: [managed-node2] => { "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-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Sunday 06 October 2024 01:39:29 -0400 (0:00:00.034) 0:00:02.708 ******** ok: [managed-node2] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.9.53" ], "all_ipv6_addresses": [ "fe80::104b:93ff:fed3:523b" ], "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,gpt2)/boot/vmlinuz-6.11.0-25.el10.x86_64", "console": "ttyS0,115200n8", "crashkernel": "1G-4G:192M,4G-64G:256M,64G-:512M", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb" }, "date_time": { "date": "2024-10-06", "day": "06", "epoch": "1728193167", "epoch_int": "1728193167", "hour": "01", "iso8601": "2024-10-06T05:39:27Z", "iso8601_basic": "20241006T013927489112", "iso8601_basic_short": "20241006T013927", "iso8601_micro": "2024-10-06T05:39:27.489112Z", "minute": "39", "month": "10", "second": "27", "time": "01:39:27", "tz": "EDT", "tz_dst": "EDT", "tz_offset": "-0400", "weekday": "Sunday", "weekday_number": "0", "weeknumber": "40", "year": "2024" }, "default_ipv4": { "address": "10.31.9.53", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:4b:93:d3:52:3b", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda2": [ "5101df7d-7d04-471c-8b87-a8afd44579eb" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "sectors": "2048", "sectorsize": 512, "size": "1.00 MB", "start": "2048", "uuid": null }, "xvda2": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "5101df7d-7d04-471c-8b87-a8afd44579eb" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "5101df7d-7d04-471c-8b87-a8afd44579eb" } }, "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": "512", "vendor": null, "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3.12", "distribution": "CentOS", "distribution_file_parsed": true, "distribution_file_path": "/etc/centos-release", "distribution_file_variety": "CentOS", "distribution_major_version": "10", "distribution_release": "Stream", "distribution_version": "10", "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": { "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "GPG_TTY": "/dev/pts/0", "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/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": "1", "SSH_CLIENT": "10.31.47.231 48852 22", "SSH_CONNECTION": "10.31.47.231 48852 10.31.9.53 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "6", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3.12" }, "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]", "hsr_dup_offload": "off [fixed]", "hsr_fwd_offload": "off [fixed]", "hsr_tag_ins_offload": "off [fixed]", "hsr_tag_rm_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "macsec_hw_offload": "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.9.53", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::104b:93ff:fed3:523b", "prefix": "64", "scope": "link" } ], "macaddress": "12:4b:93:d3:52:3b", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "managed-node2", "gather_subset": [ "all" ], "hostname": "managed-node2", "hostnqn": "nqn.2014-08.org.nvmexpress:uuid:5968c521-8c59-4da2-acc6-55a874657fd9", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.11.0-25.el10.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Mon Sep 16 20:35:26 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]", "hsr_dup_offload": "off [fixed]", "hsr_fwd_offload": "off [fixed]", "hsr_tag_ins_offload": "off [fixed]", "hsr_tag_rm_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [fixed]", "macsec_hw_offload": "off [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.06689453125, "1m": 0.46337890625, "5m": 0.177734375 }, "locally_reachable_ips": { "ipv4": [ "10.31.9.53", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::104b:93ff:fed3:523b" ] }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "ec21657d19147a637ce351be97f6cd7a", "memfree_mb": 2970, "memory_mb": { "nocache": { "free": 3294, "used": 237 }, "real": { "free": 2970, "total": 3531, "used": 561 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3531, "module_setup": true, "mounts": [ { "block_available": 63915606, "block_size": 4096, "block_total": 65519099, "block_used": 1603493, "device": "/dev/xvda2", "dump": 0, "fstype": "xfs", "inode_available": 131027402, "inode_total": 131070960, "inode_used": 43558, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "passno": 0, "size_available": 261798322176, "size_total": 268366229504, "uuid": "5101df7d-7d04-471c-8b87-a8afd44579eb" } ], "nodename": "managed-node2", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.11.0-25.el10.x86_64", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "1G-4G:192M,4G-64G:256M,64G-:512M", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb" }, "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": "ec21657d-1914-7a63-7ce3-51be97f6cd7a", "product_uuid": "ec21657d-1914-7a63-7ce3-51be97f6cd7a", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python3.12", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 6, "minor": 12, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 12, 6, "final", 0 ] }, "python_version": "3.12.6", "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_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDaUKCDfnboRoI1uOnqhYcJOIvxhXm5evlw7n7VonAiaOhfNT/fjV5LXbuiMdDpD2rpxribtKMYRwUmoQz2DHjA=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIGHoAM4xljsXeUBxSvo6dh8nAHi1tB/hqIJMDaBaqqZS", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCnns0LUONxLnv10EH3mSJqH5yoQHwYIHq+sKn+NMsm88ajKWkifuLL3Ft39FbnYhM0WEvuvIOGDIZtTCgtqWlL29jKqbSeCHfJbFEuOKdaJ3rHJgQSHux0ETbyLQlR1CALwc8z65oVdoPqziwtYV/Ney2ILj1S2JHYoUNMbL/Z2RGplo/SUuQnD1uVyQKXAMrgjAqNmiKc1lAjuRdX+xVySyAwWS2I9HwMQhGSjNnL0QEiCqhaNg9I3rn5qtybSLKmgB/O92uPr6kwPcwCL8lsxk3vBx39c2tboJF6bfd3AvFwv4OHMy+BY0V+cR5Y95F2nzWaLHW++OGbyiQasVFTpeDLVg8WE2iaPsYtorzzl3CPeaO/4fArXyDhtvUdffAOy2ygI3nSoYZiy4uNtEvib5g6V+1/B67CnH+d9dP2dhspkq5ZRGUiUubTA07GfDwnNWUNhnp2NL5ZBA6ZxAn4HVqlHQhA/WU020TPdNMWo/fK1pqRgQp8Alkf/hRjPV8=", "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": 1698, "user_dir": "/root", "user_gecos": "Super User", "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-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Sunday 06 October 2024 01:39:29 -0400 (0:00:00.035) 0:00:02.743 ******** META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Check for availability of both NTP providers] **************************** task path: /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:21 Sunday 06 October 2024 01:39:29 -0400 (0:00:00.023) 0:00:02.766 ******** ok: [managed-node2] => (item=chrony) => { "ansible_loop_var": "item", "changed": false, "item": "chrony", "rc": 0, "results": [] } MSG: Nothing to do failed: [managed-node2] (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-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:34 Sunday 06 October 2024 01:39:30 -0400 (0:00:01.315) 0:00:04.082 ******** skipping: [managed-node2] => (item={'msg': 'Nothing to do', 'changed': False, 'results': [], 'rc': 0, 'invocation': {'module_args': {'name': ['chrony'], 'state': 'present', 'allow_downgrade': False, 'allowerasing': 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, 'use_backend': 'auto', 'best': None, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'nobest': 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": false, "failed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "best": null, "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": null, "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": "Nothing to do", "rc": 0, "results": [] }, "skip_reason": "Conditional result was False" } ok: [managed-node2] => (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, 'allowerasing': 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, 'use_backend': 'auto', 'best': None, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'nobest': 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, "best": null, "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": null, "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-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:41 Sunday 06 October 2024 01:39:30 -0400 (0:00:00.077) 0:00:04.160 ******** META: ending play PLAY RECAP ********************************************************************* managed-node2 : ok=8 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=1 Sunday 06 October 2024 01:39:30 -0400 (0:00:00.011) 0:00:04.171 ******** =============================================================================== Check for availability of both NTP providers ---------------------------- 1.32s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:21 Gathering Facts --------------------------------------------------------- 1.14s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:2 Ensure iproute for gathering default_ipv4 fact -------------------------- 1.00s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:15 Check if system is ostree ----------------------------------------------- 0.43s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:6 Set the availability of both NTP providers ------------------------------ 0.08s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:34 Set flag to indicate system is ostree ----------------------------------- 0.07s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:11 Debug ------------------------------------------------------------------- 0.04s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:34 Ensure ansible_facts used by test --------------------------------------- 0.03s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:21 Skip test on ostree systems if unsupported ------------------------------ 0.02s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tasks/setup.yml:38 Common test setup tasks ------------------------------------------------- 0.02s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:12 End test if not both available ------------------------------------------ 0.01s /tmp/collections-VL8/ansible_collections/fedora/linux_system_roles/tests/timesync/tests_ntp_provider6.yml:41