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-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:5 Monday 11 November 2024 20:24:25 -0500 (0:00:00.029) 0:00:00.031 ******* 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-Hbm/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Test error handling] ***************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:8 Monday 11 November 2024 20:24:26 -0500 (0:00:00.024) 0:00:00.055 ******* ok: [managed-node2] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:19 Monday 11 November 2024 20:24:27 -0500 (0:00:01.017) 0:00:01.072 ******* included: /tmp/collections-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:2 Monday 11 November 2024 20:24:27 -0500 (0:00:00.058) 0:00:01.131 ******* ok: [managed-node2] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test" }, "ansible_included_var_files": [ "/tmp/collections-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:5 Monday 11 November 2024 20:24:27 -0500 (0:00:00.022) 0:00:01.154 ******* ok: [managed-node2] TASK [Set version specific variables] ****************************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:16 Monday 11 November 2024 20:24:27 -0500 (0:00:00.556) 0:00:01.711 ******* ok: [managed-node2] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/vars/CentOS_8.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:29 Monday 11 November 2024 20:24:27 -0500 (0:00:00.072) 0:00:01.783 ******* ok: [managed-node2] => { "ansible_facts": { "all_ipv4_addresses": [ "10.31.11.227" ], "all_ipv6_addresses": [ "fe80::10ea:eeff:fed1:b8b1" ], "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-11-11", "day": "11", "epoch": "1731374667", "hour": "20", "iso8601": "2024-11-12T01:24:27Z", "iso8601_basic": "20241111T202427607952", "iso8601_basic_short": "20241111T202427", "iso8601_micro": "2024-11-12T01:24:27.607952Z", "minute": "24", "month": "11", "second": "27", "time": "20:24:27", "tz": "EST", "tz_offset": "-0500", "weekday": "Monday", "weekday_number": "1", "weeknumber": "46", "year": "2024" }, "default_ipv4": { "address": "10.31.11.227", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:ea:ee:d1:b8:b1", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.8.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.10.33 58252 22", "SSH_CONNECTION": "10.31.10.33 58252 10.31.11.227 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "6", "_": "/usr/libexec/platform-python", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "on", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "10.31.11.227", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0" }, "ipv6": [ { "address": "fe80::10ea:eeff:fed1:b8b1", "prefix": "64", "scope": "link" } ], "macaddress": "12:ea:ee:d1:b8:b1", "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": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "4.18.0-553.5.1.el8.x86_64", "kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "lo": { "active": true, "device": "lo", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [fixed]", "netns_local": "on [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "tx_checksumming": "on", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "on", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "on [fixed]", "tx_nocache_copy": "off [fixed]", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_sctp_segmentation": "on", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "on [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "timestamping": [], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "a3ee387597dd4a94a1ed83429a479abe", "memfree_mb": 2765, "memory_mb": { "nocache": { "free": 3315, "used": 224 }, "real": { "free": 2765, "total": 3539, "used": 774 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3539, "module_setup": true, "mounts": [ { "block_available": 64342911, "block_size": 4096, "block_total": 65533179, "block_used": 1190268, "device": "/dev/xvda1", "fstype": "xfs", "inode_available": 130995703, "inode_total": 131071472, "inode_used": 75769, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 263548563456, "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": "ec285fc6-4e39-59b9-21b7-b1ef0c378f82", "product_uuid": "ec285fc6-4e39-59b9-21b7-b1ef0c378f82", "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": "AAAAB3NzaC1kc3MAAACBAOpkQXx0EViuPRyF/VQzj7W6uZ6bLuEjrydLGTWB6QT1401RnwQJyTkqU//Uyd2ByF396nBQjJTgEGOpuxY7pZY10XQBnv9/bQjq9fFhXHec4cpctxN0kJjraWZwc2tjhvjd//q7cwR/bha6FwCWHlKJ804t3IPhOPUCAHHFYWCPAAAAFQCt2sdrn3LNctmHR2DDsYrA8zq4EwAAAIEAtCL9b/UF5eOjULNywFYtYs9OTUQ1SyZk+rS5/VRnKrCLTeKD1n+FQBPuG3WvokUwAgxdr0RzmN3enRG1Sn7rLTaWFgRRkpj5Ij4OB83htVoUI54tVMci3OG+4G6oKVdg5WR77w7BsD4pzVJuC+Ye1+VY9VzMPaBNpnynCHZqu8EAAACBAKLFqcFdeRN6yhDZU2T/o0ThAvwq+JN+Aln1s+wYp6BNDzHZJwm/gS1RrhUCWgI6wYlzkT2vZe7ziCH2cuRl9VXXDkF13DcPZ6Zdb4gb6x6nGdwGbhxu9mKALtS0XTOdXpYgD1Oju05AeGjwmIH5bJFJOOig5rWCmYt8nH94DGIU", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBA9XYsBnatJB9/yz08eXTqHlAGYCBqnHyOzi4gm4/BPT76Q8XOfNNnV3TmYWMvsdnBBQqOb0VFC3fqV6tGDZUa0=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICLHMisCu54Iu6bdLKH5nG356tFhK1uqLpGJOsr6/fUD", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCvgShw7UCX+UAWP5giQorabSbN/O1Pmc4sEy9E+szlVSu6nTNFxOD02dqMUTL1b6g+CH99kE4b1rzmRzDmDcrPhcS6gvRD9VxXG26w5vJbPV2dGi14rKP0IVxRRzSFGnlTZkLlIEPIWmBugJndfneOqoCEGxe/L74iYHlK8s8wsALYBH6kRwu6Rq9C97NEVMnuSznZz+bE8KfiVZmoza+GE20lEYK4yVgIgDM2OIpTFDFkGKsE+o9A7oFeW0RN3wnTmpPOP9w865IOaK7sctJFpaChRWHMR9M3hJewbPOg+jC437Xu7jUyPGXOAdwd5W/tdyOpiJd9W7I4Lz5shw8wiaZCcJm6IrNkNybU8w4BgXqJA6mgJ04nCo+rr+lJdYopHezyD9SHUxGwwYWrgfMbxCElzNeQwCi0lm9xAMNbsKsiMyyOQwGdXZngoKSPQqqErFhIhaGVaUM58XPIKJ/QLM2axBpebNCTwTL0CDYgauyY4OuQIsYwt0+/zWkHXcM=", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 375, "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-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:33 Monday 11 November 2024 20:24:27 -0500 (0:00:00.086) 0:00:01.869 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: cryptsetup TASK [Create temp dir for test on controller] ********************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:37 Monday 11 November 2024 20:24:31 -0500 (0:00:03.219) 0:00:05.089 ******* ok: [managed-node2 -> localhost] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_nbde_client_18m2f_aj", "size": 6, "state": "directory", "uid": 0 } TASK [Set nbde_client_test_encryption_key_src, dest, roles dir] **************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:45 Monday 11 November 2024 20:24:31 -0500 (0:00:00.488) 0:00:05.578 ******* ok: [managed-node2] => { "ansible_facts": { "nbde_client_test_encryption_key_dest": "/tmp/encryption_key", "nbde_client_test_encryption_key_src": "/tmp/lsr_nbde_client_18m2f_aj/encryption_key" }, "changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:52 Monday 11 November 2024 20:24:31 -0500 (0:00:00.057) 0:00:05.636 ******* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Monday 11 November 2024 20:24:31 -0500 (0:00:00.051) 0:00:05.687 ******* included: /tmp/collections-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Monday 11 November 2024 20:24:31 -0500 (0:00:00.046) 0:00:05.734 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Monday 11 November 2024 20:24:31 -0500 (0:00:00.064) 0:00:05.798 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Monday 11 November 2024 20:24:32 -0500 (0:00:00.487) 0:00:06.285 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Monday 11 November 2024 20:24:32 -0500 (0:00:00.052) 0:00:06.338 ******* 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-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Monday 11 November 2024 20:24:32 -0500 (0:00:00.053) 0:00:06.392 ******* included: /tmp/collections-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Monday 11 November 2024 20:24:32 -0500 (0:00:00.077) 0:00:06.469 ******* 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" ] } lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Monday 11 November 2024 20:24:36 -0500 (0:00:04.186) 0:00:10.656 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Monday 11 November 2024 20:24:36 -0500 (0:00:00.056) 0:00:10.712 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Monday 11 November 2024 20:24:37 -0500 (0:00:00.556) 0:00:11.269 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:30 Monday 11 November 2024 20:24:37 -0500 (0:00:00.037) 0:00:11.307 ******* included: /tmp/collections-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:2 Monday 11 November 2024 20:24:37 -0500 (0:00:00.070) 0:00:11.377 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:14 Monday 11 November 2024 20:24:37 -0500 (0:00:00.026) 0:00:11.403 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:19 Monday 11 November 2024 20:24:37 -0500 (0:00:00.373) 0:00:11.776 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 Monday 11 November 2024 20:24:37 -0500 (0:00:00.040) 0:00:11.817 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:44 Monday 11 November 2024 20:24:38 -0500 (0:00:00.531) 0:00:12.349 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:53 Monday 11 November 2024 20:24:38 -0500 (0:00:00.022) 0:00:12.371 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:57 Monday 11 November 2024 20:24:38 -0500 (0:00:00.026) 0:00:12.397 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:34 Monday 11 November 2024 20:24:38 -0500 (0:00:00.018) 0:00:12.416 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 Monday 11 November 2024 20:24:38 -0500 (0:00:00.019) 0:00:12.436 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:56 Monday 11 November 2024 20:24:39 -0500 (0:00:01.010) 0:00:13.446 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.004852", "end": "2024-11-11 20:24:39.907848", "rc": 0, "start": "2024-11-11 20:24:39.902996" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:60 Monday 11 November 2024 20:24:39 -0500 (0:00:00.550) 0:00:13.997 ******* 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.223069", "end": "2024-11-11 20:24:40.514564", "rc": 0, "start": "2024-11-11 20:24:40.291495" } TASK [Create key file for test device] ***************************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:68 Monday 11 November 2024 20:24:40 -0500 (0:00:00.603) 0:00:14.600 ******* ok: [managed-node2 -> localhost] => { "changed": false, "checksum": "8094c3fd71c86b6b387282c0f67f42c3d6b8ae24", "dest": "/tmp/lsr_nbde_client_18m2f_aj/encryption_key", "gid": 0, "group": "root", "md5sum": "0ae0430723cc510ae38376405894ad8b", "mode": "0600", "owner": "root", "size": 13, "src": "/root/.ansible/tmp/ansible-tmp-1731374680.6100914-9405-100193751827444/source", "state": "file", "uid": 0 } TASK [Use nbde_client role] **************************************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:24 Monday 11 November 2024 20:24:41 -0500 (0:00:00.718) 0:00:15.318 ******* TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 11 November 2024 20:24:41 -0500 (0:00:00.038) 0:00:15.356 ******* included: /tmp/collections-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 11 November 2024 20:24:41 -0500 (0:00:00.034) 0:00:15.391 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 11 November 2024 20:24:41 -0500 (0:00:00.029) 0:00:15.421 ******* 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-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 11 November 2024 20:24:41 -0500 (0:00:00.043) 0:00:15.464 ******* included: /tmp/collections-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 11 November 2024 20:24:41 -0500 (0:00:00.051) 0:00:15.516 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: NetworkManager clevis clevis-dracut clevis-luks clevis-systemd iproute TASK [fedora.linux_system_roles.nbde_client : Get services] ******************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 11 November 2024 20:24:44 -0500 (0:00:02.999) 0:00:18.515 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:10 Monday 11 November 2024 20:24:46 -0500 (0:00:01.705) 0:00:20.221 ******* 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": "cryptsetup-pre.target clevis-luks-askpass.service", "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": "Mon 2024-11-11 20:24:35 EST", "StateChangeTimestampMonotonic": "384992085", "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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:17 Monday 11 November 2024 20:24:46 -0500 (0:00:00.686) 0:00:20.908 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:25 Monday 11 November 2024 20:24:47 -0500 (0:00:00.783) 0:00:21.695 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:39 Monday 11 November 2024 20:24:48 -0500 (0:00:00.654) 0:00:22.350 ******* changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.t_dty94snbde_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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:47 Monday 11 November 2024 20:24:48 -0500 (0:00:00.381) 0:00:22.731 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:60 Monday 11 November 2024 20:24:48 -0500 (0:00:00.058) 0:00:22.789 ******* 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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:71 Monday 11 November 2024 20:24:49 -0500 (0:00:00.528) 0:00:23.317 ******* 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.t_dty94snbde_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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:76 Monday 11 November 2024 20:24:49 -0500 (0:00:00.028) 0:00:23.346 ******* changed: [managed-node2] => { "changed": true, "path": "/tmp/ansible.t_dty94snbde_client_encryption_keys", "state": "absent" } TASK [Extract the result] ****************************************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:28 Monday 11 November 2024 20:24:49 -0500 (0:00:00.397) 0:00:23.743 ******* 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.t_dty94snbde_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-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:32 Monday 11 November 2024 20:24:49 -0500 (0:00:00.024) 0:00:23.768 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the password is obscured] ************************************ task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:38 Monday 11 November 2024 20:24:49 -0500 (0:00:00.024) 0:00:23.792 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tests_error_handling.yml:45 Monday 11 November 2024 20:24:49 -0500 (0:00:00.024) 0:00:23.817 ******* included: /tmp/collections-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 11 November 2024 20:24:49 -0500 (0:00:00.027) 0:00:23.844 ******* changed: [managed-node2] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up test dir on controller] ***************************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 11 November 2024 20:24:50 -0500 (0:00:00.365) 0:00:24.210 ******* changed: [managed-node2 -> localhost] => { "changed": true, "path": "/tmp/lsr_nbde_client_18m2f_aj", "state": "absent" } TASK [Clean up test encryption key on managed host] **************************** task path: /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 11 November 2024 20:24:50 -0500 (0:00:00.279) 0:00:24.489 ******* 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 Monday 11 November 2024 20:24:50 -0500 (0:00:00.364) 0:00:24.853 ******* =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 4.19s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 3.22s /tmp/collections-jFn/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 --- 3.00s /tmp/collections-jFn/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-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Gathering Facts --------------------------------------------------------- 1.02s /tmp/collections-jFn/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 --- 1.01s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:39 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.79s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:17 Create key file for test device ----------------------------------------- 0.72s /tmp/collections-jFn/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.69s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:10 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.65s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:25 Format test device as LUKS ---------------------------------------------- 0.60s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:60 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.56s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Ensure Ansible facts required by tests ---------------------------------- 0.56s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:5 Create device for testing ----------------------------------------------- 0.55s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:56 fedora.linux_system_roles.nbde_server : Manage tangd custom port systemd directory --- 0.53s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tangd-custom-port.yml:35 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 0.53s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:60 Create temp dir for test on controller ---------------------------------- 0.49s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/tests/nbde_client/tasks/setup_test.yml:37 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.49s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files --- 0.40s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:76 fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files --- 0.38s /tmp/collections-jFn/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:39