1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add types to files fragment (#49996)

This commit is contained in:
Dag Wieers 2018-12-17 23:16:35 +01:00 committed by Sandra McCann
parent f461025dbb
commit 244c4c893d

View file

@ -26,27 +26,33 @@ options:
owner: owner:
description: description:
- Name of the user that should own the file/directory, as would be fed to I(chown). - Name of the user that should own the file/directory, as would be fed to I(chown).
type: str
group: group:
description: description:
- Name of the group that should own the file/directory, as would be fed to I(chown). - Name of the group that should own the file/directory, as would be fed to I(chown).
type: str
seuser: seuser:
description: description:
- The user part of the SELinux file context. - The user part of the SELinux file context.
- By default it uses the C(system) policy, where applicable. - By default it uses the C(system) policy, where applicable.
- When set to C(_default), it will use the C(user) portion of the policy if available. - When set to C(_default), it will use the C(user) portion of the policy if available.
type: str
serole: serole:
description: description:
- The role part of the SELinux file context. - The role part of the SELinux file context.
- When set to C(_default), it will use the C(role) portion of the policy if available. - When set to C(_default), it will use the C(role) portion of the policy if available.
type: str
setype: setype:
description: description:
- The type part of the SELinux file context. - The type part of the SELinux file context.
- When set to C(_default), it will use the C(type) portion of the policy if available. - When set to C(_default), it will use the C(type) portion of the policy if available.
type: str
selevel: selevel:
description: description:
- The level part of the SELinux file context. - The level part of the SELinux file context.
- This is the MLS/MCS attribute, sometimes known as the C(range). - This is the MLS/MCS attribute, sometimes known as the C(range).
- When set to C(_default), it will use the C(level) portion of the policy if available. - When set to C(_default), it will use the C(level) portion of the policy if available.
type: str
default: s0 default: s0
unsafe_writes: unsafe_writes:
description: description:
@ -66,6 +72,7 @@ options:
- To get supported flags look at the man page for I(chattr) on the target system. - To get supported flags look at the man page for I(chattr) on the target system.
- This string should contain the attributes in the same order as the one displayed by I(lsattr). - This string should contain the attributes in the same order as the one displayed by I(lsattr).
- The C(=) operator is assumed as default, otherwise C(+) or C(-) operators need to be included in the string. - The C(=) operator is assumed as default, otherwise C(+) or C(-) operators need to be included in the string.
type: str
aliases: [ attr ] aliases: [ attr ]
version_added: '2.3' version_added: '2.3'
''' '''