Fixup ec2_facts docs parsing

reviewable/pr18780/r1
Michael DeHaan 13 years ago
parent 148fe8e744
commit 4905527e2e

@ -16,8 +16,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
DOCUMENTATION="""
DOCUMENTATION = '''
--- ---
module: ec2_facts module: ec2_facts
short_description: Gathers facts about remote hosts within ec2 (aws) short_description: Gathers facts about remote hosts within ec2 (aws)
@ -29,12 +28,10 @@ description:
notes: notes:
- Parameters to filter on ec2_facts may be added later. - Parameters to filter on ec2_facts may be added later.
examples: examples:
- code: ansible all -m ec2_facts --tree /tmp/facts - code: ansible all -m ec2_facts
description: Obtain facts from ec2 metatdata servers. You will need to description: Obtain facts from ec2 metatdata servers. You will need to run an instance within ec2.
run an instance within ec2. author: "Silviu Dicu <silviudicu@gmail.com>"
"""
author: Silviu Dicu: silviudicu@gmail.com
'''
import urllib2 import urllib2
import socket import socket

Loading…
Cancel
Save