summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Doran <sdoran@ansible.com>2016-10-13 09:35:10 -0400
committerSam Doran <sdoran@ansible.com>2016-11-15 14:55:34 -0500
commit94392dd87aac71465b28a54c18ef9b4f0163b856 (patch)
tree2583335460deea3992d5967d448491ad207cf347
parent7363fd198bd73ad5b7ed6a7fd6ca03b33bb6ef83 (diff)
downloadansible-modules-core-94392dd87aac71465b28a54c18ef9b4f0163b856.tar.gz
Change example syntax on easy_install module
-rw-r--r--packaging/language/easy_install.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/packaging/language/easy_install.py b/packaging/language/easy_install.py
index 017f6b81..96d21ea8 100644
--- a/packaging/language/easy_install.py
+++ b/packaging/language/easy_install.py
@@ -90,10 +90,14 @@ author: "Matt Wright (@mattupstate)"
EXAMPLES = '''
# Examples from Ansible Playbooks
-- easy_install: name=pip state=latest
+- easy_install:
+ name: pip
+ state: latest
# Install Bottle into the specified virtualenv.
-- easy_install: name=bottle virtualenv=/webapps/myapp/venv
+- easy_install:
+ name: bottle
+ virtualenv: /webapps/myapp/venv
'''
def _is_package_installed(module, name, easy_install, executable_arguments):