# STDOUT:
---v---v---v---v---v---
Using /etc/ansible/ansible.cfg as config file

PLAY [all] *********************************************************************

TASK [Gathering Facts] *********************************************************
ok: [sut]

TASK [Set up test environment] *************************************************
included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/tasks/setup_test.yml for sut

TASK [Include general tests variables] *****************************************
ok: [sut] => {
    "ansible_facts": {
        "nbde_client_test_device": "/tmp/.nbde_client_dev_test",
        "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key",
        "nbde_client_test_pass": "test-password-here",
        "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles"
    },
    "ansible_included_var_files": [
        "/WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/vars/main.yml"
    ],
    "changed": false
}

TASK [Set version specific variables] ******************************************
ok: [sut] => {
    "ansible_facts": {
        "nbde_client_test_packages": [
            "cryptsetup"
        ]
    },
    "ansible_included_var_files": [
        "/WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/vars/RedHat_8.yml"
    ],
    "changed": false
}

TASK [Print all available facts] ***********************************************
ok: [sut] => {
    "ansible_facts": {
        "all_ipv4_addresses": [
            "10.29.163.140"
        ],
        "all_ipv6_addresses": [
            "fe80::1065:fff:fe3f:f1f1"
        ],
        "ansible_local": {},
        "apparmor": {
            "status": "disabled"
        },
        "architecture": "x86_64",
        "bios_date": "08/24/2006",
        "bios_version": "4.2.amazon",
        "cmdline": {
            "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-348.el8.x86_64",
            "console": "ttyS0,115200",
            "crashkernel": "auto",
            "net.ifnames": "0",
            "quiet": true,
            "rhgb": true,
            "ro": true,
            "root": "UUID=571b0072-1776-4234-8e47-7b898f4cba21"
        },
        "date_time": {
            "date": "2022-05-17",
            "day": "17",
            "epoch": "1652798766",
            "hour": "14",
            "iso8601": "2022-05-17T14:46:06Z",
            "iso8601_basic": "20220517T144606134851",
            "iso8601_basic_short": "20220517T144606",
            "iso8601_micro": "2022-05-17T14:46:06.134851Z",
            "minute": "46",
            "month": "05",
            "second": "06",
            "time": "14:46:06",
            "tz": "UTC",
            "tz_offset": "+0000",
            "weekday": "Tuesday",
            "weekday_number": "2",
            "weeknumber": "20",
            "year": "2022"
        },
        "default_ipv4": {
            "address": "10.29.163.140",
            "alias": "eth0",
            "broadcast": "10.29.163.159",
            "gateway": "10.29.163.129",
            "interface": "eth0",
            "macaddress": "12:65:0f:3f:f1:f1",
            "mtu": 9001,
            "netmask": "255.255.255.224",
            "network": "10.29.163.128",
            "type": "ether"
        },
        "default_ipv6": {},
        "device_links": {
            "ids": {},
            "labels": {},
            "masters": {},
            "uuids": {
                "xvda1": [
                    "571b0072-1776-4234-8e47-7b898f4cba21"
                ]
            }
        },
        "devices": {
            "xvda": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {
                    "xvda1": {
                        "holders": [],
                        "links": {
                            "ids": [],
                            "labels": [],
                            "masters": [],
                            "uuids": [
                                "571b0072-1776-4234-8e47-7b898f4cba21"
                            ]
                        },
                        "sectors": "524285919",
                        "sectorsize": 512,
                        "size": "250.00 GB",
                        "start": "2048",
                        "uuid": "571b0072-1776-4234-8e47-7b898f4cba21"
                    }
                },
                "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
            }
        },
        "distribution": "RedHat",
        "distribution_file_parsed": true,
        "distribution_file_path": "/etc/redhat-release",
        "distribution_file_search_string": "Red Hat",
        "distribution_file_variety": "RedHat",
        "distribution_major_version": "8",
        "distribution_release": "Ootpa",
        "distribution_version": "8.5",
        "dns": {
            "nameservers": [
                "10.29.162.2"
            ],
            "search": [
                "us-east-1.aws.redhat.com"
            ]
        },
        "domain": "us-east-1.aws.redhat.com",
        "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",
            "HOME": "/root",
            "LANG": "C.utf8",
            "LESSOPEN": "||/usr/bin/lesspipe.sh %s",
            "LOGNAME": "root",
            "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.0.12.143 33350 22",
            "SSH_CONNECTION": "10.0.12.143 33350 10.29.163.140 22",
            "USER": "root",
            "XDG_RUNTIME_DIR": "/run/user/0",
            "XDG_SESSION_ID": "6",
            "_": "/usr/bin/python3",
            "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": "off [requested 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": "off [requested 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.29.163.140",
                "broadcast": "10.29.163.159",
                "netmask": "255.255.255.224",
                "network": "10.29.163.128"
            },
            "ipv6": [
                {
                    "address": "fe80::1065:fff:fe3f:f1f1",
                    "prefix": "64",
                    "scope": "link"
                }
            ],
            "macaddress": "12:65:0f:3f:f1:f1",
            "module": "xen_netfront",
            "mtu": 9001,
            "pciid": "vif-0",
            "promisc": false,
            "timestamping": [],
            "type": "ether"
        },
        "fibre_channel_wwn": [],
        "fips": false,
        "form_factor": "Other",
        "fqdn": "ip-10-29-163-140.us-east-1.aws.redhat.com",
        "gather_subset": [
            "all"
        ],
        "hostname": "ip-10-29-163-140",
        "hostnqn": "",
        "interfaces": [
            "lo",
            "eth0"
        ],
        "is_chroot": false,
        "iscsi_iqn": "",
        "kernel": "4.18.0-348.el8.x86_64",
        "kernel_version": "#1 SMP Mon Oct 4 12:17:22 EDT 2021",
        "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": "df133f32d61648e7adf4cf7a51c568a2",
        "memfree_mb": 2871,
        "memory_mb": {
            "nocache": {
                "free": 3359,
                "used": 219
            },
            "real": {
                "free": 2871,
                "total": 3578,
                "used": 707
            },
            "swap": {
                "cached": 0,
                "free": 0,
                "total": 0,
                "used": 0
            }
        },
        "memtotal_mb": 3578,
        "module_setup": true,
        "mounts": [
            {
                "block_available": 64460397,
                "block_size": 4096,
                "block_total": 65533179,
                "block_used": 1072782,
                "device": "/dev/xvda1",
                "fstype": "xfs",
                "inode_available": 131000501,
                "inode_total": 131071472,
                "inode_used": 70971,
                "mount": "/",
                "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota",
                "size_available": 264029786112,
                "size_total": 268423901184,
                "uuid": "571b0072-1776-4234-8e47-7b898f4cba21"
            }
        ],
        "nodename": "ip-10-29-163-140.us-east-1.aws.redhat.com",
        "os_family": "RedHat",
        "pkg_mgr": "dnf",
        "proc_cmdline": {
            "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-348.el8.x86_64",
            "console": [
                "tty0",
                "ttyS0,115200"
            ],
            "crashkernel": "auto",
            "net.ifnames": "0",
            "quiet": true,
            "rhgb": true,
            "ro": true,
            "root": "UUID=571b0072-1776-4234-8e47-7b898f4cba21"
        },
        "processor": [
            "0",
            "GenuineIntel",
            "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz",
            "1",
            "GenuineIntel",
            "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz"
        ],
        "processor_cores": 1,
        "processor_count": 1,
        "processor_threads_per_core": 2,
        "processor_vcpus": 2,
        "product_name": "HVM domU",
        "product_serial": "ec2f00bb-58a0-cd31-7fdc-8837f3a0b178",
        "product_uuid": "ec2f00bb-58a0-cd31-7fdc-8837f3a0b178",
        "product_version": "4.2.amazon",
        "python": {
            "executable": "/usr/bin/python3",
            "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": "AAAAB3NzaC1kc3MAAACBAMIjAIw1D12QlUTxuMin1x9ffQ+SeWsVKthaAlXjznJxMB0WEY3IN/jClos5/RPjfuLkZrEda4Uazguzj8boS9z4OWF7oSXjutz0AcCfUGG4RapSVhjrHObKu21okDxJ1o2k1Ki5F1jQivOJg8pJih7M4mT99XLR6bFWLpuLMe8bAAAAFQDSIIn5QFzxVYxN+KQ/CWfWCsZ1yQAAAIEAivKu3j7TMJDWVeAOx2GcF9qeam8Y/WbhJ6qmzL76N9mnPNhVKPDgq9GO0iN7L90EV/Mlbjhp0vQrUEUqdlOFcRrKYOk4KJPwL4VQ5Ur3YY9zI2J8uUB9993nTYTHAs3dFv2vGW/64UxXjX0MP6MeX3F6UZua2VScnmwTz61xkx4AAACAPBvlyIk844OdDJKs/HuykQatePrd5I7kSEqNbx/lY7vsMYazsUVv9DPIdE8WOLA8ruPkdm0J5G040Le+n16lrGpomTXPy48iJYvSxvFcrmP946kXw40qn+KVBXox7yGbnTRfrN+QpE/UljukKoZ4GJ3Ft93Hwl6e8/n+q4833ao=",
        "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCiY7GzlKrdpMsUUnEaFI4F1quh/bJIbkC57UfPsAYxV86cZyhF7tAxdrvGx2BEfTnIZ5ZKlZVDrEJLGeYFPSD0=",
        "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIFhqe2J5r54jYfGW94hCP7KZM+OXFlA0MaIpdQdkGmOW",
        "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCvSK0FXiKaFxOHa8S72DchaccpyuNcB7r2zP8siTgzKqmZV8VOk1lc+sya4gTIrnLXeK/pGJVnjldHxEGPQjaGb4AXtJLYgYLSIWOI08Yqy53CIvPY8tgkgZt0EAzG7qcWRhSO8973ct0GEsm5rSWsfrJaT2wpmKj3kDD/C+CmgpPCOB6AhHIsuwUo9OMayZAW7N97uMzDItIzFRttd8yZa38nhGKXGlXUHshrTIl4uE3/N7g9Fskb4taqyuwLwS3ICMMVsPbdKv88NQyLlc2GIBe0rN+BWr80hR7HjttrV0ldaMkOZrcz+iVRGCqZyh/ktCoMxyDuHUuoYiLQ+QqcE3OaU21hOdZ2abyDrFvulo/OyTT1t2efnaYkUJ5atM2iH2C5euEm9v4EtJknem00V9u2OdmOZ1bDK72jPRGme/1JPznuBouTaPmR6D/x9I9CfAuiPY8YcTqvRiZDFnXcdLJwD8VqAAo0AHaSCeA46UQwYmlBl5SPTl3lyWnNflk=",
        "swapfree_mb": 0,
        "swaptotal_mb": 0,
        "system": "Linux",
        "system_capabilities": [
            "cap_chown",
            "cap_dac_override",
            "cap_dac_read_search",
            "cap_fowner",
            "cap_fsetid",
            "cap_kill",
            "cap_setgid",
            "cap_setuid",
            "cap_setpcap",
            "cap_linux_immutable",
            "cap_net_bind_service",
            "cap_net_broadcast",
            "cap_net_admin",
            "cap_net_raw",
            "cap_ipc_lock",
            "cap_ipc_owner",
            "cap_sys_module",
            "cap_sys_rawio",
            "cap_sys_chroot",
            "cap_sys_ptrace",
            "cap_sys_pacct",
            "cap_sys_admin",
            "cap_sys_boot",
            "cap_sys_nice",
            "cap_sys_resource",
            "cap_sys_time",
            "cap_sys_tty_config",
            "cap_mknod",
            "cap_lease",
            "cap_audit_write",
            "cap_audit_control",
            "cap_setfcap",
            "cap_mac_override",
            "cap_mac_admin",
            "cap_syslog",
            "cap_wake_alarm",
            "cap_block_suspend",
            "cap_audit_read",
            "cap_perfmon",
            "cap_bpf",
            "cap_checkpoint_restore+ep"
        ],
        "system_capabilities_enforced": "True",
        "system_vendor": "Xen",
        "uptime_seconds": 377,
        "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] *************************
changed: [sut] => {
    "changed": true,
    "rc": 0,
    "results": [
        "Installed: cryptsetup-2.3.3-4.el8.x86_64"
    ]
}

TASK [Clone nbde_server role for the tests] ************************************
ok: [sut -> localhost] => {
    "after": "158931d658cf73167b3c883e89def8a1ebdb8d18",
    "before": "158931d658cf73167b3c883e89def8a1ebdb8d18",
    "changed": false,
    "remote_url_changed": false
}

TASK [Deploy NBDE server for testing] ******************************************

TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] ***
included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut

TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] ***
ok: [sut]

TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] ***
ok: [sut] => {
    "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/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml"
    ],
    "changed": false
}

TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] ***
included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut

TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] ***
changed: [sut] => {
    "changed": true,
    "rc": 0,
    "results": [
        "Installed: http-parser-2.8.0-9.el8.x86_64",
        "Installed: jose-10-2.el8.x86_64",
        "Installed: tang-7-6.el8.x86_64",
        "Installed: libjose-10-2.el8.x86_64"
    ]
}

TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] ***
skipping: [sut] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] ***
changed: [sut] => {
    "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 [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] ***
skipping: [sut] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] ***
changed: [sut] => (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": "sysinit.target system.slice",
        "AllowIsolate": "no",
        "AllowedCPUs": "",
        "AllowedMemoryNodes": "",
        "AmbientCapabilities": "",
        "AssertResult": "no",
        "AssertTimestampMonotonic": "0",
        "Backlog": "128",
        "Before": "sockets.target shutdown.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": "14166",
        "LimitNPROCSoft": "14166",
        "LimitRSS": "infinity",
        "LimitRSSSoft": "infinity",
        "LimitRTPRIO": "0",
        "LimitRTPRIOSoft": "0",
        "LimitRTTIME": "infinity",
        "LimitRTTIMESoft": "infinity",
        "LimitSIGPENDING": "14166",
        "LimitSIGPENDINGSoft": "14166",
        "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": "sysinit.target system.slice",
        "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": "22665",
        "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] ***********************************************
ok: [sut] => {
    "changed": false,
    "cmd": [
        "fallocate",
        "-l64m",
        "/tmp/.nbde_client_dev_test"
    ],
    "delta": "0:00:01.006408",
    "end": "2022-05-17 14:46:19.028845",
    "rc": 0,
    "start": "2022-05-17 14:46:18.022437"
}

TASK [Format test device as LUKS] **********************************************
ok: [sut] => {
    "changed": false,
    "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test",
    "delta": "0:00:01.315751",
    "end": "2022-05-17 14:46:20.576221",
    "rc": 0,
    "start": "2022-05-17 14:46:19.260470"
}

TASK [Create key file for test device] *****************************************
ok: [sut -> localhost] => {
    "changed": false,
    "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n",
    "delta": "0:00:00.006204",
    "end": "2022-05-17 14:46:21.136481",
    "rc": 0,
    "start": "2022-05-17 14:46:21.130277"
}

TASK [Use nbde_client role] ****************************************************

TASK [linux-system-roles.nbde_client : Set version specific variables] *********
included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for sut

TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ******
ok: [sut]

TASK [linux-system-roles.nbde_client : Set platform/version specific variables] ***
ok: [sut] => {
    "ansible_facts": {
        "__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": [
        "/WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/vars/RedHat_8.yml"
    ],
    "changed": false
}

TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] ***
included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for sut

TASK [linux-system-roles.nbde_client : Ensure required packages are installed] ***
changed: [sut] => {
    "changed": true,
    "rc": 0,
    "results": [
        "Installed: luksmeta-9-4.el8.x86_64",
        "Installed: tpm2-tools-4.1.1-5.el8.x86_64",
        "Installed: clevis-15-1.el8.x86_64",
        "Installed: clevis-dracut-15-1.el8.x86_64",
        "Installed: clevis-luks-15-1.el8.x86_64",
        "Installed: clevis-systemd-15-1.el8.x86_64",
        "Installed: nmap-ncat-2:7.70-6.el8.x86_64",
        "Installed: jq-1.5-12.el8.x86_64",
        "Installed: oniguruma-6.8.2-2.el8.x86_64",
        "Installed: libluksmeta-9-4.el8.x86_64"
    ]
}

TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] *************
changed: [sut] => {
    "changed": true,
    "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",
        "StateChangeTimestampMonotonic": "0",
        "StopWhenUnneeded": "no",
        "SubState": "dead",
        "SuccessAction": "none",
        "Transient": "no",
        "Triggers": "clevis-luks-askpass.service",
        "Unit": "clevis-luks-askpass.service",
        "UnitFilePreset": "disabled",
        "UnitFileState": "disabled",
        "Wants": "cryptsetup-pre.target"
    }
}

TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] *****
changed: [sut] => {
    "changed": true,
    "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a",
    "dest": "/etc/dracut.conf.d/nbde_client.conf",
    "gid": 0,
    "group": "root",
    "md5sum": "8ac814b21125f3c41430b13965169aff",
    "mode": "0444",
    "owner": "root",
    "secontext": "system_u:object_r:etc_t:s0",
    "size": 91,
    "src": "/root/.ansible/tmp/ansible-tmp-1652798788.0130625-11157-202219086482857/source",
    "state": "file",
    "uid": 0
}

TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] ***
changed: [sut] => {
    "changed": true,
    "original_bindings": [
        {
            "device": "/tmp/.nbde_client_dev_test",
            "encryption_password": "test-password-here",
            "password_temporary": false,
            "servers": [
                "http://localhost"
            ],
            "slot": 1,
            "state": "present",
            "threshold": 1
        },
        {
            "device": "/tmp/.nbde_client_dev_test",
            "encryption_password": "test-password-here",
            "password_temporary": false,
            "servers": [],
            "slot": 1,
            "state": "absent",
            "threshold": 1
        }
    ]
}

TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] ***
changed: [sut] => {
    "changed": true,
    "gid": 0,
    "group": "root",
    "mode": "0700",
    "owner": "root",
    "path": "/tmp/ansible.bzjwieu7nbde_client_encryption_keys",
    "secontext": "unconfined_u:object_r:user_tmp_t:s0",
    "size": 6,
    "state": "directory",
    "uid": 0
}

