[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. ansible-playbook [core 2.17.2] 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/tmp.pKamEC3Zx4 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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_key_rotation.yml *********************************************** 1 plays in /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_key_rotation.yml PLAY [Test key rotation] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_key_rotation.yml:2 Saturday 27 July 2024 07:20:57 -0400 (0:00:00.007) 0:00:00.007 ********* [WARNING]: Platform linux on host managed_node1 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_node1] TASK [Set up test environment] ************************************************* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_key_rotation.yml:12 Saturday 27 July 2024 07:20:58 -0400 (0:00:01.195) 0:00:01.203 ********* included: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml for managed_node1 TASK [Include general tests variables] ***************************************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:2 Saturday 27 July 2024 07:20:58 -0400 (0:00:00.024) 0:00:01.227 ********* ok: [managed_node1] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test" }, "ansible_included_var_files": [ "/tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Ensure Ansible facts required by tests] ********************************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:5 Saturday 27 July 2024 07:20:58 -0400 (0:00:00.015) 0:00:01.243 ********* ok: [managed_node1] TASK [Set version specific variables] ****************************************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:16 Saturday 27 July 2024 07:20:59 -0400 (0:00:00.503) 0:00:01.746 ********* ok: [managed_node1] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/vars/CentOS_10.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:29 Saturday 27 July 2024 07:20:59 -0400 (0:00:00.025) 0:00:01.771 ********* ok: [managed_node1] => { "ansible_facts": { "all_ipv4_addresses": [ "10.31.12.186" ], "all_ipv6_addresses": [ "fe80::8ff:e4ff:fe78:4a8b" ], "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.10.0-15.el10.x86_64", "console": "ttyS0,115200n8", "crashkernel": "1G-4G:192M,4G-64G:256M,64G-:512M", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=0ffc5577-5083-4366-b534-51618c34eaf7" }, "date_time": { "date": "2024-07-27", "day": "27", "epoch": "1722079259", "epoch_int": "1722079259", "hour": "07", "iso8601": "2024-07-27T11:20:59Z", "iso8601_basic": "20240727T072059001429", "iso8601_basic_short": "20240727T072059", "iso8601_micro": "2024-07-27T11:20:59.001429Z", "minute": "20", "month": "07", "second": "59", "time": "07:20:59", "tz": "EDT", "tz_dst": "EDT", "tz_offset": "-0400", "weekday": "Saturday", "weekday_number": "6", "weeknumber": "30", "year": "2024" }, "default_ipv4": { "address": "10.31.12.186", "alias": "eth0", "broadcast": "10.31.15.255", "gateway": "10.31.12.1", "interface": "eth0", "macaddress": "0a:ff:e4:78:4a:8b", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda2": [ "0ffc5577-5083-4366-b534-51618c34eaf7" ] } }, "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": [ "0ffc5577-5083-4366-b534-51618c34eaf7" ] }, "sectors": "524283871", "sectorsize": 512, "size": "250.00 GB", "start": "4096", "uuid": "0ffc5577-5083-4366-b534-51618c34eaf7" } }, "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": "us-east-1.aws.redhat.com", "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.14.222 54686 22", "SSH_CONNECTION": "10.31.14.222 54686 10.31.12.186 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "5", "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.12.186", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::8ff:e4ff:fe78:4a8b", "prefix": "64", "scope": "link" } ], "macaddress": "0a:ff:e4:78:4a:8b", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ip-10-31-12-186.us-east-1.aws.redhat.com", "gather_subset": [ "min" ], "hostname": "ip-10-31-12-186", "hostnqn": "nqn.2014-08.org.nvmexpress:uuid:8447fae2-bec6-426f-9512-43b2e1076302", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "6.10.0-15.el10.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Tue Jul 16 15:56:49 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.15576171875, "1m": 0.5869140625, "5m": 0.36279296875 }, "locally_reachable_ips": { "ipv4": [ "10.31.12.186", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::8ff:e4ff:fe78:4a8b" ] }, "lsb": {}, "lvm": { "lvs": {}, "pvs": {}, "vgs": {} }, "machine": "x86_64", "machine_id": "ec286d8e74a2870b90351c5b0d35391c", "memfree_mb": 2937, "memory_mb": { "nocache": { "free": 3302, "used": 227 }, "real": { "free": 2937, "total": 3529, "used": 592 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3529, "module_setup": true, "mounts": [ { "block_available": 63928782, "block_size": 4096, "block_total": 65519099, "block_used": 1590317, "device": "/dev/xvda2", "dump": 0, "fstype": "xfs", "inode_available": 131029343, "inode_total": 131070960, "inode_used": 41617, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "passno": 0, "size_available": 261852291072, "size_total": 268366229504, "uuid": "0ffc5577-5083-4366-b534-51618c34eaf7" } ], "nodename": "ip-10-31-12-186.us-east-1.aws.redhat.com", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/boot/vmlinuz-6.10.0-15.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=0ffc5577-5083-4366-b534-51618c34eaf7" }, "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": "ec286d8e-74a2-870b-9035-1c5b0d35391c", "product_uuid": "ec286d8e-74a2-870b-9035-1c5b0d35391c", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python3.12", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 4, "minor": 12, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 12, 4, "final", 0 ] }, "python_version": "3.12.4", "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": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIZ1KV+hfa7XS2giT5n3cPiq9Kn0pLOWl4ELnfyNROZkOTB+fUDW9uQVu+OjHaXexf9G0GKk01QACquacgEhvno=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIFOjCICsD5iBbXSW/VTft0F6/g7jSMSvSjFdbwjhV4cM", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC/JKLbMCu+DqaKFgvn5f67UBnSkCjUy3CUAbA03xG+8VfIrfHMq3lF+TqccCiuTnKuxiDMFvA+Hd1910n3DjSzWFgabvmyKqhvWAb2hJhbV+d2TnK2FPKEKahHsKW80vl2B48Av8HH3OuKYL8fAVAcMXa7ivim3yrw3BMTy9OmTLdX3X5BOiYTAcrMtgjuo4OouOdWtZzRn1Oup/qJVyHVMCnLgio/iwvB1GavWq8d8y13iDMDlweP9bfh9LgQWH1t6R/h/7QxOSHC3m7CO6xdshsZ/ENNDC+ucLtcyQwfj7DTKvkvHPcraGpu4YEQXM9Y/wSU0+ozd7TKREyoUVfhUY4S8l493X+4dGsAxVeLQVjaIRWde6s7q9E9fhaNWJQZ4Z0D4wgzIBft8r/LAmpvQpBCbst05u+tItR372HauzaC5a06EAld7bP4/uTagA0WHKFeNGyxYxwZv3QOgRZ3Y6RuD1Rd1TefS4qYvNycatW3oktXxN/nEuuEhQOXfz8=", "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": 244, "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 [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:33 Saturday 27 July 2024 07:20:59 -0400 (0:00:00.031) 0:00:01.803 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: cryptsetup TASK [Create temp dir for test on controller] ********************************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:37 Saturday 27 July 2024 07:20:59 -0400 (0:00:00.788) 0:00:02.592 ********* ok: [managed_node1 -> localhost] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_nbde_client_wn16qe0j", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Set nbde_client_test_encryption_key_src, dest, roles dir] **************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:45 Saturday 27 July 2024 07:21:00 -0400 (0:00:00.297) 0:00:02.889 ********* ok: [managed_node1] => { "ansible_facts": { "nbde_client_test_encryption_key_dest": "/tmp/encryption_key", "nbde_client_test_encryption_key_src": "/tmp/lsr_nbde_client_wn16qe0j/encryption_key" }, "changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:52 Saturday 27 July 2024 07:21:00 -0400 (0:00:00.017) 0:00:02.906 ********* included: fedora.linux_system_roles.nbde_server for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 27 July 2024 07:21:00 -0400 (0:00:00.025) 0:00:02.931 ********* included: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 27 July 2024 07:21:00 -0400 (0:00:00.019) 0:00:02.951 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 27 July 2024 07:21:00 -0400 (0:00:00.022) 0:00:02.974 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 27 July 2024 07:21:00 -0400 (0:00:00.444) 0:00:03.419 ********* ok: [managed_node1] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 27 July 2024 07:21:00 -0400 (0:00:00.024) 0:00:03.443 ********* ok: [managed_node1] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 27 July 2024 07:21:00 -0400 (0:00:00.027) 0:00:03.470 ********* included: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed_node1 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 27 July 2024 07:21:00 -0400 (0:00:00.027) 0:00:03.497 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 27 July 2024 07:21:01 -0400 (0:00:00.685) 0:00:04.183 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 27 July 2024 07:21:01 -0400 (0:00:00.018) 0:00:04.202 ********* ok: [managed_node1] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 27 July 2024 07:21:01 -0400 (0:00:00.445) 0:00:04.648 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "(nbde_server_fetch_keys | bool) or (nbde_server_deploy_keys | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Saturday 27 July 2024 07:21:01 -0400 (0:00:00.020) 0:00:04.668 ********* redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean included: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.083) 0:00:04.751 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.020) 0:00:04.772 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.019) 0:00:04.792 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.018) 0:00:04.810 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.019) 0:00:04.830 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.019) 0:00:04.849 ********* skipping: [managed_node1] => { "false_condition": "nbde_server_manage_selinux | bool" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.019) 0:00:04.868 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.018) 0:00:04.887 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.018) 0:00:04.906 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.018) 0:00:04.925 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.019) 0:00:04.944 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.019) 0:00:04.964 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.014) 0:00:04.979 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.017) 0:00:04.996 ********* skipping: [managed_node1] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.023) 0:00:05.019 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.015) 0:00:05.034 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.019) 0:00:05.053 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.020) 0:00:05.074 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.014) 0:00:05.088 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.017) 0:00:05.106 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.349) 0:00:05.456 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__nbde_server_tangd_dir_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Saturday 27 July 2024 07:21:02 -0400 (0:00:00.014) 0:00:05.470 ********* ok: [managed_node1] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [fedora.linux_system_roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.459) 0:00:05.930 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_port | int != 80", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.021) 0:00:05.951 ********* ok: [managed_node1] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.021) 0:00:05.973 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.019) 0:00:05.992 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.020) 0:00:06.012 ********* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.029) 0:00:06.042 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.020) 0:00:06.062 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.020) 0:00:06.082 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.020) 0:00:06.103 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.019) 0:00:06.122 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.019) 0:00:06.142 ********* skipping: [managed_node1] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.037) 0:00:06.180 ********* skipping: [managed_node1] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.033) 0:00:06.214 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.019) 0:00:06.234 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.020) 0:00:06.254 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.020) 0:00:06.274 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.019) 0:00:06.294 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nbde_server_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.020) 0:00:06.314 ********* skipping: [managed_node1] => { "false_condition": "nbde_server_manage_firewall | bool" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.023) 0:00:06.338 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__nbde_server_port_changed | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Saturday 27 July 2024 07:21:03 -0400 (0:00:00.020) 0:00:06.358 ********* ok: [managed_node1] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "AccessSELinuxContext": "system_u:object_r:tangd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-07-27 07:20:12 EDT", "ActiveEnterTimestampMonotonic": "199014774", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 07:20:12 EDT", "AssertTimestampMonotonic": "198975358", "Backlog": "2147483647", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "12545000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 07:20:12 EDT", "ConditionTimestampMonotonic": "198975355", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlGroupId": "4487", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "Documentation": "\"man:tang(8)\"", "DynamicUser": "no", "EffectiveMemoryHigh": "3700936704", "EffectiveMemoryMax": "3700936704", "EffectiveTasksMax": "22402", "ExecStartPre": "{ path=/usr/bin/chown ; argv[]=/usr/bin/chown -R tang:tang /var/db/tang ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 07:20:12 EDT", "InactiveExitTimestampMonotonic": "198982095", "InvocationID": "d0f57e9e93a84550b1a0d7c88d77512c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14001", "LimitNPROCSoft": "14001", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14001", "LimitSIGPENDINGSoft": "14001", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryAvailable": "3247095808", "MemoryCurrent": "8192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "1167360", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PassCredentials": "no", "PassFileDescriptorsToExec": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "PollLimitBurst": "150", "PollLimitIntervalUSec": "2s", "Priority": "-1", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-07-27 07:20:12 EDT", "StateChangeTimestampMonotonic": "199014774", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "22402", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "sockets.target", "WatchdogSignal": "6", "Writable": "no" } } TASK [Create device for testing] *********************************************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:56 Saturday 27 July 2024 07:21:04 -0400 (0:00:00.744) 0:00:07.103 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.004198", "end": "2024-07-27 07:21:04.823847", "rc": 0, "start": "2024-07-27 07:21:04.819649" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:60 Saturday 27 July 2024 07:21:04 -0400 (0:00:00.446) 0:00:07.549 ********* fatal: [managed_node1]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: 'nbde_client_test_pass' is undefined The error appears to be in '/tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml': line 60, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Format test device as LUKS ^ here PLAY RECAP ********************************************************************* managed_node1 : ok=23 changed=0 unreachable=0 failed=1 skipped=41 rescued=0 ignored=0 Saturday 27 July 2024 07:21:04 -0400 (0:00:00.011) 0:00:07.561 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.20s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_key_rotation.yml:2 Install required packages for nbde_client tests ------------------------- 0.79s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:33 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.74s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.69s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Ensure Ansible facts required by tests ---------------------------------- 0.50s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:5 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.46s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Create device for testing ----------------------------------------------- 0.45s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:56 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.45s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.44s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory --- 0.35s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Create temp dir for test on controller ---------------------------------- 0.30s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:37 fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port --- 0.08s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.04s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 fedora.linux_system_roles.firewall : Gather firewall config information --- 0.03s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Print all available facts ----------------------------------------------- 0.03s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:29 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.03s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.03s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks --- 0.03s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Set version specific variables ------------------------------------------ 0.03s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:16 Deploy NBDE server for testing ------------------------------------------ 0.03s /tmp/tmp.pKamEC3Zx4/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:52