linux-system-roles / nbde_client

Ansible role for configuring Network Bound Disk Encryption clients (e.g. clevis)
https://linux-system-roles.github.io/nbde_client/
MIT License
14 stars 24 forks source link

Support versioned members of same os_family #83

Closed scratchings closed 2 months ago

scratchings commented 1 year ago

Support platforms that lacks a specific configuration file but which could use the equivalent os_family based file, e.g. RedHat_9.yml for systems that Ansible recognises as in the 'RedHat' family. Where this role was run without this support the nbde_client.conf file is likely to be incorrectly generated and so running the update initramfs on change is important.

richm commented 1 year ago

Support platforms that lacks a specific configuration file but which could use the equivalent os_family based file, e.g. RedHat_9.yml for systems that Ansible recognises as in the 'RedHat' family. Where this role was run without this support the nbde_client.conf file is likely to be incorrectly generated and so running the update initramfs on change is important.

Hmm - many of the system roles use this method for setting platform/version specific variables, and would also likely need to be changed. Can you provide an example of a situation where the current code fails to properly set platform/version specific variables?