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

We must allow to define additional options to format the block devices #45

Open
btravouillon opened this issue Nov 13, 2024 · 0 comments · May be fixed by #46
Open

We must allow to define additional options to format the block devices #45

btravouillon opened this issue Nov 13, 2024 · 0 comments · May be fixed by #46

Comments

@btravouillon
Copy link

There is a task to format the file system during the setup of the storage daemon service which does not allow to define the opts while is a parameter of the community.general.filesystem module. The ability to define format options must be supported.

- name: Create file systems
community.general.filesystem:
fstype: "{{ item.fstype | default('ext4') }}"
dev: "{{ item.block_device }}"
force: false
state: present
loop: "{{ bareos_devices }}"
# Create file system only when block_device starts with '/dev/'
when:
- item.block_device is defined
- item.block_device[:5] == '/dev/'

btravouillon added a commit that referenced this issue Nov 13, 2024
The user must be able to define additional parameters to format the
block devices used by the storage daemon service.

Fixes #45
@btravouillon btravouillon linked a pull request Nov 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant