-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use stat.pw_name, stat.gr_name instead of owner, group
Cause: The fields `stat.owner` and `stat.group` do not exist. Consequence: The crypttab was always being set to owner/group root. Fix: Use the correct fields `stat.pw_name` and `stat.gr_name`. Result: Owner and group of crypttab are preserved. See https://docs.ansible.com/ansible/2.9/modules/stat_module.html#return-stat/gr_name Signed-off-by: Rich Megginson <[email protected]>
- Loading branch information
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
# This file was generated by generate_tests.py | ||
- name: Run test tests_raid_volume_cleanup.yml for nvme | ||
hosts: all | ||
tags: | ||
- tests::nvme | ||
tasks: | ||
- name: Set disk interface for test | ||
set_fact: | ||
storage_test_use_interface: "nvme" | ||
|
||
- name: Import playbook | ||
import_playbook: tests_raid_volume_cleanup.yml | ||
tags: | ||
- tests::nvme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
# This file was generated by generate_tests.py | ||
- name: Run test tests_raid_volume_cleanup.yml for scsi | ||
hosts: all | ||
tags: | ||
- tests::scsi | ||
tasks: | ||
- name: Set disk interface for test | ||
set_fact: | ||
storage_test_use_interface: "scsi" | ||
|
||
- name: Import playbook | ||
import_playbook: tests_raid_volume_cleanup.yml | ||
tags: | ||
- tests::scsi |