Commit Graph

21 Commits (9b7e866964c5dca10bcdaacb01f7edf46c41635f)

Author SHA1 Message Date
Toshio Kuratomi 9b7e866964 Cleanups of command.py (#4526)
* 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
9 years ago
Toshio Kuratomi 879afebf77 Remove git and synchronize modules from list of commands we want users to use the module for instead. (#4233) 9 years ago
Harlan Lieberman-Berg a0fe26b98b command: Correct suggestion of non-existant module apt-get 9 years ago
Michael Scherer edc0752395 Suggest using uri if curl is detected
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.
9 years ago
Toshio Kuratomi f6aa1ff9a4 Remove duplicate documentation fields 9 years ago
Alexander Gubin b0d54092ee command: Add warnings for dnf and zypper 9 years ago
Brian Coca 3b934016c0 note that create globs only work on 2.0
fixes #2666
9 years ago
Brian Coca ae18b7633c returned version added 9 years ago
Bill Nottingham d4069a8a8a Warn on use of sudo, etc. in shell/command. 9 years ago
Federico G. Schwindt b6258a1e4c Document globbing support 9 years ago
Federico G. Schwindt fa463fb1b7 Allow globbing in creates= and removes= directives
Fixes 1904
9 years ago
Greg DeKoenigsberg eb881d7d5d Proper author info for all remaining modules 9 years ago
James Cammarata 46b60a5b70 Fix missing expanduser on chdir value 9 years ago
James Cammarata d07378ceac Command module changes for v2 compatibility 9 years ago
Toshio Kuratomi 84f27cfa68 Remove str.format() usage for python2.4 compat.
Fixes #10036
9 years ago
Ricky Cook 522c644bf1 Fix regex string format 9 years ago
Ricky Cook a6a9e2c247 Get warn option same as other args 9 years ago
Ricky Cook 095400c45e Add comment to command options dict 9 years ago
Ricky Cook 5e21c81ca4 Simplify command module option parsing 9 years ago
James Cammarata dd2807ef3c Strip newlines off k=v pairs in command/shell argument parsing
Fixes ansible/ansible#9272
9 years ago
Michael DeHaan 213e518165 file extensions! 9 years ago