Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use stat.pw_name, stat.gr_name instead of owner, group #377

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tasks/main-blivet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@
state: "{{ entry.state }}"
create: true
mode: "{{ __storage_crypttab.stat.mode | d('0600') }}"
owner: "{{ __storage_crypttab.stat.owner | d('root') }}"
group: "{{ __storage_crypttab.stat.group | d('root') }}"
owner: "{{ __storage_crypttab.stat.pw_name | d('root') }}"
group: "{{ __storage_crypttab.stat.gr_name | d('root') }}"
loop: "{{ blivet_output.crypts }}"
loop_control:
loop_var: entry
Expand Down
15 changes: 15 additions & 0 deletions tests/tests_raid_volume_cleanup_nvme_generated.yml
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
15 changes: 15 additions & 0 deletions tests/tests_raid_volume_cleanup_scsi_generated.yml
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
Loading