ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_error_handling.yml ********************************************* 2 plays in /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:5 Tuesday 24 September 2024 14:35:40 -0400 (0:00:00.028) 0:00:00.028 ***** ok: [managed-node2] => { "ansible_facts": { "nbde_client_test_pass": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n31303833633366333561656439323930303361333161363239346166656537323933313436\n3432386236656563343237306335323637396239616230353561330a313731623238393238\n62343064666336643930663239383936616465643134646536656532323461356237646133\n3761616633323839633232353637366266350a313163633236376666653238633435306565\n3264623032333736393535663833\n" } }, "ansible_included_var_files": [ "/tmp/nbde_client-Akk/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Test error handling] ***************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:8 Tuesday 24 September 2024 14:35:40 -0400 (0:00:00.024) 0:00:00.053 ***** ok: [managed-node2] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:19 Tuesday 24 September 2024 14:35:41 -0400 (0:00:01.082) 0:00:01.136 ***** included: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml for managed-node2 TASK [Include general tests variables] ***************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:2 Tuesday 24 September 2024 14:35:41 -0400 (0:00:00.038) 0:00:01.174 ***** ok: [managed-node2] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test" }, "ansible_included_var_files": [ "/tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Ensure Ansible facts required by tests] ********************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:5 Tuesday 24 September 2024 14:35:41 -0400 (0:00:00.013) 0:00:01.188 ***** ok: [managed-node2] TASK [Set version specific variables] ****************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:16 Tuesday 24 September 2024 14:35:41 -0400 (0:00:00.499) 0:00:01.687 ***** ok: [managed-node2] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/vars/CentOS_8.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:29 Tuesday 24 September 2024 14:35:41 -0400 (0:00:00.062) 0:00:01.749 ***** ok: [managed-node2] => { "ansible_facts": { "all_ipv4_addresses": [ "10.31.43.114" ], "all_ipv6_addresses": [ "fe80::c8e:3eff:fe43:29ff" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.11.amazon", "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-09-24", "day": "24", "epoch": "1727202941", "hour": "14", "iso8601": "2024-09-24T18:35:41Z", "iso8601_basic": "20240924T143541680776", "iso8601_basic_short": "20240924T143541", "iso8601_micro": "2024-09-24T18:35:41.680776Z", "minute": "35", "month": "09", "second": "41", "time": "14:35:41", "tz": "EDT", "tz_offset": "-0400", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "39", "year": "2024" }, "default_ipv4": { "address": "10.31.43.114", "alias": "eth0", "broadcast": "10.31.43.255", "gateway": "10.31.40.1", "interface": "eth0", "macaddress": "0e:8e:3e:43:29:ff", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.40.0", "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/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "8", "distribution_release": "NA", "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.41.216 52766 22", "SSH_CONNECTION": "10.31.41.216 52766 10.31.43.114 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "5", "_": "/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.43.114", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0" }, "ipv6": [ { "address": "fe80::c8e:3eff:fe43:29ff", "prefix": "64", "scope": "link" } ], "macaddress": "0e:8e:3e:43:29:ff", "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": [ "min" ], "hostname": "managed-node2", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "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" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "timestamping": [], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "c887a390a00f4328b7bf4aaa111c09e1", "memfree_mb": 2744, "memory_mb": { "nocache": { "free": 3307, "used": 232 }, "real": { "free": 2744, "total": 3539, "used": 795 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3539, "module_setup": true, "mounts": [ { "block_available": 64342199, "block_size": 4096, "block_total": 65533179, "block_used": 1190980, "device": "/dev/xvda1", "fstype": "xfs", "inode_available": 130995317, "inode_total": 131071472, "inode_used": 76155, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 263545647104, "size_total": 268423901184, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } ], "nodename": "managed-node2", "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_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec2a7a38-5374-f89f-a7ac-c429bd4dd3f9", "product_uuid": "ec2a7a38-5374-f89f-a7ac-c429bd4dd3f9", "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": "AAAAB3NzaC1kc3MAAACBAKeaCFrl1qxXydrnEZd/li50x6JvEz6JJe2hsJnRq7ZVrNrQTMWc8QTWB1Tqu/0ujLKu6kWq8SUbX2NigGZ2RQkc0vx2XiKSwF0IenNVch2jwEAKVRaO+94e9Ow55bmFvTPqeAcN5/vs2s36CFHV1eKIX7IMWTozY9XtBEaA7KFLAAAAFQDRdJGsk5HiihEBLsCG3A5namH6FwAAAIAWaC9xCk15gCrHI13NEdN2lPfht92gmyC8FIfXsugNDwFj9f7QyNTn8tUGYqgGQsp2unvBialtI2yfGjVwckq0KCGph/J2+/Bdr7oiIUu/1abg65P5ScduHecocrWdlqLIGpvSKCKrrd5SZhH08B9UYeS347BL1sKYsyYLEYNL4AAAAIBs2GpdViIaMLj0gySCAIQujLDYR6yJ0bDBhTkNIkViF6uZB6WKiosPwXhNEf8xS4D/v8C1p/XgDhE+exKD5ISWn6ztJ5FiGCO/dBNIVGZOU8XraQ3umvMiB8rzNvz5iyvzXx0fWBLGM6EZoNpoBF0kgGSVoZozxnP0iZP3dc9FMw==", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBH0QnD3eRJqu+L0h2sqhdyf+1RZYZC148uE1ZhmKm/UmPJ+oC2B77RS8MSVnP3kPDnHpHzp1kpP4jTLHzT+vegQ=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIE5MtB/EQKZwaIpuk4euuiAn4TNuyJj7dpCuSyRu4ZGD", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCss57Faq9Vxy+0iIjK7U5k0jrDuIl6irOItCJXXAW3C7HfvOvEg5+BqADSeW22svhoLXEG6FXM5/JesFF6cRgU5BItM240/T7OtaV9pvRq22SJnmMg0EZNBk/oUVmVRfx5eXn4xRPPY49DTCEA4RArdaCD1BSGmxZwoLpROU454wQ7m8w4V4d/UjzBD5zCIDD987roM94nnbCmhn8zISDlBsEXaRZPWDHLchhPwc2cFvnl9rJrvPqnt9WjvG2wiGQwHNmfvPS1Qnk+YuaYjIvshwID0ThrOoCp5in5ytQVbnRQKJDyVRuH5VvVYqE8XSR7zYBskOpXWiCvzrNSCIMtQFTTrvUGnyM2eA2y2Z7bK2FVqCJUd+jXJXOGoG1l1De+k0VN1K/J5fvmU9vzFfJIJXGovsviVJD9JVGGiXm3UFI/legy4ndCv9FuZacxstytbkqM78WMfbcAY9eVxbEDW1kYfmL+8o0apvFJadL/h73hFWI32tOZ41TXHHqVdPM=", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 315, "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_type": "xen" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:33 Tuesday 24 September 2024 14:35:41 -0400 (0:00:00.077) 0:00:01.826 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create temp dir for test on controller] ********************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:37 Tuesday 24 September 2024 14:35:45 -0400 (0:00:03.154) 0:00:04.981 ***** ok: [managed-node2 -> localhost] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_nbde_client_doz2q5yw", "size": 6, "state": "directory", "uid": 0 } TASK [Set nbde_client_test_encryption_key_src, dest, roles dir] **************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:45 Tuesday 24 September 2024 14:35:45 -0400 (0:00:00.472) 0:00:05.454 ***** ok: [managed-node2] => { "ansible_facts": { "nbde_client_test_encryption_key_dest": "/tmp/encryption_key", "nbde_client_test_encryption_key_src": "/tmp/lsr_nbde_client_doz2q5yw/encryption_key" }, "changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:52 Tuesday 24 September 2024 14:35:45 -0400 (0:00:00.053) 0:00:05.507 ***** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Tuesday 24 September 2024 14:35:45 -0400 (0:00:00.030) 0:00:05.538 ***** included: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:35:45 -0400 (0:00:00.025) 0:00:05.563 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:35:45 -0400 (0:00:00.084) 0:00:05.648 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:35:46 -0400 (0:00:00.494) 0:00:06.142 ***** ok: [managed-node2] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Tuesday 24 September 2024 14:35:46 -0400 (0:00:00.038) 0:00:06.180 ***** ok: [managed-node2] => { "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/collections-xaf/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/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Tuesday 24 September 2024 14:35:46 -0400 (0:00:00.044) 0:00:06.225 ***** included: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Tuesday 24 September 2024 14:35:46 -0400 (0:00:00.049) 0:00:06.274 ***** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: tang-7-8.el8.x86_64", "Installed: http-parser-2.8.0-9.el8.x86_64" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Tuesday 24 September 2024 14:35:50 -0400 (0:00:03.960) 0:00:10.234 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Tuesday 24 September 2024 14:35:50 -0400 (0:00:00.061) 0:00:10.296 ***** changed: [managed-node2] => { "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": true, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Tuesday 24 September 2024 14:35:50 -0400 (0:00:00.606) 0:00:10.902 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage firewall and SELinux for port] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Tuesday 24 September 2024 14:35:51 -0400 (0:00:00.046) 0:00:10.948 ***** included: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml for managed-node2 TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Tuesday 24 September 2024 14:35:51 -0400 (0:00:00.054) 0:00:11.003 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Tuesday 24 September 2024 14:35:51 -0400 (0:00:00.019) 0:00:11.022 ***** ok: [managed-node2] => { "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/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Tuesday 24 September 2024 14:35:51 -0400 (0:00:00.369) 0:00:11.392 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Tuesday 24 September 2024 14:35:51 -0400 (0:00:00.029) 0:00:11.422 ***** ok: [managed-node2] => { "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/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Tuesday 24 September 2024 14:35:52 -0400 (0:00:00.572) 0:00:11.994 ***** skipping: [managed-node2] => { "changed": false, "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/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Tuesday 24 September 2024 14:35:52 -0400 (0:00:00.025) 0:00:12.020 ***** ok: [managed-node2] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Tuesday 24 September 2024 14:35:52 -0400 (0:00:00.059) 0:00:12.079 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Tuesday 24 September 2024 14:35:52 -0400 (0:00:00.038) 0:00:12.118 ***** skipping: [managed-node2] => { "changed": false, "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/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Tuesday 24 September 2024 14:35:52 -0400 (0:00:00.035) 0:00:12.154 ***** changed: [managed-node2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "shutdown.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Writable": "no" } } TASK [Create device for testing] *********************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:56 Tuesday 24 September 2024 14:35:53 -0400 (0:00:00.932) 0:00:13.086 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:01.005570", "end": "2024-09-24 14:35:54.622868", "rc": 0, "start": "2024-09-24 14:35:53.617298" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:60 Tuesday 24 September 2024 14:35:54 -0400 (0:00:01.525) 0:00:14.612 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; echo -n 1asfbJHV53vJH | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:00.181176", "end": "2024-09-24 14:35:55.165278", "rc": 0, "start": "2024-09-24 14:35:54.984102" } TASK [Create key file for test device] ***************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:68 Tuesday 24 September 2024 14:35:55 -0400 (0:00:00.556) 0:00:15.169 ***** ok: [managed-node2 -> localhost] => { "changed": false, "checksum": "8094c3fd71c86b6b387282c0f67f42c3d6b8ae24", "dest": "/tmp/lsr_nbde_client_doz2q5yw/encryption_key", "gid": 0, "group": "root", "md5sum": "0ae0430723cc510ae38376405894ad8b", "mode": "0600", "owner": "root", "size": 13, "src": "/root/.ansible/tmp/ansible-tmp-1727202955.2914433-9626-173502454728501/source", "state": "file", "uid": 0 } TASK [Use nbde_client role] **************************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:24 Tuesday 24 September 2024 14:35:55 -0400 (0:00:00.764) 0:00:15.934 ***** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 24 September 2024 14:35:56 -0400 (0:00:00.024) 0:00:15.958 ***** included: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:35:56 -0400 (0:00:00.021) 0:00:15.979 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 24 September 2024 14:35:56 -0400 (0:00:00.018) 0:00:15.997 ***** ok: [managed-node2] => { "ansible_facts": { "__nbde_client_clear_initrd_netcfg_strategy": "networkmanager_config", "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/CentOS_8.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 24 September 2024 14:35:56 -0400 (0:00:00.027) 0:00:16.024 ***** included: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for managed-node2 TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 24 September 2024 14:35:56 -0400 (0:00:00.031) 0:00:16.056 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Get services] ******************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 24 September 2024 14:35:58 -0400 (0:00:02.866) 0:00:18.922 ***** ok: [managed-node2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "clevis-luks-askpass.service": { "name": "clevis-luks-askpass.service", "source": "systemd", "state": "stopped", "status": "static" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-system-upgrade-cleanup.service": { "name": "dnf-system-upgrade-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "dnf-system-upgrade.service": { "name": "dnf-system-upgrade.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "unknown" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nftables.service": { "name": "nftables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-switch-root-initramfs.service": { "name": "plymouth-switch-root-initramfs.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-plymouth.service": { "name": "systemd-ask-password-plymouth.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tangd@.service": { "name": "tangd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tangd@0.service": { "name": "tangd@0.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "unknown" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "unknown" } } }, "changed": false } TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:10 Tuesday 24 September 2024 14:36:00 -0400 (0:00:01.714) 0:00:20.636 ***** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "man:clevis-luks-unlockers(7)", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Tue 2024-09-24 14:35:49 EDT", "StateChangeTimestampMonotonic": "324687494", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:17 Tuesday 24 September 2024 14:36:01 -0400 (0:00:00.661) 0:00:21.298 ***** ok: [managed-node2] => { "changed": false, "checksum": "0cfaea84b278e3b0faea437b3b8d015e93cc85f5", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 140, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:25 Tuesday 24 September 2024 14:36:01 -0400 (0:00:00.640) 0:00:21.938 ***** changed: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:39 Tuesday 24 September 2024 14:36:02 -0400 (0:00:00.631) 0:00:22.570 ***** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.sohjpvjynbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:47 Tuesday 24 September 2024 14:36:03 -0400 (0:00:00.370) 0:00:22.940 ***** skipping: [managed-node2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:60 Tuesday 24 September 2024 14:36:03 -0400 (0:00:00.062) 0:00:23.003 ***** fatal: [managed-node2]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.nbde_client : Failed message] ****************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:71 Tuesday 24 September 2024 14:36:03 -0400 (0:00:00.515) 0:00:23.518 ***** fatal: [managed-node2]: FAILED! => { "changed": false } MSG: {'msg': 'Device /no/such/path/or/device does not exist or access denied.\n', 'original_bindings': [{'device': '/no/such/path/or/device', 'encryption_password': '***', 'servers': ['http://localhost'], 'state': 'present', 'slot': 1, 'threshold': 1, 'password_temporary': False}], 'failed': True, 'invocation': {'module_args': {'bindings': [{'device': '/no/such/path/or/device', 'encryption_password': '***', 'servers': ['http://localhost'], 'state': 'present', 'slot': 1, 'threshold': 1, 'password_temporary': False}], 'data_dir': '/tmp/ansible.sohjpvjynbde_client_encryption_keys'}}, '_ansible_no_log': True, 'changed': False} TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:76 Tuesday 24 September 2024 14:36:03 -0400 (0:00:00.034) 0:00:23.552 ***** changed: [managed-node2] => { "changed": true, "path": "/tmp/ansible.sohjpvjynbde_client_encryption_keys", "state": "absent" } TASK [Extract the result] ****************************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:28 Tuesday 24 September 2024 14:36:04 -0400 (0:00:00.401) 0:00:23.954 ***** ok: [managed-node2] => { "ansible_facts": { "__result": { "changed": false, "failed": true, "invocation": { "module_args": { "bindings": [ { "device": "/no/such/path/or/device", "encryption_password": "***", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ], "data_dir": "/tmp/ansible.sohjpvjynbde_client_encryption_keys" } }, "msg": "Device /no/such/path/or/device does not exist or access denied.\n", "original_bindings": [ { "device": "/no/such/path/or/device", "encryption_password": "***", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } }, "changed": false } TASK [Assert that the error message is correct] ******************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:32 Tuesday 24 September 2024 14:36:04 -0400 (0:00:00.036) 0:00:23.990 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the password is obscured] ************************************ task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:38 Tuesday 24 September 2024 14:36:04 -0400 (0:00:00.040) 0:00:24.031 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:45 Tuesday 24 September 2024 14:36:04 -0400 (0:00:00.055) 0:00:24.086 ***** included: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/cleanup_test.yml for managed-node2 TASK [Clean up sample testing device] ****************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/cleanup_test.yml:2 Tuesday 24 September 2024 14:36:04 -0400 (0:00:00.040) 0:00:24.126 ***** changed: [managed-node2] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up test dir on controller] ***************************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/cleanup_test.yml:7 Tuesday 24 September 2024 14:36:04 -0400 (0:00:00.402) 0:00:24.529 ***** changed: [managed-node2 -> localhost] => { "changed": true, "path": "/tmp/lsr_nbde_client_doz2q5yw", "state": "absent" } TASK [Clean up test encryption key on managed host] **************************** task path: /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/cleanup_test.yml:13 Tuesday 24 September 2024 14:36:04 -0400 (0:00:00.236) 0:00:24.765 ***** ok: [managed-node2] => { "changed": false, "path": "/tmp/encryption_key", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=42 changed=8 unreachable=0 failed=1 skipped=10 rescued=1 ignored=0 Tuesday 24 September 2024 14:36:05 -0400 (0:00:00.345) 0:00:25.111 ***** =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 3.96s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 3.15s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:33 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.87s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Get services -------------------- 1.71s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Create device for testing ----------------------------------------------- 1.53s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:56 Gathering Facts --------------------------------------------------------- 1.08s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:8 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.93s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Create key file for test device ----------------------------------------- 0.76s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:68 fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.66s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:10 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.64s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:17 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.63s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:25 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.61s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.57s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Format test device as LUKS ---------------------------------------------- 0.56s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:60 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 0.52s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:60 Ensure Ansible facts required by tests ---------------------------------- 0.50s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:5 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.49s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Create temp dir for test on controller ---------------------------------- 0.47s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:37 Clean up sample testing device ------------------------------------------ 0.40s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/cleanup_test.yml:2 fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files --- 0.40s /tmp/collections-xaf/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:76