Toshio Kuratomi
eb1214baad
New metadata 1.0 ( #22587 )
...
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
2017-03-14 09:07:22 -07:00
Matt Martz
78a000502e
YAML fixes for examples in additional modules
2017-02-15 13:01:43 -08:00
Matt Martz
7c00346714
Validate EXAMPLES as YAML
2017-02-15 13:01:43 -08:00
Dag Wieers
39a8638ec0
Advanced example using shell with other executable ( #21462 )
...
The shell module is quite versatile in its use.
2017-02-15 14:52:31 +00:00
Dag Wieers
f824b2ce8d
Avoid having module documentation links to itself ( #21329 )
...
* 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
2017-02-13 14:02:34 +00:00
stigchristian
27d1286780
Fixed typo "tempalated" => "templated" ( #21187 )
2017-02-09 09:13:22 -08:00
Matt Clay
10d9318de7
PEP 8 indent cleanup. ( #20800 )
...
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
2017-01-29 07:28:53 +00:00
Matt Clay
d913f69ba1
PEP 8 W291 whitespace cleanup.
2017-01-27 17:08:02 -08:00
Matt Martz
2750fc0c7f
Use to_text instead of str and decode
2017-01-25 14:02:48 -08:00
Matt Martz
28e39ca42f
Make sure values are strings before performing rstrip. Fixes #20641 ( #20643 )
2017-01-25 10:14:19 -06:00
Brian Coca
f9f99ddfbc
updated docs to suggest quote filter for shells
...
Also changed comments into -name in examples where appropriate.
2017-01-10 16:19:22 -05:00
Eric Lavarde
a601f2c6a3
Add warning to raw and script modules that there is no actual free_form parameter (like for command etc).
2017-01-03 11:46:50 -05:00
Andrea Tartaglia
ef391a11ec
Removed dict.iteritems() in modules. ( #18859 )
...
This is for py3 compatibility, addressed in #18506
2016-12-12 15:16:23 -08:00
Matt Clay
c709b22e5c
Fix differences with devel.
2016-12-08 11:35:21 -05:00
James Cammarata
011ea55a8f
Relocating extras into lib/ansible/modules/ after merge
2016-12-08 11:35:18 -05:00
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