Commit Graph

18 Commits (284476d4ec5d56046e6176f3e21293bd3d28b078)

Author SHA1 Message Date
Rik 8f25698925 Added examples to the command module 11 years ago
Rik 0b8aec9547 Added examples to the shell module 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
Stoned Elipot 85529d4022 No need to expanduser() command's chdir argument twice 12 years ago
Michael DeHaan cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago