Yannig Perré
90021104d5
Use to_unicode instead of str()
2015-11-23 16:49:00 -05:00
Yannig Perré
8bd5abaf1e
Allow debug var parameter to accept a list or dict. Fix https://github.com/ansible/ansible/issues/13252
2015-11-23 16:49:00 -05:00
Guido Günther
1ab60564ae
Add integration tests for zypper
...
Modeled after the yum tests but also tests local package installations
as fixed with PR#1256.
This depends on PRs #1256 , #1261 and #1262 in ansible-modules-extra.
2015-11-23 15:22:29 -05:00
Brano Zarnovican
af2e94e3c7
test_hg fix: remove reference to "head"
...
ERROR! error while evaluating conditional: head.stat.isreg
This is remnant from earlier change 50e5d81777
which removed stat on head file..
2015-11-23 14:34:21 -05:00
Brano Zarnovican
5378a6003a
test_svn fix: remove hardcoded "~/ansible_testing/svn" path
2015-11-23 14:33:48 -05:00
Sebastien Couture
2859933a79
We should give pipes.quote() a string every time
2015-11-23 14:27:56 -05:00
James Cammarata
42bffeec7c
Template (and include vars) PlaybookInclude paths
...
Fixes #13249
2015-11-23 14:04:14 -05:00
Chris Church
9a8e95bff3
Modify task executor to reuse connection inside a loop. Fix WinRM connection to set _connected properly and display when remote shell is opened/closed. Add integration test using raw + with_items.
2015-11-23 14:04:00 -05:00
René Moser
54ec2a0b84
docsite: cloudstack: fix missing quotes in example
2015-11-23 14:03:55 -05:00
Brian Coca
1e9e6339d1
marked spot that should send per item reulsts
2015-11-23 14:03:51 -05:00
Toshio Kuratomi
5bc3efe34b
Update submodule refs
2015-11-23 09:02:12 -08:00
Chris Church
7d19ad82eb
Recommend using pywinrm >= 0.1.1 from PyPI instead of GitHub version.
2015-11-20 15:40:34 -08:00
Gilles Cornu
c1bb3aea06
Documentation: Update the Vagrant Guide
...
This is an attempt to solve #7665 .
Revert the change applied by f56a6e0951
(#12310 ), as the inventory generated by Vagrant still rely on the legacy
`_ssh` setting names for backwards compatibility reasons.
See also https://github.com/mitchellh/vagrant/issues/6570
2015-11-21 14:03:24 -08:00
Toshio Kuratomi
011df4ad24
Update docker_login so docs work
2015-11-20 13:59:02 -08:00
Toshio Kuratomi
c71ef9e3d7
Fix non-module plugins picking up files that did not end in .py.
...
This was caused by accessing the cache using the passed in mod_type
rather than the suffix that we calculate with knowledge of whether this
is a module or non-module plugin.
2015-11-20 13:51:29 -08:00
Toshio Kuratomi
e9ed190f7b
Update submodule refs
2015-11-20 12:45:27 -08:00
Toshio Kuratomi
fe090b0fb9
Add docker_login module to the changelog
2015-11-20 12:44:48 -08:00
Toshio Kuratomi
50a924bb04
Docker cp sets file ownership to root:root so we can't use it.
...
Fixes #13219
2015-11-20 07:54:07 -08:00
Toshio Kuratomi
1e968d34cb
Simplify code a little
2015-11-19 09:56:58 -08:00
Joern Heissler
c99fffa936
Use ansible_host in synchronize module
...
Fixes #13073
2015-11-19 09:56:49 -08:00
nitzmahone
f2225395f9
winrm error handling tweaks
2015-11-19 09:58:33 -05:00
nitzmahone
c33f60435b
fast winrm put_file without size restrictions
2015-11-19 09:58:28 -05:00
James Cammarata
ab8bb57f5e
Version bump for 2.0.0-0.6.rc1
2015-11-19 09:15:45 -05:00
James Cammarata
8a0d2e0ef2
Submodule pointer update
2015-11-19 09:08:49 -05:00
James Cammarata
91500f8f5f
Fix include param precedence in variable manager
2015-11-19 09:01:51 -05:00
James Cammarata
78e4f176e6
Return skipped/failed async results directly
...
Fixes #13205
2015-11-19 08:30:00 -05:00
James Cammarata
3b16ad973c
Merge pull request #13201 from ma82/patch-1
...
Fix DataLoader's docstring
2015-11-19 08:13:02 -05:00
James Cammarata
6912c046bb
Merge pull request #13214 from mgedmin/fix-loops
...
Fix NameError when using loops
2015-11-19 08:10:27 -05:00
Marius Gedminas
66347c9449
Fix NameError when using loops
...
vars_copy disappeared in 3d1255d190
.
Fixes #13213 .
2015-11-19 09:21:06 +02:00
James Cammarata
3d1255d190
Don't update job vars too early when getting loop items in TaskExecutor
...
Fixes #13113
2015-11-18 19:12:38 -05:00
Brian Coca
05b542eb8e
added nsot inventory plugin
2015-11-19 14:32:42 -08:00
Brian Coca
2f139dad3f
Merge pull request #12368 from coxley/nsot-inventory
...
Contrib Inventory: NSoT
2015-11-18 14:31:15 -08:00
Brian Coca
f8ed99e5e4
Revert "success should not include skipped"
...
This reverts commit 300ee227a2
.
2015-11-19 11:12:18 -08:00
Codey Oxley
9dcfbb1130
Removed version argument from argparse
...
This was breaking standalone execution and isn't needed
2015-11-18 14:01:30 -08:00
Matteo Acerbi
0127d32652
Fix DataLoader's docstring
...
DataLoader.__init__ doesn't take an argument named vault_password
2015-11-18 11:20:34 +01:00
James Cammarata
9b9fb51d9d
Template the final_environment value in _compute_environment_string()
...
Fixes #13123
2015-11-17 15:39:03 -05:00
Brian Coca
f5eca34fe4
Merge pull request #13194 from zarnovican/bza_unittest_run_command
...
unittest cover for 'run_command'
2015-11-17 12:35:33 -08:00
Toshio Kuratomi
782aa9a7fd
Update submodule refs
2015-11-17 12:09:46 -08:00
James Cammarata
180159b01d
Adding vars back in and trying to add a little more speed by avoiding copies
2015-11-17 14:44:46 -05:00
James Cammarata
25807f5404
Don't modify things we've put on the queue
...
Fixes #12937
2015-11-17 14:22:52 -05:00
Brian Coca
d35f615af8
added more debug info for command results
2015-11-18 11:18:03 -08:00
Brian Coca
aa55db69fe
Merge pull request #12687 from nitzmahone/pywinrm_arg_passthru
...
Force SSL transport for pywinrm updates, get host+group vars
2015-11-17 11:14:19 -08:00
James Cammarata
f10d2c57c8
Restoring templating of hostvars returned by __getitem__
2015-11-17 10:19:56 -05:00
James Cammarata
9f31c073fe
Fixing a few bugs in the HostVars performance areas
...
* Also refresh inventory in the HostVars manager process when things
are changed via add_host/group_by
* Raise j2undefined rather than return it
2015-11-17 09:15:10 -05:00
Brian Coca
4d024fc82a
added os_project module
2015-11-17 15:05:29 -08:00
Brano Zarnovican
90f99f29ae
unittest cover for 'run_command'
...
All os.*, subprocess.* is mocked to avoid side-effects.
Tests are skipped in Py3, since 'run_command' is not Py3-ready, yet.
2015-11-17 11:57:50 +01:00
Brian Coca
e61882ca19
Merge pull request #13170 from robinro/integration_test_git_ansible-modules-core_pull_721
...
add test for changing git remote url
2015-11-16 14:53:47 -08:00
Brian Coca
f6fb47be8c
Merge pull request #13172 from gebn/docs-grammar
...
Removed erroneous apostrophe in installation documentation
2015-11-16 14:52:50 -08:00
James Cammarata
984729016e
Fix tag filtering on included files and add more debugging
...
Previously, we were filtering the task list on tags for each host
that was including the file, based on the idea that the variables
had to include the host information. However, the top level task
filtering is play-context only, which should also apply to the
included tasks. Tags cannot and should not be based on hostvars.
2015-11-16 17:15:52 -05:00
James Cammarata
5cbeab5a3c
Performance improvements for HostVars and some bugfixes
2015-11-16 17:15:52 -05:00