Brian Coca
10e70aaf2b
note that create globs only work on 2.0
...
fixes #2666
9 years ago
Brian Coca
1f7686fd31
returned version added
9 years ago
Brian Coca
697307f88c
Merge pull request #1670 from mikeputnam/issue-1643-gpl-header
...
Add missing GPLv3 License header
9 years ago
Brian Coca
8227b48a6a
minor doc fixes
9 years ago
Bill Nottingham
69deab1786
Warn on use of sudo, etc. in shell/command.
9 years ago
Mike Putnam
6c0e264806
Add missing GPLv3 License header
...
Fixes #1643
9 years ago
Toshio Kuratomi
6288d44581
Merge pull request #513 from fgsch/fix_1904
...
Allow globbing in creates= and removes= directives
10 years ago
Greg DeKoenigsberg
2a5f0bde87
Proper author info for all remaining modules
10 years ago
James Cammarata
76c6a53274
Fix missing expanduser on chdir value
10 years ago
James Cammarata
6a63f2a6ba
Command module changes for v2 compatibility
10 years ago
Toshio Kuratomi
98f0c0424a
Remove str.format() usage for python2.4 compat.
...
Fixes #10036
10 years ago
Federico G. Schwindt
9e381264ae
Document globbing support
10 years ago
Federico G. Schwindt
3fca5e5876
Allow globbing in creates= and removes= directives
...
Fixes 1904
10 years ago
Ricky Cook
6db328c79a
Fix regex string format
10 years ago
Ricky Cook
b195b5a6bb
Get warn option same as other args
10 years ago
Ricky Cook
25789b3f47
Add comment to command options dict
10 years ago
Ricky Cook
8d9f6053d3
Simplify command module option parsing
10 years ago
James Cammarata
5af8d55b03
Strip newlines off k=v pairs in command/shell argument parsing
...
Fixes ansible/ansible#9272
10 years ago
Michael DeHaan
385a037cd6
package files
10 years ago
Michael DeHaan
c8e1a2077e
file extensions!
10 years ago
Michael DeHaan
417309a626
Restructuring.
10 years ago
Michael DeHaan
73123b69fa
Move modules into subdirectory.
10 years ago
Michael DeHaan
f0a552c060
Make command warnings off by default to minimize surprises.
10 years ago
Michael DeHaan
c2cfbcc940
Docs for command warnings feature.
10 years ago
Michael DeHaan
83f06e4162
Slightly trim down the warnings list based on some things being pretty common
...
for local usage.
10 years ago
Will Thames
9686385898
Added warnings to command module
...
Generate warnings when users are shelling out to commands
rather than using modules
Can be turned off on a per-action line with the documented
warn=False flag. Can be turned off globally using
command_warnings = False in ansible config file.
Print out warnings using the standard playbook callbacks.
Created some additional tests in TestRunner.test_command
and also a demonstration playbook.
10 years ago
James Cammarata
e55911afb2
Removing skipped=True from result when using creates= and removes=
...
Fixes #8645
10 years ago
Michael DeHaan
185d5a6221
Merge branch 'spelling' of git://github.com/cgar/ansible into devel
...
Conflicts:
docsite/rst/guide_rax.rst
plugins/callbacks/mail.py
10 years ago
James Cammarata
0963d4aee4
Move splitter to module_utils so modules can use it and fix command arg splitting
...
Fixes #8338
10 years ago
James Cammarata
0bf0053652
Fixes for module param counting and additional shell quoting issues
10 years ago
James Cammarata
cf8905b2b0
Fixing up shell quoting issues
10 years ago
James Cammarata
274e1f4106
Security fixes:
...
* Strip lookup calls out of inventory variables and clean unsafe data
returned from lookup plugins (CVE-2014-4966)
* Make sure vars don't insert extra parameters into module args and prevent
duplicate params from superseding previous params (CVE-2014-4967)
10 years ago
Michael DeHaan
9b587dafed
Add note about useful quote filter.
10 years ago
Rik
8f25698925
Added examples to the command module
11 years ago
Rik
0b8aec9547
Added examples to the shell module
11 years ago
Carlos E. Garcia
4dcaa9d9fb
multiple spelling error changes
11 years ago
Michael DeHaan
6fbf707a48
Clarify free_form isn't a real option :)
11 years ago
Cristian Ciupitu
7f681c33a2
Micro-optimization: replace s.find(x)!=-1 with x in s
...
timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
11 years ago
James Tanner
fc33860e5d
Force command action to not be executed by the shell unless specifically enabled
11 years ago
jeromew
2fcce7e225
Add creates= and removes= to the script: action
11 years ago
James Cammarata
6ed8c594f4
Adding no_log: capability for tasks
...
Fixes #4088
11 years ago
Jeff Geerling
128a2fb461
Mention shell module in command documentation
...
Users who use the command module for pretty much all shell commands may be stymied when they try using a command with <, >, $VAR, etc., and not know that they can use the `shell` module instead. This documentation fix clarifies this.
11 years ago
Stoned Elipot
0955744b3a
shell module: document removes option and sync with command module doc
11 years ago
James Tanner
38edad70ac
Fixes #5023 Convert all modules to use new snippet import pattern
11 years ago
Michael DeHaan
4c35b7f380
There's a cleaner way to do this, commit to module formatter pending.
...
Revert "No longer need to reference 'version_added' in docs for these, as this was quite a while ago."
This reverts commit ff0a41d446
.
11 years ago
Michael DeHaan
9e4d71203d
No longer need to reference 'version_added' in docs for these, as this was quite a while ago.
11 years ago
Michael DeHaan
08996d78d6
Add version_added to all modules missing version_added information, the docs formatter will now
...
raise errors when omitted, updated changelog with new modules.
11 years ago
Jesse Keating
286ff41167
Allow for relative paths by using abspath
...
relative pathing comes in handy on occasion, particularly when
delegating to localhost and running some command out of your playbook
repo. Making use of os.path.abspath will allow for the full path to
chdir and executable to be discovered if not provided.
11 years ago
Jan-Piet Mens
98c1423269
Docs: consistently format playbook EXAMPLES
12 years ago
Jan-Piet Mens
3404a0fc16
DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
...
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
Added deprecation warning to moduledev.rst and remove deprecated example from it
Fixed up a few typos and uppercased some acronyms.
add consistency to how EXAMPLES are formatted
12 years ago