TASK [linux-system-roles.nbde_client : Ensure we transfer key files] ***********
skipping: [sut] => (item=)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": {
        "device": "/tmp/.nbde_client_dev_test",
        "encryption_password": "test-password-here",
        "servers": [
            "http://localhost"
        ]
    },
    "skip_reason": "Conditional result was False"
}
skipping: [sut] => (item=)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": {
        "device": "/tmp/.nbde_client_dev_test",
        "encryption_password": "test-password-here",
        "state": "absent"
    },
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.nbde_client : Perform clevis operations] **************
changed: [sut] => {
    "changed": true,
    "original_bindings": [
        {
            "device": "/tmp/.nbde_client_dev_test",
            "encryption_password": "test-password-here",
            "password_temporary": false,
            "servers": [
                "http://localhost"
            ],
            "slot": 1,
            "state": "present",
            "threshold": 1
        },
        {
            "device": "/tmp/.nbde_client_dev_test",
            "encryption_password": "test-password-here",
            "password_temporary": false,
            "servers": [],
            "slot": 1,
            "state": "absent",
            "threshold": 1
        }
    ]
}

TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] ***
changed: [sut] => {
    "changed": true,
    "path": "/tmp/ansible.bzjwieu7nbde_client_encryption_keys",
    "state": "absent"
}

TASK [linux-system-roles.nbde_client : Deploy network flushing script] *********
changed: [sut] => {
    "changed": true,
    "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c",
    "dest": "/usr/bin/nbde_client-network-flush",
    "gid": 0,
    "group": "root",
    "md5sum": "7947aade05c625cd8173078c3da0c37b",
    "mode": "0755",
    "owner": "root",
    "secontext": "system_u:object_r:bin_t:s0",
    "size": 1109,
    "src": "/root/.ansible/tmp/ansible-tmp-1652798797.649046-11212-180168811053914/source",
    "state": "file",
    "uid": 0
}

TASK [linux-system-roles.nbde_client : Deploy network flushing service] ********
changed: [sut] => {
    "changed": true,
    "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe",
    "dest": "/etc/systemd/system/nbde_client-network-flush.service",
    "gid": 0,
    "group": "root",
    "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c",
    "mode": "0644",
    "owner": "root",
    "secontext": "system_u:object_r:systemd_unit_file_t:s0",
    "size": 218,
    "src": "/root/.ansible/tmp/ansible-tmp-1652798798.495367-11232-140661061046109/source",
    "state": "file",
    "uid": 0
}

TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] ***
changed: [sut] => {
    "changed": true,
    "dest": "/usr/lib/dracut/modules.d/60nbde_client/",
    "src": "/WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/files/nbde_client/"
}

TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] ***
ok: [sut] => {
    "changed": false,
    "cmd": [
        "/usr/bin/nbde_client-network-flush",
        "reset-autoconn-prio"
    ],
    "delta": "0:00:00.070878",
    "end": "2022-05-17 14:46:40.843303",
    "rc": 0,
    "start": "2022-05-17 14:46:40.772425"
}

TASK [linux-system-roles.nbde_client : Reload systemd config] ******************
ok: [sut] => {
    "changed": false,
    "name": null,
    "status": {}
}

TASK [linux-system-roles.nbde_client : Enable network flushing service] ********
changed: [sut] => {
    "changed": true,
    "enabled": true,
    "name": "nbde_client-network-flush.service",
    "status": {
        "ActiveEnterTimestampMonotonic": "0",
        "ActiveExitTimestampMonotonic": "0",
        "ActiveState": "inactive",
        "After": "sysinit.target basic.target systemd-journald.socket system.slice",
        "AllowIsolate": "no",
        "AllowedCPUs": "",
        "AllowedMemoryNodes": "",
        "AmbientCapabilities": "",
        "AssertResult": "no",
        "AssertTimestampMonotonic": "0",
        "Before": "network-pre.target shutdown.target",
        "BlockIOAccounting": "no",
        "BlockIOWeight": "[not set]",
        "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": "yes",
        "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",
        "Delegate": "no",
        "Description": "Network flush service for nbde_client Ansible role",
        "DevicePolicy": "auto",
        "DynamicUser": "no",
        "EffectiveCPUs": "",
        "EffectiveMemoryNodes": "",
        "ExecMainCode": "0",
        "ExecMainExitTimestampMonotonic": "0",
        "ExecMainPID": "0",
        "ExecMainStartTimestampMonotonic": "0",
        "ExecMainStatus": "0",
        "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "FailureAction": "none",
        "FileDescriptorStoreMax": "0",
        "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service",
        "FreezerState": "running",
        "GID": "[not set]",
        "GuessMainPID": "yes",
        "IOAccounting": "no",
        "IOSchedulingClass": "0",
        "IOSchedulingPriority": "0",
        "IOWeight": "[not set]",
        "IPAccounting": "no",
        "IPEgressBytes": "18446744073709551615",
        "IPEgressPackets": "18446744073709551615",
        "IPIngressBytes": "18446744073709551615",
        "IPIngressPackets": "18446744073709551615",
        "Id": "nbde_client-network-flush.service",
        "IgnoreOnIsolate": "no",
        "IgnoreSIGPIPE": "yes",
        "InactiveEnterTimestampMonotonic": "0",
        "InactiveExitTimestampMonotonic": "0",
        "JobRunningTimeoutUSec": "infinity",
        "JobTimeoutAction": "none",
        "JobTimeoutUSec": "infinity",
        "KeyringMode": "private",
        "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": "14166",
        "LimitNPROCSoft": "14166",
        "LimitRSS": "infinity",
        "LimitRSSSoft": "infinity",
        "LimitRTPRIO": "0",
        "LimitRTPRIOSoft": "0",
        "LimitRTTIME": "infinity",
        "LimitRTTIMESoft": "infinity",
        "LimitSIGPENDING": "14166",
        "LimitSIGPENDINGSoft": "14166",
        "LimitSTACK": "infinity",
        "LimitSTACKSoft": "8388608",
        "LoadState": "loaded",
        "LockPersonality": "no",
        "LogLevelMax": "-1",
        "LogRateLimitBurst": "0",
        "LogRateLimitIntervalUSec": "0",
        "LogsDirectoryMode": "0755",
        "MainPID": "0",
        "MemoryAccounting": "yes",
        "MemoryCurrent": "[not set]",
        "MemoryDenyWriteExecute": "no",
        "MemoryHigh": "infinity",
        "MemoryLimit": "infinity",
        "MemoryLow": "0",
        "MemoryMax": "infinity",
        "MemoryMin": "0",
        "MemorySwapMax": "infinity",
        "MountAPIVFS": "no",
        "MountFlags": "",
        "NFileDescriptorStore": "0",
        "NRestarts": "0",
        "NUMAMask": "",
        "NUMAPolicy": "n/a",
        "Names": "nbde_client-network-flush.service",
        "NeedDaemonReload": "no",
        "Nice": "0",
        "NoNewPrivileges": "no",
        "NonBlocking": "no",
        "NotifyAccess": "none",
        "OOMScoreAdjust": "0",
        "OnFailureJobMode": "replace",
        "PermissionsStartOnly": "no",
        "Perpetual": "no",
        "PrivateDevices": "no",
        "PrivateMounts": "no",
        "PrivateNetwork": "no",
        "PrivateTmp": "no",
        "PrivateUsers": "no",
        "ProtectControlGroups": "no",
        "ProtectHome": "no",
        "ProtectKernelModules": "no",
        "ProtectKernelTunables": "no",
        "ProtectSystem": "no",
        "RefuseManualStart": "no",
        "RefuseManualStop": "no",
        "RemainAfterExit": "no",
        "RemoveIPC": "no",
        "Requires": "sysinit.target system.slice",
        "Restart": "no",
        "RestartUSec": "100ms",
        "RestrictNamespaces": "no",
        "RestrictRealtime": "no",
        "RestrictSUIDSGID": "no",
        "Result": "success",
        "RootDirectoryStartOnly": "no",
        "RuntimeDirectoryMode": "0755",
        "RuntimeDirectoryPreserve": "no",
        "RuntimeMaxUSec": "infinity",
        "SameProcessGroup": "no",
        "SecureBits": "0",
        "SendSIGHUP": "no",
        "SendSIGKILL": "yes",
        "Slice": "system.slice",
        "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",
        "StatusErrno": "0",
        "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": "22665",
        "TimeoutStartUSec": "1min 30s",
        "TimeoutStopUSec": "1min 30s",
        "TimerSlackNSec": "50000",
        "Transient": "no",
        "Type": "simple",
        "UID": "[not set]",
        "UMask": "0022",
        "UnitFilePreset": "disabled",
        "UnitFileState": "disabled",
        "UtmpMode": "init",
        "Wants": "network-pre.target",
        "WatchdogTimestampMonotonic": "0",
        "WatchdogUSec": "0"
    }
}

