host: minor doc style improvements

This commit is contained in:
Rene Moser 2013-09-24 15:46:24 +02:00
parent eca73d3c82
commit 9f969cd3ec

View file

@ -23,19 +23,19 @@ DOCUMENTATION = '''
module: host module: host
author: René Moser author: René Moser
version_added: "1.4" 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: requirements:
description: description:
- Manage entries in /etc/hosts - Manage entries in C(/etc/hosts).
options: options:
ip: ip:
required: false required: false
description: description:
- IP address. Required on state "present". - IP address. Required if C(state=present).
hostname: hostname:
required: false required: false
description: description:
- name of host. Required on state "present". - name of host. Required if C(state=present).
aliases: aliases:
required: false required: false
description: description:
@ -45,7 +45,7 @@ options:
default: "present" default: "present"
choices: [ present, absent ] choices: [ present, absent ]
description: 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 = ''' EXAMPLES = '''