Commit graph

14 commits

Author SHA1 Message Date
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
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
Greg DeKoenigsberg
c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Roman Vyakhirev
414afb61df composer module. ignore_platform_reqs option added. 2016-12-08 11:32:47 -05:00
Brian Coca
2753cd186a moar quotes 2016-12-08 11:32:39 -05:00
Julien Pepy
97ed348e17 Clean options building in Composer module 2016-12-08 11:32:29 -05:00
Simon JAILLET
c7b3dea395 composer: Fix changed status
Fix `changed` status that always returns False with composer.

This [previous PR](https://github.com/ansible/ansible-modules-extras/pull/61) had fixed the issue but because of a [Composer recent change](cb336a5416) stderr is now used for reporting information meant for humans while stdout is more for the output of the command.

This PR would definilty solve this issue.
2016-12-08 11:32:27 -05:00
Julien Pepy
de442415a0 Fix composer module checkmode and change detection 2016-12-08 11:32:24 -05:00
Jeroen Thora
26ae02b2f5 Small typo fix 2016-12-08 11:32:22 -05:00
Michael DeHaan
7d6ceb4f06 Reorganization. 2016-12-08 11:32:19 -05:00
Renamed from lib/ansible/modules/extras/packaging/composer.py (Browse further)