TASK [Attempt to unlock device] ************************************************
included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/tasks/verify_unlock_device.yml for sut

TASK [Verify we can unlock the device] *****************************************
fatal: [sut]: FAILED! => {
    "changed": false,
    "cmd": [
        "clevis",
        "luks",
        "unlock",
        "-d",
        "/tmp/.nbde_client_dev_test",
        "-n",
        "nbde_client_unlocked"
    ],
    "delta": "0:00:00.073246",
    "end": "2022-05-17 14:46:42.441867",
    "rc": 1,
    "start": "2022-05-17 14:46:42.368621"
}

STDERR:

/tmp/.nbde_client_dev_test could not be opened.


MSG:

non-zero return code
...ignoring

TASK [Close unlocked device] ***************************************************
fatal: [sut]: FAILED! => {
    "changed": false,
    "cmd": [
        "cryptsetup",
        "close",
        "nbde_client_unlocked"
    ],
    "delta": "0:00:00.011393",
    "end": "2022-05-17 14:46:42.684034",
    "rc": 4,
    "start": "2022-05-17 14:46:42.672641"
}

STDERR:

Device nbde_client_unlocked is not active.


MSG:

non-zero return code
...ignoring

TASK [Make sure the attempt to unlock failed] **********************************
ok: [sut] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Assert idempotency when trying to only unbind] ***************************
included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/tasks/verify_idempotency.yml for sut

TASK [Use nbde_client role - idempotency check] ********************************

TASK [linux-system-roles.nbde_client : Set version specific variables] *********
included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for sut

TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ******
ok: [sut]

TASK [linux-system-roles.nbde_client : Set platform/version specific variables] ***
ok: [sut] => {
    "ansible_facts": {
        "__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": [
        "/WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/vars/RedHat_8.yml"
    ],
    "changed": false
}

TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] ***
included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for sut

TASK [linux-system-roles.nbde_client : Ensure required packages are installed] ***
ok: [sut] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] *************
ok: [sut] => {
    "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 2022-05-17 14:46:41 UTC",
        "StateChangeTimestampMonotonic": "412694593",
        "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 [linux-system-roles.nbde_client : Generate nbde_client dracut config] *****
ok: [sut] => {
    "changed": false,
    "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a",
    "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": 91,
    "state": "file",
    "uid": 0
}

TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] ***
ok: [sut] => {
    "changed": false,
    "original_bindings": [
        {
            "device": "/tmp/.nbde_client_dev_test",
            "encryption_password": "test-password-here",
            "password_temporary": false,
            "servers": [],
            "slot": 1,
            "state": "absent",
            "threshold": 1
        }
    ]
}

TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] ***
skipping: [sut] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.nbde_client : Ensure we transfer key files] ***********
skipping: [sut] => (item=)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": {
        "device": "/tmp/.nbde_client_dev_test",
        "encryption_password": "test-password-here",
        "state": "absent"
    },
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.nbde_client : Perform clevis operations] **************
skipping: [sut] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] ***
skipping: [sut] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.nbde_client : Deploy network flushing script] *********
ok: [sut] => {
    "changed": false,
    "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c",
    "dest": "/usr/bin/nbde_client-network-flush",
    "gid": 0,
    "group": "root",
    "mode": "0755",
    "owner": "root",
    "path": "/usr/bin/nbde_client-network-flush",
    "secontext": "system_u:object_r:bin_t:s0",
    "size": 1109,
    "state": "file",
    "uid": 0
}

TASK [linux-system-roles.nbde_client : Deploy network flushing service] ********
ok: [sut] => {
    "changed": false,
    "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe",
    "dest": "/etc/systemd/system/nbde_client-network-flush.service",
    "gid": 0,
    "group": "root",
    "mode": "0644",
    "owner": "root",
    "path": "/etc/systemd/system/nbde_client-network-flush.service",
    "secontext": "system_u:object_r:systemd_unit_file_t:s0",
    "size": 218,
    "state": "file",
    "uid": 0
}

TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] ***
ok: [sut] => {
    "changed": false,
    "dest": "/usr/lib/dracut/modules.d/60nbde_client/",
    "src": "/WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/roles/linux-system-roles.nbde_client/files/nbde_client/"
}

TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] ***
ok: [sut] => {
    "changed": false,
    "cmd": [
        "/usr/bin/nbde_client-network-flush",
        "reset-autoconn-prio"
    ],
    "delta": "0:00:00.040140",
    "end": "2022-05-17 14:46:49.766190",
    "rc": 0,
    "start": "2022-05-17 14:46:49.726050"
}

TASK [linux-system-roles.nbde_client : Reload systemd config] ******************
ok: [sut] => {
    "changed": false,
    "name": null,
    "status": {}
}

