summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/commands/command.py
Commit message (Collapse)AuthorAgeFilesLines
* adds privilege escalation method for pmrun(Unix Privilege Manager 6.0)Kevin Clark2017-05-231-1/+1
|
* New metadata 1.0 (#22587)Toshio Kuratomi2017-03-141-3/+4
| | | | | | | | | | | | | | | | Changes to the metadata format were approved here: https://github.com/ansible/proposals/issues/54 * Update documentation to the new metadata format * Changes to metadata-tool to account for new metadata * Add GPL license header * Add upgrade subcommand to upgrade metadata version * Change default metadata to the new format * Fix exclusion of non-modules from the metadata report * Fix ansible-doc for new module metadata * Exclude metadata version from ansible-doc output * Fix website docs generation for the new metadata * Update metadata schema in valiate-modules test * Update the metadata in all modules to the new version
* Avoid having module documentation links to itself (#21329)Dag Wieers2017-02-131-2/+2
| | | | | | | | | * Avoid having module documentation links to itself A lot of modules use M(own_module) in their documentation causing a link in the documentation to itself. * Make note more clear now
* Fixed typo "tempalated" => "templated" (#21187)stigchristian2017-02-091-1/+1
|
* PEP 8 indent cleanup. (#20800)Matt Clay2017-01-291-7/+7
| | | | | | | | * PEP 8 E121 cleanup. * PEP 8 E126 cleanup. * PEP 8 E122 cleanup.
* PEP 8 W291 whitespace cleanup.Matt Clay2017-01-271-1/+1
|
* updated docs to suggest quote filter for shellsBrian Coca2017-01-101-13/+16
| | | | Also changed comments into -name in examples where appropriate.
* Resolving differences in core modules post-mergeJames Cammarata2016-12-081-2/+0
|
* Refreshed metadata for core modulesToshio Kuratomi2016-12-081-0/+4
|
* We've changed run_command to return native_stringsToshio Kuratomi2016-12-081-8/+8
| | | | | | on python3, this means that we don't get bytes back by default. We probably do want bytes here so modify our call to run_command so we get bytes instead of text.
* Fixes ansible/ansible#15922 (#3793)mlewe2016-12-081-2/+0
|
* Added semicolon to invalid operators list redux.Scott Butler2016-12-081-1/+1
|
* Remove redundant code AFAICT (#3908)Dag Wieers2016-12-081-32/+0
|
* Cleanups of command.py (#4526)Toshio Kuratomi2016-12-081-28/+24
| | | | | | | * Import module_utils at the top * Fix python3 by marking literals combined with stdout/stderr as byte literals * Mark parameters as type=path where appropriate
* Remove git and synchronize modules from list of commands we want users to ↵Toshio Kuratomi2016-12-081-2/+2
| | | | use the module for instead. (#4233)
* command: Correct suggestion of non-existant module apt-getHarlan Lieberman-Berg2016-12-081-1/+1
|
* Suggest using uri if curl is detectedMichael Scherer2016-12-081-1/+1
| | | | | | | | | Some people use the command module to run curl not to download file, but to interact with remote HTTP api, and the get_url suggestion is not suitable. So adding uri in the warning would give a more meaningful warning. Suggested by Tahvok on #ansible irc channel.
* Remove duplicate documentation fieldsToshio Kuratomi2016-12-081-1/+0
|
* command: Add warnings for dnf and zypperAlexander Gubin2016-12-081-2/+2
|
* note that create globs only work on 2.0Brian Coca2016-12-081-2/+2
| | | | fixes #2666
* returned version addedBrian Coca2016-12-081-0/+1
|
* Warn on use of sudo, etc. in shell/command.Bill Nottingham2016-12-081-0/+3
|
* Document globbing supportFederico G. Schwindt2016-12-081-2/+2
|
* Allow globbing in creates= and removes= directivesFederico G. Schwindt2016-12-081-2/+3
| | | | Fixes 1904
* Proper author info for all remaining modulesGreg DeKoenigsberg2016-12-081-1/+3
|
* Fix missing expanduser on chdir valueJames Cammarata2016-12-081-0/+1
|
* Command module changes for v2 compatibilityJames Cammarata2016-12-081-47/+13
|
* Remove str.format() usage for python2.4 compat.Toshio Kuratomi2016-12-081-3/+2
| | | | Fixes #10036
* Fix regex string formatRicky Cook2016-12-081-1/+1
|
* Get warn option same as other argsRicky Cook2016-12-081-1/+1
|
* Add comment to command options dictRicky Cook2016-12-081-0/+1
|
* Simplify command module option parsingRicky Cook2016-12-081-12/+21
|
* Strip newlines off k=v pairs in command/shell argument parsingJames Cammarata2016-12-081-6/+1
| | | | Fixes ansible/ansible#9272
* file extensions!Michael DeHaan2016-12-081-0/+275