Change example syntax on easy_install module

This commit is contained in:
Sam Doran 2016-10-13 09:35:10 -04:00 committed by Matt Clay
parent 4c93d3edf0
commit 8a1bd4178a

View file

@ -90,10 +90,14 @@ author: "Matt Wright (@mattupstate)"
EXAMPLES = ''' EXAMPLES = '''
# Examples from Ansible Playbooks # Examples from Ansible Playbooks
- easy_install: name=pip state=latest - easy_install:
name: pip
state: latest
# Install Bottle into the specified virtualenv. # 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): def _is_package_installed(module, name, easy_install, executable_arguments):