Update docs.

reviewable/pr18780/r1
Michael DeHaan 10 years ago
parent f6f184b36d
commit 66ec9089bd

@ -61,18 +61,23 @@ author: Brian Coca
EXAMPLES = '''
# get root user info
- getent: database=passwd key=root
register: root_info
# get all groups
- getent: database=group split=':'
register: groups
# get all hosts, split by tab
- getent: database=hosts
register: hosts
# get http service info, no error if missing
- getent: database=services key=http fail_key=False
register: http_info
# get user password hash (requires sudo/root)
- getent: database=shadow key=www-data split=:
register: pw_hash
'''

Loading…
Cancel
Save