Matt Martz
45745424f7
pip module should call exit_json for absent as well (indentation error)
2016-03-07 16:11:01 -06:00
Brian Coca
e4c4f02472
Merge pull request #3074 from stefano-m/devel
...
Make 'executable' and 'virtualenv' mutually exclusive
2016-03-03 18:36:52 -05:00
Stefano Mazzucco
24c6b269c9
'executable' and 'virtualenv' mutually exclusive
...
fixes https://github.com/ansible/ansible/issues/14415
2016-02-19 11:52:33 +00:00
Joel Thompson
4b46200477
Add umask option to pip module
...
On systems with restrictive umasks, the pip module won't allow you to
install pip packages that are usable by everyone on the system. This
commit adds a umask option to optionally override the umask on a
per-package basis.
2016-01-13 00:30:29 -05:00
Brian Coca
4d2cdfe324
made note about choice availability in ansible ver
2016-01-11 18:22:41 -05:00
Brian Coca
8e066cd124
Merge pull request #2600 from cinerama70/pip-force-reinstall
...
Add support for pip force-reinstall
2016-01-11 18:17:50 -05:00
Michael Scherer
860635d38c
Add more precise documentation on the requirements parameter
...
Fix #427
2015-12-22 16:20:37 +01:00
stephane
8d986a62a9
Add support for pip force-reinstall
...
The pip command allows a user to force reinstallation,
but the module doesn't currently support it. Add
"force-reinstall" as a possible state.
2015-12-01 12:03:54 -08:00
Daniele Varrazzo
c860af29b2
Detect unchanged pip runs when using a vcs url in name
...
Should fix bug #1645
2015-11-03 14:51:23 +00:00
Daniele Varrazzo
a95fee4079
Use 'pip freeze' output to detect changes with requirement specified
...
If the requirements contains a repos url it will always report 'Successfully
installed'; there is no difference in the output to tell apart if
anything new was pulled. Use freeze to detect if the environment changed
in any way.
Should fix ansible/ansible#1705
2015-11-03 14:49:38 +00:00
Felix Engelmann
2a97e9f299
re-implements #226
...
in optional (editable) way
with backward compatibility
2015-11-03 12:45:00 +01:00
Brian Coca
22bfb54d9d
added comment explaining chdir defaults
2015-10-07 12:19:50 -04:00
Brian Coca
a639da7c44
default chdir to tmpdir to avoid virtualenv issues
2015-10-07 12:18:36 -04:00
Brian Coca
8c353d0516
make chdir a path so it resolves shell aliases
...
also removed this_dir logic as it is not needed, chdir is None by default and run_command can handle that.
2015-10-07 10:38:47 -04:00
Brian Coca
cf2be9607c
Merge pull request #533 from thataustin/devel
...
Updating rubygems --no-document param
2015-09-11 11:21:27 -04:00
Yuhui Huang
51666c6def
Checking pip uninstall output in both stdout and stderr
2015-07-21 16:07:25 -07:00
Brian Coca
1dafa427c3
added versionadded to new option in pip module
2015-07-20 20:53:33 -04:00
Brian Coca
5c17fd3f9a
Merge pull request #629 from wbolster/issue-586-virtualenv-python-version
...
Add virtualenv_python arg to pip module
2015-07-20 20:46:30 -04:00
Austin Brown
bb816f046c
Adding version detection
2015-06-29 23:13:29 -07:00
Brian Coca
a0d663bc65
Merge pull request #413 from JimPatterson/412_pip_check_venv
...
Correct check mode for pip in virtualenv.
2015-06-29 18:17:59 -04:00
Austin Brown
3c72e87152
Merge branch 'devel' of github.com:ansible/ansible-modules-core into devel
...
Conflicts:
packaging/language/gem.py
2015-06-26 11:21:43 -07:00
Brian Coca
7a33832606
fixed typo
2015-06-19 15:29:43 -04:00
Brian Coca
665265d285
Merge pull request #60 from az7arul/devel
...
added `include_doc` option
2015-06-19 12:39:56 -04:00
Greg DeKoenigsberg
2a5f0bde87
Proper author info for all remaining modules
2015-06-15 15:53:30 -04:00
az7arul
627933049c
add include_doc
option
2015-06-06 01:54:00 +06:00
Brian Coca
abcd276955
Merge pull request #963 from u2ix/devel
...
Allow to add build flags for gem installation
2015-06-03 08:54:00 -04:00
Vasyl Kaigorodov
f0dc27227c
Fix "_is_package_installed() takes exactly 4 arguments, 3 provided" error
2015-05-21 23:24:20 +02:00
Schlueter
1030cb48a7
Add 'version_added' to state documentation for easy_install resource
2015-05-21 12:54:48 -04:00
Schlueter
17544062ec
Correct reference to gem in easy_install resource
2015-05-21 12:49:43 -04:00
Schlueter
02cd8489c1
Add Documentation
2015-05-21 12:23:05 -04:00
Schlueter
3bae8bda10
Use standard if statement to check state in easy_install resource
2015-05-21 12:16:26 -04:00
Schlueter
9b6a741615
Correct pass by object reference issue
2015-05-21 12:04:13 -04:00
Schlueter
9468a65bed
Add state to easy_install
2015-05-20 13:43:53 -04:00
Florian Apolloner
7f4f89abda
Added os.path.expanduser when searching for pip executable.
2015-03-29 21:06:36 +02:00
Demian Gemperli
9a6eba43ef
Allow to add build flags for gem installation
2015-03-18 19:10:54 +01:00
giovtorres
7e8a518592
Added pip example installing from local tarball
2015-02-10 14:56:16 -05:00
Wouter Bolsterlee
8ce0284ace
Add a virtualenv_python argument to the pip module
...
This allows specifying the Python version to use when creating the
virtualenv. See issue #586 .
2015-01-28 12:46:20 +01:00
Wouter Bolsterlee
19b49c1d96
A few coding style cleanups
2015-01-28 12:46:20 +01:00
Wouter Bolsterlee
fd061d437c
Fix typo in version_added
field.
2015-01-28 12:46:20 +01:00
Toshio Kuratomi
c3a0e8a7a4
Don't fial if virtualenv is not installed and we do not need to initialize the virtualenv
...
Fixes #688
2015-01-22 18:05:54 -08:00
Austin Brown
bb6182575e
Updating rubygems --no-document param
2014-12-17 10:24:31 -05:00
Jim Patterson
102167f22e
Correct check mode for pip in virtualenv.
...
Fix #412 . Check mode was always returning changed=True for pip
when the target was in a virtualenv. The code now uses the normal
tests for determining if change status.
2014-11-30 19:31:09 -05:00
Michael DeHaan
3ed1378067
Some more module categorization.
2014-11-04 17:23:22 -05:00