Commit Graph

20 Commits (3c4ec8ac43422a19b674779f42dcfecf0e6cca11)

Author SHA1 Message Date
Him You Ten f99576749a 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
9 years ago
Toshio Kuratomi d6af6f8477 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
9 years ago
Ramunas Dronga a0965ff934 fixed composer usage example 9 years ago
Ramunas Dronga 83c0bfbe3f added constraint for space in composer command 9 years ago
Ramunas d5673f6eb4 removed check for empty composer response 9 years ago
Ramunas Dronga 1b7496f8dc added version info for params 'arguments' 9 years ago
Ramunas Dronga 92dc7cd65c allow specify arguments for composer 9 years ago
Rene Moser 384eaba766 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!
9 years ago
Rene Moser 7fdfa01615 composer: rename composer_install to composer_command 9 years ago
Rene Moser 0b0cc7b049 composer: simplify has_changed() 9 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
Roman Vyakhirev 4475676866 composer module. ignore_platform_reqs option added. 10 years ago
Brian Coca edf519a0c2 moar quotes 10 years ago
Greg DeKoenigsberg fc794ef094 Adding author's github id 10 years ago
Brian Coca 39cb571064 Merge pull request #94 from komuta/clean-composer-options
Unify composer options parsing
10 years ago
Simon JAILLET f3c008ed5d 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.
10 years ago
Julien Pepy e1008059ec Clean options building in Composer module 10 years ago
Julien Pepy 2e1b703b3c Fix composer module checkmode and change detection 10 years ago
Jeroen Thora 4513d3d29e Small typo fix 10 years ago
Michael DeHaan 7e6fc7023d Reorganization. 10 years ago