Commit Graph

7 Commits (650048f7dd06d6704255c0ae6abd7d22ac88dc07)

Author SHA1 Message Date
Emilien Kenler 39ce134c2c Add integration test for the shell module
* it ensures that it's possible to define options in the multiline block
10 years ago
James Cammarata 317ab06bc6 Fixing multiline parsing to preserve newlines
Fixes #8813
10 years ago
Will Thames ab8490d003 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 63bf2f6d9a Preserve all line breaks in literal blocks
Fixes #8512
10 years ago
James Cammarata af0d8cda7b Fix literal block multiline parsing
Fixes #8394
10 years ago
Michael DeHaan 1064550b47 Add missing file. 10 years ago
Richard C Isaacson 0c33e936d4 Adding tests for the command and shell modules. 11 years ago