Updating doc with gid in file module

pull/83049/head
remz42 2 months ago
parent 82d91f0952
commit c8cefdb9e7
No known key found for this signature in database
GPG Key ID: 0438AA49398B619F

@ -133,6 +133,11 @@ EXAMPLES = r'''
group: foo
mode: '0644'
- name: Change file group using gid
ansible.builtin.file:
path: /etc/bar.conf
group: "1000"
- name: Give insecure permissions to an existing file
ansible.builtin.file:
path: /work

@ -33,7 +33,7 @@ options:
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).
- When left unspecified, it uses the current user unless you are root, in which
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.

Loading…
Cancel
Save