Merge pull request #4225 from resmo/doc/hosts

host: minor doc style improvements
This commit is contained in:
James Cammarata 2013-09-24 07:21:32 -07:00
commit a364308b43

View file

@ -23,19 +23,19 @@ DOCUMENTATION = '''
module: host
author: René Moser
version_added: "1.4"
short_description: Add or remove entries in /etc/hosts.
short_description: Add, update or remove entries in C(/etc/hosts).
requirements:
description:
- Manage entries in /etc/hosts
- Manage entries in C(/etc/hosts).
options:
ip:
required: false
description:
- IP address. Required on state "present".
- IP address. Required if C(state=present).
hostname:
required: false
description:
- name of host. Required on state "present".
- name of host. Required if C(state=present).
aliases:
required: false
description:
@ -45,7 +45,7 @@ options:
default: "present"
choices: [ present, absent ]
description:
- Whether the entries should be present or not in /etc/hosts.
- Whether the entries should be present or not in C(/etc/hosts).
'''
EXAMPLES = '''