Fixup ec2_facts docs parsing
This commit is contained in:
parent
148fe8e744
commit
4905527e2e
1 changed files with 5 additions and 8 deletions
13
ec2_facts
13
ec2_facts
|
@ -16,8 +16,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
DOCUMENTATION = '''
|
||||
DOCUMENTATION="""
|
||||
---
|
||||
module: ec2_facts
|
||||
short_description: Gathers facts about remote hosts within ec2 (aws)
|
||||
|
@ -29,12 +28,10 @@ description:
|
|||
notes:
|
||||
- Parameters to filter on ec2_facts may be added later.
|
||||
examples:
|
||||
- code: ansible all -m ec2_facts --tree /tmp/facts
|
||||
description: Obtain facts from ec2 metatdata servers. You will need to
|
||||
run an instance within ec2.
|
||||
|
||||
author: Silviu Dicu: silviudicu@gmail.com
|
||||
'''
|
||||
- code: ansible all -m ec2_facts
|
||||
description: Obtain facts from ec2 metatdata servers. You will need to run an instance within ec2.
|
||||
author: "Silviu Dicu <silviudicu@gmail.com>"
|
||||
"""
|
||||
|
||||
import urllib2
|
||||
import socket
|
||||
|
|
Loading…
Reference in a new issue