You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to run luks_device against an already-open luks device named 'crypt00', I get a failure.
- name: Ensure encrypted disk is open
community.crypto.luks_device:
device: '/dev/sda'
name: 'crypt00'
state: 'opened'
passphrase: "{{ luks_pw }}"
EXPECTED RESULTS
an "ok" response from ansible, indicating that the device is already open and no actions will be taken
ACTUAL RESULTS
I receive an error (listed below). If I change the name of the luks device to "enc00," the command works as expected. I suspect an issue similar to #409.
"luks_device error: Error while
creating LUKS on /dev/sda: Cannot exclusively open /dev/sda, device in use.\
The text was updated successfully, but these errors were encountered:
SUMMARY
If I try to run
luks_device
against an already-open luks device named 'crypt00', I get a failure.ISSUE TYPE
COMPONENT NAME
community.crypto.luks_device
ANSIBLE VERSION
COLLECTION VERSION
-->
CONFIGURATION
OS / ENVIRONMENT
controller: MacOS
host: Debian Bookworm
STEPS TO REPRODUCE
If I try to run
luks_device
against an already-open luks device named 'crypt00', I get a failure.EXPECTED RESULTS
an "ok" response from ansible, indicating that the device is already open and no actions will be taken
ACTUAL RESULTS
I receive an error (listed below). If I change the name of the luks device to "enc00," the command works as expected. I suspect an issue similar to #409.
The text was updated successfully, but these errors were encountered: