Added attribution to all module DOCUMENTATION strings

This commit is contained in:
Jan-Piet Mens 2012-10-01 12:37:51 +02:00
parent d7ee918419
commit a790c399f4
5 changed files with 5 additions and 0 deletions

1
file
View file

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

View file

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

View file

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

1
raw
View file

@ -18,4 +18,5 @@ description:
examples:
- 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
author: Michael DeHaan
'''

1
setup
View file

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