New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra_args parameter to easy_install module #43616

Open
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
3 participants
@kapsh

kapsh commented Aug 2, 2018

SUMMARY

Add ability to pass custom arguments to easy_install (similarly as for pip).

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

modules/packaging/language/easy_install.py

ANSIBLE VERSION
ansible 2.7.0.dev0 (extra_args 12411d5a35) last updated 2018/08/02 21:29:37 (GMT +300)
  config file = None
  configured module search path = ['/home/kapsh/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/kapsh/repos/ansible/lib/ansible
  executable location = /home/kapsh/repos/ansible/bin/ansible
  python version = 3.6.6 (default, Aug  2 2018, 17:55:38) [GCC 7.3.0]

ADDITIONAL INFORMATION

My use case for this functionality was to install pip on old system without Internet access but with local pypi mirror present. I added this to usage examples. But other easy_install options could be used as well.


@ansibot

This comment has been minimized.

Contributor

ansibot commented Aug 2, 2018

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

lib/ansible/modules/packaging/language/easy_install.py:0:0: E309 version_added for new option (extra_args) should be 2.7. Currently 0.0

click here for bot help

@ansibot

This comment has been minimized.

Contributor

ansibot commented Aug 2, 2018

@ansibot

This comment has been minimized.

Contributor

ansibot commented Nov 25, 2018

The test ansible-test sanity --test validate-modules [explain] failed with 1 error:

lib/ansible/modules/packaging/language/easy_install.py:0:0: E309 version_added for new option (extra_args) should be 2.8. Currently 2.7

click here for bot help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment