_srsh_
a9e3b6aa05
module was failing on python 2.7 after last update ( #2459 )
2016-12-08 11:34:26 -05:00
René Moser
20a1d49e2b
doc: maven_artifact: add a note about s3 support since version 2.2 ( #2417 )
...
See #2317
2016-12-08 11:34:22 -05:00
Gonçalo Luiz
711e94346b
added s3 download support to maven module ( #2317 )
...
* added s3 download support
* removed extraneous import
2016-12-08 11:34:22 -05:00
Andrew Miller
7ac4909357
Cpanm module could not use less than Python 2.6
...
Removed str.format() dependency to allow cpanm module to work on nodes with versions of Python less than 2.6.
2016-12-08 11:34:21 -05:00
Chris Weber
c3a1efee4f
Fixed exception compatablity for py3 (and 2.4 in yum_repository.py) ( #2369 )
...
* Fixed exception compatablity for py3 (and 2.4 in yum_repository.py)
* Moved Import
2016-12-08 11:34:20 -05:00
Louis-Michel Couture
48a2f1e4d3
Update bundler example to match the param name ( #2322 )
2016-12-08 11:34:20 -05:00
Dag Wieers
0e3713971a
Convert module to work with python 2.4 and fix a bug ( #2251 )
...
- Avoiding the use of 'with ... as ...' and 'except ... as ...' constructs.
- Make use of posixpath.join() rather than concatenating slashes ourselves
(To avoid having consecutive slashes which broke something on our side)
2016-12-08 11:34:16 -05:00
Gonçalo Luiz
8a1aee53bc
fixed not resolving latest to snapshot for MD5 check when the file ex…
2016-12-08 11:34:11 -05:00
Michael Scherer
557d27513c
Use type=path for arguments, and remove code doing the conversion ( #1903 )
2016-12-08 11:34:10 -05:00
Emil Bostijancic
3d24895606
Fixes maven_artifact - verify_md5 only called for SNAPSHOT
...
* fixed https://github.com/ansible/ansible-modules-extras/issues/2066
* fixes https://github.com/ansible/ansible-modules-extras/issues/2066
2016-12-08 11:34:08 -05:00
stoned
6a77e62df4
cpanm: search both its stderr and its stdout for the message 'is up t…
...
Note that since cpanm version 1.6926 its messages are sent to stdout
when previously they were sent to stderr.
Also there is no need to initialize out_cpanm and err_cpanm and
check for their truthiness as module.run_command() and str.find()
take care of that.
2016-12-08 11:34:04 -05:00
Him You Ten
87ce503767
added stdout and stderr outputs ( #1900 )
...
* added stdout and stderr outputs
Added stdout and stderr outputs of the results from composer as the current msg output strips \n so very hard to read when debugging
* using stdout for fail_json
using stdout for fail_json so we get the stdout_lines array
2016-12-08 11:34:04 -05:00
Michael Scherer
f47a756c46
Add proper type to cpanm arguments
...
from_path, locallib, executable should be path to benefits
from path expansion for ~user.
2016-12-08 11:34:03 -05:00
Michael Scherer
4c63a958e5
Use no_log for the password for maven_artifact module
2016-12-08 11:33:59 -05:00
Michael Scherer
9f90c2355f
Add the proper type for the various path argument
2016-12-08 11:33:59 -05:00
Nate Smith
b820017ed0
Allow numeric npm package versions
...
When passing a package version that parses as a number (e.g. `1.9`), the version should be converted to a string before being concatenated to the package name.
2016-12-08 11:33:57 -05:00
lipanski
9d355fb5af
Fix: Rename gem_install_path to gem_path - as specified in the docs
2016-12-08 11:33:45 -05:00
Toshio Kuratomi
ad0d2c1747
Update for modules which import json.
...
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed
Fixes #1298
2016-12-08 11:33:44 -05:00
Yoshinori Teraoka
47b09873e2
add executable parameter to cpanm module
...
like other packaging modules (pip, gem)
2016-12-08 11:33:43 -05:00
Javier Palacios
9dcea19175
Allow relative path for bower executable
...
Add default value
Rename argument
Explicit verification of relative bower path
Add example
Old keyword name used in example
BUGFIX: tilde expansion actually useless on relative paths
Modify relative_execpath default value as suggested
Added version_added for relative_execpath
Update for last few comments on the bug report
* version to 2.1 since this feature enhancement will now go into 2.1
* set path and relative_execpath type to path
* Set default value of path to None
2016-12-08 11:33:43 -05:00
Charles Paul
3cd6e4c1f8
make dest use path type
...
path type
2016-12-08 11:33:42 -05:00
Kirill Kozlov
6f663fa7bf
Set latest as version argument default value
2016-12-08 11:33:38 -05:00
Brian Coca
a9abec5a03
updated version version_added to 2.1
2016-12-08 11:33:38 -05:00
Dylan Martin
766b53b066
added version option
2016-12-08 11:33:38 -05:00
Michal Svab
5f743c4fdc
maven_artifact: check whether snapshot is the latest snapshot
2016-12-08 11:33:38 -05:00
xiaclo
b36b12e968
Allow NPM to update packages
2016-12-08 11:33:33 -05:00
Kirill Kozlov
426613b00d
Fix broken examples in docs
2016-12-08 11:33:32 -05:00
Ramunas Dronga
86bea2d6ab
fixed composer usage example
2016-12-08 11:33:31 -05:00
Ramunas Dronga
ae18a1d877
added constraint for space in composer command
2016-12-08 11:33:31 -05:00
Ramunas
662fa86f07
removed check for empty composer response
2016-12-08 11:33:31 -05:00
Ramunas Dronga
6e4b42ebbc
added version info for params 'arguments'
2016-12-08 11:33:31 -05:00
Ramunas Dronga
ae59ea7deb
allow specify arguments for composer
2016-12-08 11:33:31 -05:00
Brian Coca
b7372b509a
corrected extension in module spec fixes #1190
2016-12-08 11:33:31 -05:00
Brian Coca
d9a29f394f
fixed missed passing use-sudo
2016-12-08 11:33:30 -05:00
Brian Coca
a04972c79b
changed use_sudo to system_lib (kept alias) and expanded description to explain how it works
2016-12-08 11:33:24 -05:00
Milad Soufastai
c3c9f46ba4
Updating Description to provide better explanation of what the use_sudo flag does
2016-12-08 11:33:24 -05:00
Milad Soufastai
07a4ab2fc5
Adding the --sudo flag for CPANM use since the sudo: yes on the task doesn't work
2016-12-08 11:33:24 -05:00
Rene Moser
859b2f7948
composer: smarter arguments handling
...
To get all available options in json for each command, `composer help <command> --format=json` can be used. This allows us to simply parse the output and dynamically find out if an option is available. Neat!
2016-12-08 11:33:23 -05:00
Rene Moser
b9960c0172
composer: rename composer_install to composer_command
2016-12-08 11:33:23 -05:00
Rene Moser
61fcbe0d51
composer: simplify has_changed()
2016-12-08 11:33:23 -05:00
Gerard Lynch
d17fa53764
fix param description rst syntax
2016-12-08 11:33:19 -05:00
Brian Coca
bf7851d9ad
added version_added to new feature
2016-12-08 11:33:17 -05:00
Carl Meyer
66777d010b
Add 'production' option to bower module.
2016-12-08 11:33:17 -05:00
Andreas Skarmutsos Lindh
d2bcd4e8e7
quoted version_added
2016-12-08 11:33:12 -05:00
Andreas Skarmutsos Lindh
0e55b498ad
add version_added
2016-12-08 11:33:12 -05:00
Andreas Skarmutsos Lindh
4b0dc387ce
cpanm: add installdeps option
2016-12-08 11:33:12 -05:00
sirkubax
83b03752c5
QuickFix of issue 813
2016-12-08 11:33:11 -05:00
Mehmet Ali \"Mali\" Akmanalp
4a6c9dd5b3
Fixes issues where keys missing from bower output
...
Fixes #495
2016-12-08 11:33:09 -05:00
Michael Scherer
d031cd2998
Move examples to EXAMPLES variable
...
Partially fix #507
2016-12-08 11:33:03 -05:00
Toshio Kuratomi
de2f9ed5ff
Port maven_artifact to fetch_url
2016-12-08 11:33:02 -05:00