TASK [linux-system-roles.nbde_client : Enable network flushing service] ********
ok: [sut] => {
    "changed": false,
    "enabled": true,
    "name": "nbde_client-network-flush.service",
    "status": {
        "ActiveEnterTimestampMonotonic": "0",
        "ActiveExitTimestampMonotonic": "0",
        "ActiveState": "inactive",
        "After": "systemd-journald.socket sysinit.target system.slice basic.target",
        "AllowIsolate": "no",
        "AllowedCPUs": "",
        "AllowedMemoryNodes": "",
        "AmbientCapabilities": "",
        "AssertResult": "no",
        "AssertTimestampMonotonic": "0",
        "Before": "network-pre.target shutdown.target",
        "BlockIOAccounting": "no",
        "BlockIOWeight": "[not set]",
        "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": "yes",
        "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",
        "Delegate": "no",
        "Description": "Network flush service for nbde_client Ansible role",
        "DevicePolicy": "auto",
        "DynamicUser": "no",
        "EffectiveCPUs": "",
        "EffectiveMemoryNodes": "",
        "ExecMainCode": "0",
        "ExecMainExitTimestampMonotonic": "0",
        "ExecMainPID": "0",
        "ExecMainStartTimestampMonotonic": "0",
        "ExecMainStatus": "0",
        "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }",
        "FailureAction": "none",
        "FileDescriptorStoreMax": "0",
        "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service",
        "FreezerState": "running",
        "GID": "[not set]",
        "GuessMainPID": "yes",
        "IOAccounting": "no",
        "IOSchedulingClass": "0",
        "IOSchedulingPriority": "0",
        "IOWeight": "[not set]",
        "IPAccounting": "no",
        "IPEgressBytes": "18446744073709551615",
        "IPEgressPackets": "18446744073709551615",
        "IPIngressBytes": "18446744073709551615",
        "IPIngressPackets": "18446744073709551615",
        "Id": "nbde_client-network-flush.service",
        "IgnoreOnIsolate": "no",
        "IgnoreSIGPIPE": "yes",
        "InactiveEnterTimestampMonotonic": "0",
        "InactiveExitTimestampMonotonic": "0",
        "JobRunningTimeoutUSec": "infinity",
        "JobTimeoutAction": "none",
        "JobTimeoutUSec": "infinity",
        "KeyringMode": "private",
        "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": "14166",
        "LimitNPROCSoft": "14166",
        "LimitRSS": "infinity",
        "LimitRSSSoft": "infinity",
        "LimitRTPRIO": "0",
        "LimitRTPRIOSoft": "0",
        "LimitRTTIME": "infinity",
        "LimitRTTIMESoft": "infinity",
        "LimitSIGPENDING": "14166",
        "LimitSIGPENDINGSoft": "14166",
        "LimitSTACK": "infinity",
        "LimitSTACKSoft": "8388608",
        "LoadState": "loaded",
        "LockPersonality": "no",
        "LogLevelMax": "-1",
        "LogRateLimitBurst": "0",
        "LogRateLimitIntervalUSec": "0",
        "LogsDirectoryMode": "0755",
        "MainPID": "0",
        "MemoryAccounting": "yes",
        "MemoryCurrent": "[not set]",
        "MemoryDenyWriteExecute": "no",
        "MemoryHigh": "infinity",
        "MemoryLimit": "infinity",
        "MemoryLow": "0",
        "MemoryMax": "infinity",
        "MemoryMin": "0",
        "MemorySwapMax": "infinity",
        "MountAPIVFS": "no",
        "MountFlags": "",
        "NFileDescriptorStore": "0",
        "NRestarts": "0",
        "NUMAMask": "",
        "NUMAPolicy": "n/a",
        "Names": "nbde_client-network-flush.service",
        "NeedDaemonReload": "no",
        "Nice": "0",
        "NoNewPrivileges": "no",
        "NonBlocking": "no",
        "NotifyAccess": "none",
        "OOMScoreAdjust": "0",
        "OnFailureJobMode": "replace",
        "PermissionsStartOnly": "no",
        "Perpetual": "no",
        "PrivateDevices": "no",
        "PrivateMounts": "no",
        "PrivateNetwork": "no",
        "PrivateTmp": "no",
        "PrivateUsers": "no",
        "ProtectControlGroups": "no",
        "ProtectHome": "no",
        "ProtectKernelModules": "no",
        "ProtectKernelTunables": "no",
        "ProtectSystem": "no",
        "RefuseManualStart": "no",
        "RefuseManualStop": "no",
        "RemainAfterExit": "no",
        "RemoveIPC": "no",
        "Requires": "system.slice sysinit.target",
        "Restart": "no",
        "RestartUSec": "100ms",
        "RestrictNamespaces": "no",
        "RestrictRealtime": "no",
        "RestrictSUIDSGID": "no",
        "Result": "success",
        "RootDirectoryStartOnly": "no",
        "RuntimeDirectoryMode": "0755",
        "RuntimeDirectoryPreserve": "no",
        "RuntimeMaxUSec": "infinity",
        "SameProcessGroup": "no",
        "SecureBits": "0",
        "SendSIGHUP": "no",
        "SendSIGKILL": "yes",
        "Slice": "system.slice",
        "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",
        "StatusErrno": "0",
        "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": "22665",
        "TimeoutStartUSec": "1min 30s",
        "TimeoutStopUSec": "1min 30s",
        "TimerSlackNSec": "50000",
        "Transient": "no",
        "Type": "simple",
        "UID": "[not set]",
        "UMask": "0022",
        "UnitFilePreset": "disabled",
        "UnitFileState": "enabled",
        "UtmpMode": "init",
        "Wants": "network-pre.target",
        "WatchdogTimestampMonotonic": "0",
        "WatchdogUSec": "0"
    }
}

TASK [Verify idempotency of clevis operations] *********************************
ok: [sut] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Clean up test environment] ***********************************************
included: /WORKDIR/dist-git-nbde_client-master-GqtFvs/tests/tasks/cleanup_test.yml for sut

