0 Online help
$ ansible-doc user
$ ansible-doc group
1 user - Manage user accounts
- "name" is the only key to identify a user
- this module returns the properties of the named user.
- with "non-unique", multi-users can share the same uid.
EXAMPLE:
- name: set user01's password
user:
name: user01
password: "{{ 'pass123' | password_hash('sha512', 65535|random(seed=inventory_hostname)|string) }}"
2 group - Add or remove groups
- "name" is the only key to identify a group
- this module returns the properties of the named group.
- "with non-unique", multi-groups can share the same gid.
No comments:
Post a Comment