Added attribution to all module DOCUMENTATION strings
This commit is contained in:
parent
d7ee918419
commit
a790c399f4
5 changed files with 5 additions and 0 deletions
1
file
1
file
|
@ -59,6 +59,7 @@ examples:
|
|||
notes:
|
||||
- See also M(copy), M(template), M(assemble)
|
||||
requirements: [ ]
|
||||
author: Michael DeHaan
|
||||
'''
|
||||
|
||||
def add_path_info(kwargs):
|
||||
|
|
1
get_url
1
get_url
|
@ -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
|
||||
|
|
|
@ -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
1
raw
|
@ -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
1
setup
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue