nitzmahone
7ddf6dbbd4
bump core submodule ref
2016-06-03 10:48:30 -07:00
nitzmahone
9f32dcdd28
bump core submodule ref
2016-06-03 10:22:38 -07:00
Bede Carroll
1b5ec51988
Add validate_certs to vmware doc fragment ( #16096 )
2016-06-02 10:22:40 -04:00
Brian Coca
71350e022a
fixed confusing reporting when no hosts are matched
...
it was hitting 'empty inventory' warning.
2016-06-01 08:35:30 -04:00
Brian Coca
ff9641a6a1
fix version/help when missing action
...
also fixed issues with galaxy cli options
2016-06-01 08:35:30 -04:00
Brian Coca
a59478f4f4
treat roles_path as the list it is for galaxy list
2016-06-01 08:35:30 -04:00
Brian Coca
2452bd2135
moved validate info from vvv to debug
2016-05-27 09:44:42 -04:00
Chris Houseknecht
0de111be00
Fix missing ignore_certs ( #16018 )
2016-05-27 09:43:41 -04:00
Toshio Kuratomi
2399dd32a8
Update submodule refs -- get them back onto the stable-2.1 branch instead of devel
2016-05-26 16:29:41 -07:00
Toshio Kuratomi
ccbcb4b5e9
Update grep for six to not falsely trigger when six is only a substring of a different library
2016-05-26 16:16:21 -07:00
Toshio Kuratomi
4304574c00
Fix unarchive failures when the destination is a symlink to a directory ( #15999 )
...
Also add integration tests for this problem and unicode filenames inside
a tarball.
Fixes #3725
2016-05-26 15:02:10 -07:00
James Cammarata
a44743d142
Use get_dep_chain() instead of directly using a blocks _dep_chain
...
Child blocks (whether nested or via includes) don't get a copy of the
dependency chain, so the above method should be used to ensure the block
looks at its parents dep chain.
Fixes #15996
2016-05-26 15:48:53 -04:00
nitzmahone
4bf9cf6e41
mark azure_rm_X_facts modules as TECH PREVIEW
2016-05-25 16:02:39 -07:00
nitzmahone
f3c9672fc0
add missing azure_rm modules to changelog
2016-05-25 14:25:03 -07:00
Toshio Kuratomi
52c9e2ffcf
Add strings 'True' and 'False' as booleans as python bools converted to strings will look that way.
...
Workaround for custom modules which are using choices=BOOLEANS instead
of type='bool'.
2016-05-25 10:38:35 -07:00
Adrian Likins
b3ca832025
Add ChangeLog for pkg_util bug fix.
2016-05-25 12:27:26 -04:00
James Cammarata
09fa05373b
When adding nested blocks, don't pass in any parent includes
...
We previously changed block behavior to prefer includes over parent
blocks, which broke inheritence in nested blocks.
Fixes #15926
2016-05-25 06:59:37 -07:00
Toshio Kuratomi
a6bff1e49c
Add Changelog for optional pycrypto.
2016-05-25 06:59:37 -07:00
Peter Oliver
faf85ec57c
Catch DistributionNotFound when pycrypto is absent ( #15731 )
...
* Catch DistributionNotFound when pycrypto is absent
On Solaris 11, module `pkg_resources` throws `DistributionNotFound` on import if `cryptography` is installed but `pycrypto` is not. This change causes that situation to be handled gracefully.
I'm not using Paramiko or Vault, so I my understanding is that I don't
need `pycrpto`. I could install `pycrypto` to make the error go away, but:
- The latest released version of `pycrypto` doesn't build cleanly on Solaris (https://github.com/dlitz/pycrypto/issues/184 ).
- Solaris includes an old version of GMP that triggers warnings every time Ansible runs (https://github.com/ansible/ansible/issues/6941 ). I notice that I can silence these warnings with `system_warnings` in `ansible.cfg`, but not installing `pycrypto` seems like a safer solution.
* Ignore only `pkg_resources.DistributionNotFound`, not other exceptions.
2016-05-25 06:59:37 -07:00
James Cammarata
d3367dd722
Updating RELEASES.txt
2016-05-25 08:52:51 -04:00
Toshio Kuratomi
1867adfabc
Update submodule ref to include parameter change to junos module.
2016-05-24 11:48:32 -07:00
James Cammarata
9e622dcf31
New release v2.1.0.0-0.4.rc4
2016-05-22 16:44:41 -04:00
Matt Clay
68807c461b
Add support for shippable.com CI tests.
...
This will allow offloading sanity tests from Travis to Shippable.
(cherry picked from commit 0e8930640a
)
2016-05-21 16:22:05 -07:00
Toshio Kuratomi
3bef107872
Fix the error handling for loop squashing to restore the name argument into the task args ( #15949 )
2016-05-21 07:34:36 -07:00
Toshio Kuratomi
6b964a1594
Update test off make_become for ssh pty race mitigation ( #15931 )
2016-05-19 15:20:32 -07:00
Toshio Kuratomi
36f2312071
Update core submodule to pull in docker documentation fix
2016-05-19 14:42:33 -07:00
Matt Clay
b970e2ca80
Add work-around for ssh pty race condition.
...
This should minimize loss of stdout when using
a pty and connecting with ssh or paramiko_ssh.
(cherry picked from commit bad293ae35
)
2016-05-19 10:34:09 -07:00
James Cammarata
036547b4dd
New release v2.1.0.0-0.3.rc3
2016-05-18 15:48:24 -04:00
chouseknecht
eae26891ea
Fix typo.
...
(cherry picked from commit 0bc23a4408
)
2016-05-18 15:12:42 -04:00
chouseknecht
b5ccbf2986
Update ansible-container links.
...
(cherry picked from commit 22de8a9a21
)
2016-05-18 15:12:25 -04:00
chouseknecht
7bfc3df933
Fix italics and version directives.
...
(cherry picked from commit 0c80b71d71
)
2016-05-18 15:12:09 -04:00
chouseknecht
1aa39ae78b
Add docker_service and mention ansible-container.
...
(cherry picked from commit 10c5d9e749
)
2016-05-18 15:09:14 -04:00
James Cammarata
a6150dbc14
More playbook executor compatibility fixes
...
With some earlier changes, continuing to forward failed hosts on
to the iterator with each TQM run() call was causing plays with
max_fail_pct set to fail, as hosts which failed in previous plays
were counting those old failures against the % calculation.
Also changed the linear strategy's calculation to use the internal
failed list, rather than the iterator, as this now represents the
hosts failed during the current run only.
2016-05-18 14:09:04 -04:00
Toshio Kuratomi
92e4f25066
Make load_params into a function that custom modules can access ( #15913 )
2016-05-18 10:55:46 -07:00
Dag Wieers
b3676392a8
Fix small typo in ansible.cfg ( #15912 )
2016-05-18 12:29:30 -04:00
machilde
41f45336a9
Fixed issue with parents havings depth of 3+ on add method of NetworkConfig
2016-05-18 09:31:54 -04:00
James Cammarata
710a96956e
In TQM run() mark any entries in _failed_hosts as failed in the PlayIterator
...
As noted in the comment, the TQM may be used for more than one play. As such,
after creating the new PlayIterator object it is necessary to mark any failed
hosts from previous calls to run() as failed in the iterator, so they are
properly skipped during any future calls to run().
2016-05-18 08:17:53 -04:00
James Cammarata
7855612805
Re-remove checking for failed state on hosts when building list of hosts
...
This was re-added by 63471cd (and modified by me to use iterator again),
it simply needs to be removed.
Fixes #15395
2016-05-18 08:17:53 -04:00
Vincent Roy
b0259a8631
Make sure that serial failures are handled correctly.
2016-05-18 08:17:53 -04:00
Vincent Roy
5e9b13cb94
Don't let max_fail_percentage affect future plays.
2016-05-18 08:17:53 -04:00
Vincent Roy
46e9e4c4da
Handle max_fail_percentage per task.
2016-05-18 08:17:53 -04:00
Vincent Roy
9602e43952
Don't stop executing plays after failure.
...
https://github.com/ansible/ansible/pull/13750/files
2016-05-18 08:17:53 -04:00
Vincent Roy
c901c9144c
Backward compatibility execution failures with 1.9
2016-05-18 08:17:53 -04:00
Mike Bryant
76cd7cadfe
Allow ssh agent usage for junos_netconf
...
By default the `Shell` class disables ssh agents. The `junos_netconf`
module uses this class, but doesn't re-enable agents.
Here it's explicitly enabled again, so an ssh agent can be used to
connect to and configure Junos devices.
2016-05-18 07:55:31 -04:00
Kei Nohguchi
94e4e4105d
openswitch.py: Fix the OpenSwitch REST authentication
...
It's a cookie based authentication, that we get it
through /login endpoint, called by connect() method
and save the cookie for the rest of the call.
2016-05-18 07:41:04 -04:00
Peter Sprygada
309aba128c
handle name resolution errors more gracefully from shell.py
...
This change will catch socket.gaierror exceptions from shell.py and
return a more friendly message to the user
2016-05-18 06:55:17 -04:00
nitzmahone
ff346a199c
fix windows integration tests to run under kerberos users
2016-05-17 15:32:32 -07:00
Peter Sprygada
2259b90827
bugfix for issue with trying to eval contains with non-string
...
fixes ansible/ansible-modules-core#3502
2016-05-17 06:46:03 -04:00
Brian Coca
cd2991c02d
made format more flexible and allow for non dict entries
2016-05-16 14:40:11 -04:00
Peter Sprygada
d9fa5a3b80
fixes #15496
...
changed to using OrderedDict to preserve order of lines
2016-05-16 14:05:09 -04:00