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
Adding example to use gid in file module #83049
base: devel
Are you sure you want to change the base?
Conversation
@@ -33,7 +33,7 @@ class ModuleDocFragment(object): | |||
type: raw | |||
owner: | |||
description: | |||
- Name of the user that should own the filesystem object, as would be fed to I(chown). | |||
- Name of the user or gid that should own the filesystem object, as would be fed to I(chown). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part of the change is incorrect; you cannot pass a GID to owner
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry. I changed the wrong line. It should be ok now.
It's good to know that the GID can be used for this module, Thanks @Remz42 |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
I think it's a great idea, I was wondering if it was possible to do that, thanks @Remz42 |
SUMMARY
I was searching a way to use gid to create a file.
When i inspected the code, i found it was possible to use gid as string (example: group: "1000").
I updated the doc and added an example.
ISSUE TYPE
ADDITIONAL INFORMATION