Added attribution to all module DOCUMENTATION strings

pull/1174/head
Jan-Piet Mens 12 years ago
parent 880328c10f
commit a72a6e42c5

@ -59,6 +59,7 @@ examples:
notes: notes:
- See also M(copy), M(template), M(assemble) - See also M(copy), M(template), M(assemble)
requirements: [ ] requirements: [ ]
author: Michael DeHaan
''' '''
def add_path_info(kwargs): def add_path_info(kwargs):

@ -67,6 +67,7 @@ notes:
- Also see the M(template) module. - Also see the M(template) module.
# informational: requirements for nodes # informational: requirements for nodes
requirements: [ urllib2, urlparse ] requirements: [ urllib2, urlparse ]
author: Jan-Piet Mens
''' '''
HAS_URLLIB2=True HAS_URLLIB2=True

@ -24,6 +24,7 @@ import os
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: lineinfile module: lineinfile
author: Daniel Hokka Zakrisson
short_description: Ensure a particular line is in a file short_description: Ensure a particular line is in a file
description: description:
- This module will search a file for a line, and ensure that it is present or absent. - This module will search a file for a line, and ensure that it is present or absent.

@ -18,4 +18,5 @@ description:
examples: examples:
- code: ansible newhost.example.com -m raw -a "yum -y install python-simplejson" - code: ansible newhost.example.com -m raw -a "yum -y install python-simplejson"
description: Example from /usr/bin/ansible to bootstrap a legacy python 2.4 host description: Example from /usr/bin/ansible to bootstrap a legacy python 2.4 host
author: Michael DeHaan
''' '''

@ -47,6 +47,7 @@ notes:
examples: examples:
- code: ansible all -m setup -tree /tmp/facts - code: ansible all -m setup -tree /tmp/facts
description: Obtain facts from all hosts and store them indexed by hostname at /tmp/facts. description: Obtain facts from all hosts and store them indexed by hostname at /tmp/facts.
author: Michael DeHaan
''' '''
try: try:

Loading…
Cancel
Save