James Cammarata
8afa090417
Resolving differences in core modules post-merge
2016-12-08 11:25:36 -05:00
Toshio Kuratomi
7319104552
Refreshed metadata for core modules
2016-12-08 11:25:35 -05:00
Sam Doran
079bf05ec3
Change examples syntax on shell module
2016-12-08 11:25:28 -05:00
Sam Doran
60a92eadd7
Change examples syntax on script module
2016-12-08 11:25:28 -05:00
Toshio Kuratomi
283205d7b3
We've changed run_command to return native_strings
...
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.
2016-12-08 11:25:18 -05:00
mlewe
afa9d30717
Fixes ansible/ansible#15922 ( #3793 )
2016-12-08 11:25:02 -05:00
Scott Butler
bbf209b071
Added semicolon to invalid operators list redux.
2016-12-08 11:24:59 -05:00
Dag Wieers
02b906d70f
Remove redundant code AFAICT ( #3908 )
2016-12-08 11:24:53 -05:00
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
2016-12-08 11:24:52 -05:00
Toshio Kuratomi
879afebf77
Remove git and synchronize modules from list of commands we want users to use the module for instead. ( #4233 )
2016-12-08 11:24:45 -05:00
jctanner
3a0056e571
Add a note about using the script module with pseudo-tty's lack of stderr channel ( #4000 )
...
Addresses #3610
2016-12-08 11:24:39 -05:00
Brian Coca
079948eef0
updated raw docs for environment and executable
...
it should now reflect how raw works in combination with
become and environment directives
2016-12-08 11:24:37 -05:00
Harlan Lieberman-Berg
a0fe26b98b
command: Correct suggestion of non-existant module apt-get
2016-12-08 11:24:25 -05:00
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