James Cammarata
56954a200e
Merge branch 'devel' of https://github.com/dmage/ansible into dmage-devel
2014-09-22 15:40:06 -05:00
Toshio Kuratomi
f7b5b85743
Fix the name of the upstart service
2014-09-18 13:18:31 -07:00
Toshio Kuratomi
d98e32e364
Fix the var we're checking in the upstart test
2014-09-18 13:00:37 -07:00
Toshio Kuratomi
6943ec11a5
Failure to enable a service now fails the task
...
Fixes: 8855
2014-09-18 12:39:54 -07:00
James Cammarata
28f6a18ef6
Allow git repo queries without a clone when update=no
...
This commit also makes the dest parameter optional, unless update=yes
(the default), since it is not required for queries without an update.
Fixes #8630
2014-09-17 02:05:29 -05:00
James Cammarata
b376e208c7
Adding "follow" param for file/copy options
...
Also modifies the template action plugin to use this new param
when executing the file/copy modules for templating so that links
are preserved correctly.
Fixes #8998
2014-09-16 12:05:55 -05:00
Toshio Kuratomi
49a6af1378
Test that file touch does not keep a new file if we failed to set its
...
attributes
2014-09-15 12:36:52 -07:00
James Cammarata
dc9482d548
Fix quoting issues in lineinfile for individual single-quotes
...
Fixes #8806
2014-09-11 16:27:48 -05:00
James Cammarata
178075489b
Merge branch 'gh-7432' of https://github.com/hfinucane/ansible into hfinucane-gh-7432
2014-09-11 12:42:52 -05:00
James Laska
6cd55a5e95
Correct mysql integration indentation
2014-09-10 17:56:28 -04:00
James Laska
b7c7476359
Include el7 mariadb support in mysql integration test
2014-09-10 16:33:21 -04:00
James Cammarata
317ab06bc6
Fixing multiline parsing to preserve newlines
...
Fixes #8813
2014-09-10 15:14:46 -05:00
James Cammarata
a571fd4efe
Convert boolean strings from set_fact to proper boolean values
...
Also adds integration tests for booleanification of strings
Fixes #8629
2014-09-10 09:56:39 -05:00
Toshio Kuratomi
a9b5b1bf55
Test that we can override variables set in inventory when the vars_file name is templated
...
Fixes #8903
2014-09-09 15:43:10 -07:00
James Cammarata
cd99821f8a
Fix py26 difference in ssl socket connect call from 99ba9d6
2014-09-03 10:04:02 -05:00
Henry Finucane
9638ab973f
Add integration test
2014-09-01 16:31:37 -07:00
Oleg Bulatov
a7d38702d9
Fix #7711
...
Fix relative symlinks creation in file module
Signed-off-by: Oleg Bulatov <oleg@bulatov.me>
2014-09-01 23:23:36 +04:00
Chris Church
dac11904cb
Add tests for new windows facts.
2014-08-31 11:52:20 -04:00
James Cammarata
e99db078b4
Additional fixes for the new omit parameter variable
2014-08-27 10:06:55 -05:00
Victor Lin
6260635c65
add new test case
2014-08-27 10:05:10 -05:00
Victor Lin
559c04f324
Implement omit for module args, also add tests for it
2014-08-27 10:04:47 -05:00
James Cammarata
d99b835c3e
Adding integration tests for symbolic modes
2014-08-25 21:54:17 -05:00
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.
2014-08-22 15:37:07 -04:00
Michael DeHaan
3871eebfbb
Merge pull request #8441 from willthames/unarchive_dest_fix
...
Unarchive should work when parent directory is not writable
2014-08-22 15:05:42 -04:00
James Cammarata
5e240fec71
Merge branch 'devel' of https://github.com/l1k/ansible into l1k-devel
...
Conflicts:
test/integration/roles/test_copy/tasks/main.yml
2014-08-21 13:56:26 -05:00
James Cammarata
8a1fbed5d6
Correct variable blending from vars_files with hostvars in them
...
Fixes #8638
2014-08-20 15:49:01 -05:00
Michael DeHaan
f2adee9fc9
Merge pull request #8665 from cchurch/winrm_timeout
...
WinRM test for long-running command.
2014-08-19 15:43:00 -04:00
James Cammarata
d4ff0d125a
Make sure password files from lookups are created with restrictive permissions
...
Also adds checks for the lookup integration test for passwords.
Fixes #8652
2014-08-19 11:30:04 -05:00
James Cammarata
3a7aca6066
Fix no_log value for content in common file args settings
...
Also adds a test to ensure the content value is not logged.
Related to #8647
2014-08-19 10:47:18 -05:00
Chris Church
90fc6c6881
Added winrm test for long-running command.
2014-08-18 07:49:42 -04:00
Lukas Wunner
677de07f44
Try optimistic chown, do not error out if not permitted to chown
...
Add unit test
2014-08-17 22:08:45 +02:00
James Cammarata
783a1e3dfc
Fixing broken patch 20957a1
...
Also adds integration tests for nested includes with conditionals
2014-08-11 14:58:48 -05:00
James Cammarata
66802169f5
Adding integration test based on #8535
2014-08-11 11:42:21 -05:00
Michael DeHaan
3bead39c75
Merge branch 'spelling' of git://github.com/cgar/ansible into devel
...
Conflicts:
docsite/rst/guide_rax.rst
plugins/callbacks/mail.py
2014-08-08 13:28:45 -04:00
James Cammarata
63bf2f6d9a
Preserve all line breaks in literal blocks
...
Fixes #8512
2014-08-08 12:11:15 -05:00
Will Thames
d9b895b319
Unarchive should work when parent directory is not writable
...
Correct unarchive so that the checks for writeability are
sensible.
Added a test for when parent directory is not writable
2014-08-07 16:11:02 +10:00
James Cammarata
5c2c10987e
Re-enable the ec2_eip test
2014-08-05 09:20:23 -05:00
James Cammarata
af0d8cda7b
Fix literal block multiline parsing
...
Fixes #8394
2014-08-04 11:10:07 -05:00
Wayne Rosario
2957a8de44
Adding test Coverage for mysql_variable module
...
Use mysql_variable to query, set and update variables.
Assert using user and password to query, set and update variables.
Assert using single quotes, double quotes and no quotes when using variables
2014-08-01 12:15:05 -04:00
James Cammarata
80df2135e9
Fix parsing of tasks with variable module names
...
Also adding an integration test for same.
2014-07-30 14:18:06 -05:00
Wayne Rosario
eaf4571e42
Adding the following Test Coverage:
...
Use mysql_user module to create, delete users.
Update user password and ensure new password was updated for the correct user.
Assert user has access to multiple databases
Assert user creation, deleting using different user privilege and ensure privilege work correctly.
2014-07-29 11:49:53 -04:00
James Cammarata
b64a5ff73d
Further enhancements for include params tests
2014-07-29 10:43:37 -05:00
James Cammarata
c9bfcf40d3
Adding further integration tests for include params with quotes
2014-07-29 10:03:44 -05:00
James Cammarata
6e814566de
Unquote params passed to an include statement
...
Fixes #8315
2014-07-28 16:35:52 -05:00
Michael DeHaan
a1e4f826ca
Add some more integration tests for the task and playbook include mechanism.
2014-07-26 10:37:55 -04:00
James Cammarata
5bcb715dc0
Fixing up previous include test
2014-07-26 01:39:22 -05:00
James Cammarata
4d659229ce
Adding integration test to parsing for includes with params
2014-07-26 01:26:16 -05:00
James Cammarata
57f89b85eb
Merge pull request #8271 from tksmd/fix-copy-set-fs-attributes-issue
...
fix an issue that copying directory will fail when trying to change file attributes
2014-07-25 09:38:24 -05:00
Michael DeHaan
3adddf4836
Add another negative test for the parser logic.
2014-07-24 20:57:03 -04:00
James Cammarata
43154e5101
Using custom splitting function for module param counting
2014-07-24 14:42:35 -05:00