Commit Graph

123 Commits (cedd9d9926c113280e40915ae844fba2b2bd9fe8)

Author SHA1 Message Date
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.
2016-12-08 11:24:19 -05:00
Leonardo Giordani 344c976141 Added some documentation for the shell return values 2016-12-08 11:24:08 -05:00
Toshio Kuratomi 697980d7cc Add example of using non-posix shellisms to raw and shell
Fixes #14262
2016-12-08 11:24:01 -05:00
Toshio Kuratomi f6aa1ff9a4 Remove duplicate documentation fields 2016-12-08 11:24:01 -05:00
Alexander Gubin b0d54092ee command: Add warnings for dnf and zypper 2016-12-08 11:23:55 -05:00
Brian Coca 3b934016c0 note that create globs only work on 2.0
fixes #2666
2016-12-08 11:23:52 -05:00
Brian Coca ae18b7633c returned version added 2016-12-08 11:23:27 -05:00
Bill Nottingham d4069a8a8a Warn on use of sudo, etc. in shell/command. 2016-12-08 11:23:26 -05:00
Mike Putnam 9623cd570c Add missing GPLv3 License header
Fixes #1643
2016-12-08 11:23:25 -05:00
Federico G. Schwindt b6258a1e4c Document globbing support 2016-12-08 11:23:13 -05:00
Federico G. Schwindt fa463fb1b7 Allow globbing in creates= and removes= directives
Fixes 1904
2016-12-08 11:23:12 -05:00
Greg DeKoenigsberg eb881d7d5d Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
James Cammarata 46b60a5b70 Fix missing expanduser on chdir value 2016-12-08 11:23:03 -05:00
James Cammarata d07378ceac Command module changes for v2 compatibility 2016-12-08 11:23:03 -05:00
Toshio Kuratomi 84f27cfa68 Remove str.format() usage for python2.4 compat.
Fixes #10036
2016-12-08 11:22:40 -05:00
Ricky Cook 522c644bf1 Fix regex string format 2016-12-08 11:22:36 -05:00
Ricky Cook a6a9e2c247 Get warn option same as other args 2016-12-08 11:22:36 -05:00
Ricky Cook 095400c45e Add comment to command options dict 2016-12-08 11:22:36 -05:00
Ricky Cook 5e21c81ca4 Simplify command module option parsing 2016-12-08 11:22:36 -05:00
James Cammarata dd2807ef3c Strip newlines off k=v pairs in command/shell argument parsing
Fixes ansible/ansible#9272
2016-12-08 11:22:23 -05:00
Michael DeHaan ef2a2b9093 package files 2016-12-08 11:22:22 -05:00
Michael DeHaan 213e518165 file extensions! 2016-12-08 11:22:22 -05:00
Michael DeHaan c7eec45b73 Restructuring. 2016-12-08 11:22:22 -05:00