TASK [Clean up dummy testing device] *******************************************
changed: [sut] => {
    "changed": true,
    "path": "/tmp/.nbde_client_dev_test",
    "state": "absent"
}

TASK [Clean up dummy key file] *************************************************
changed: [sut -> localhost] => {
    "changed": true,
    "path": "/tmp/.nbde_client_dev_encryption_key",
    "state": "absent"
}

TASK [Clean up dummy key file on managed host] *********************************
ok: [sut] => {
    "changed": false,
    "path": "/tmp/.nbde_client_dev_encryption_key",
    "state": "absent"
}

RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] ***
changed: [sut] => {
    "changed": true,
    "cmd": [
        "dracut",
        "-fv",
        "--regenerate-all"
    ],
    "delta": "0:00:28.619074",
    "end": "2022-05-17 14:47:20.491363",
    "rc": 0,
    "start": "2022-05-17 14:46:51.872289"
}

STDERR:

dracut: Executing: /usr/bin/dracut --kver=4.18.0-348.el8.x86_64 -fv
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'ifcfg' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found!
dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: memstrack is available
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found!
dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: nss-softokn ***
dracut: *** Including module: rngd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: network-manager ***
dracut: *** Including module: network ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: clevis ***
dracut: *** Including module: clevis-pin-sss ***
dracut: *** Including module: clevis-pin-tang ***
dracut: *** Including module: clevis-pin-tpm2 ***
dracut: *** Including module: nbde_client ***
dracut: *** Including module: prefixdevname ***
dracut: *** Including module: crypt ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: kernel-network-modules ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: biosdevname ***
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: memstrack ***
dracut: *** Including module: microcode_ctl-fw_dir_override ***
dracut:   microcode_ctl module: mangling fw_dir
dracut:     microcode_ctl: reset fw_dir to "/lib/firmware/updates /lib/firmware"
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel"...
intel: model '', path ' intel-ucode/*', kvers ''
dracut:       microcode_ctl: intel: caveats check for kernel version "4.18.0-348.el8.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel" to fw_dir variable
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07"...
intel-06-2d-07: model 'GenuineIntel 06-2d-07', path ' intel-ucode/06-2d-07', kvers ''
Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-2d-07', skipping
dracut:     microcode_ctl: configuration "intel-06-2d-07" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4e-03"...
intel-06-4e-03: model 'GenuineIntel 06-4e-03', path ' intel-ucode/06-4e-03', kvers ''
Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-4e-03', skipping
dracut:     microcode_ctl: configuration "intel-06-4e-03" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01"...
intel-06-4f-01: model 'GenuineIntel 06-4f-01', path ' intel-ucode/06-4f-01', kvers ' 4.17.0 3.10.0-894 3.10.0-862.6.1 3.10.0-693.35.1 3.10.0-514.52.1 3.10.0-327.70.1 2.6.32-754.1.1 2.6.32-573.58.1 2.6.32-504.71.1 2.6.32-431.90.1 2.6.32-358.90.1'
Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-4f-01', skipping
dracut:     microcode_ctl: configuration "intel-06-4f-01" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04"...
intel-06-55-04: model 'GenuineIntel 06-55-04', path ' intel-ucode/06-55-04', kvers ''
Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-55-04', skipping
dracut:     microcode_ctl: configuration "intel-06-55-04" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03"...
intel-06-5e-03: model 'GenuineIntel 06-5e-03', path ' intel-ucode/06-5e-03', kvers ''
Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-5e-03', skipping
dracut:     microcode_ctl: configuration "intel-06-5e-03" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01"...
intel-06-8c-01: model 'GenuineIntel 06-8c-01', path ' intel-ucode/06-8c-01', kvers ''
Current CPU model 'GenuineIntel 06-3e-04' doesn't match configuration CPU model 'GenuineIntel 06-8c-01', skipping
dracut:     microcode_ctl: configuration "intel-06-8c-01" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-0xca"...
intel-06-8e-9e-0x-0xca: model '', path ' intel-ucode/*', kvers ''
No matching microcode files in ' intel-ucode/*' for CPU model 'GenuineIntel 06-3e-04', skipping
dracut:     microcode_ctl: configuration "intel-06-8e-9e-0x-0xca" is ignored
dracut:     microcode_ctl: processing data directory  "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell"...
intel-06-8e-9e-0x-dell: model '', path ' intel-ucode/*', kvers ''
No matching microcode files in ' intel-ucode/*' for CPU model 'GenuineIntel 06-3e-04', skipping
dracut:     microcode_ctl: configuration "intel-06-8e-9e-0x-dell" is ignored
dracut:     microcode_ctl: final fw_dir: "/usr/share/microcode_ctl/ucode_with_caveats/intel /lib/firmware/updates /lib/firmware"
dracut: *** Including module: shutdown ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing GenuineIntel.bin ***
dracut: *** Constructing GenuineIntel.bin ***
dracut: *** Store current command line parameters ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initramfs-4.18.0-348.el8.x86_64.img' ***
dracut: *** Creating initramfs image file '/boot/initramfs-4.18.0-348.el8.x86_64.img' done ***

PLAY RECAP *********************************************************************
sut                        : ok=59   changed=18   unreachable=0    failed=0    skipped=7    rescued=0    ignored=2   


---^---^---^---^---^---

# STDERR:
---v---v---v---v---v---

---^---^---^---^---^---