|
|
@ -16,7 +16,7 @@ options:
|
|
|
|
mode:
|
|
|
|
mode:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The permissions the resulting filesystem object should have.
|
|
|
|
- The permissions the resulting filesystem object should have.
|
|
|
|
- For those used to I(/usr/bin/chmod) remember that modes are actually octal numbers.
|
|
|
|
- For those used to C(/usr/bin/chmod) remember that modes are actually octal numbers.
|
|
|
|
You must give Ansible enough information to parse them correctly.
|
|
|
|
You must give Ansible enough information to parse them correctly.
|
|
|
|
For consistent results, quote octal numbers (for example, V('644') or V('1777')) so Ansible receives
|
|
|
|
For consistent results, quote octal numbers (for example, V('644') or V('1777')) so Ansible receives
|
|
|
|
a string and can do its own conversion from string into number.
|
|
|
|
a string and can do its own conversion from string into number.
|
|
|
@ -33,7 +33,7 @@ options:
|
|
|
|
type: raw
|
|
|
|
type: raw
|
|
|
|
owner:
|
|
|
|
owner:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Name of the user that should own the filesystem object, as would be fed to I(chown).
|
|
|
|
- Name of the user that should own the filesystem object, as would be fed to C(chown).
|
|
|
|
- When left unspecified, it uses the current user unless you are root, in which
|
|
|
|
- When left unspecified, it uses the current user unless you are root, in which
|
|
|
|
case it can preserve the previous ownership.
|
|
|
|
case it can preserve the previous ownership.
|
|
|
|
- Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.
|
|
|
|
- Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.
|
|
|
@ -41,7 +41,7 @@ options:
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
group:
|
|
|
|
group:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Name of the group that should own the filesystem object, as would be fed to I(chown).
|
|
|
|
- Name of the group that should own the filesystem object, as would be fed to C(chown).
|
|
|
|
- When left unspecified, it uses the current group of the current user unless you are root,
|
|
|
|
- When left unspecified, it uses the current group of the current user unless you are root,
|
|
|
|
in which case it can preserve the previous ownership.
|
|
|
|
in which case it can preserve the previous ownership.
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
@ -82,8 +82,8 @@ options:
|
|
|
|
attributes:
|
|
|
|
attributes:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The attributes the resulting filesystem object should have.
|
|
|
|
- The attributes the resulting filesystem object should have.
|
|
|
|
- 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 C(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 C(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
|
|
|
|
type: str
|
|
|
|
aliases: [ attr ]
|
|
|
|
aliases: [ attr ]
|
|
|
|