Commit Graph

19595 Commits (4fe8fe303fa03d3f78bf23208ef1851141687545)
 

Author SHA1 Message Date
Toshio Kuratomi b41b6b2ec5 Update test off make_become for ssh pty race mitigation (#15931) 8 years ago
Toshio Kuratomi 97791f8b4e Update submodule refs 8 years ago
Matt Davis aee3b2e430 Merge pull request #15919 from camradal/devel
Fix issue with latest pyvmomi and certificate validation
8 years ago
Peter Oliver 95cfceda98 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.
8 years ago
Matt Clay bad293ae35 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.
8 years ago
René Moser aa9a054b61 docs: changelog: new module cs_router (#15897) 8 years ago
René Moser ff62d7bbbd docs: cloudstack: add cloudstack guide to doc fragments (#15898) 8 years ago
Toshio Kuratomi 8789cfb514 Update the way we make a module be tested for py3 syntax compliance 8 years ago
Sandra Wills 9c13c7b139 Merge pull request #15804 from docschick/devel
updated video link in quickstart with link from danlondon/ansible mar…
8 years ago
Sandra Wills 56fc2ce3ad Merge pull request #15840 from gundalow/patch-1
community.rst - Formatting and readability
8 years ago
Toshio Kuratomi 8363ef43c9 Update submodule refs 8 years ago
Toshio Kuratomi 0d16782a22 Python3 syntax compatibility for modules 8 years ago
Toshio Kuratomi c37252eeca Update python3 module porting doc with new location of pycompat 8 years ago
Matt Davis ec2cb07988 Make 'required' optional in module docs (#15906)
Updated module dev docs, doc build, ansible-doc to match
8 years ago
Brian Coca 71a707fba5 quick yaml syntax checker 8 years ago
Chris Houseknecht 16a3b69549 Merge pull request #15917 from chouseknecht/doc-updates
Docker guide updates
8 years ago
chouseknecht 0bc23a4408
Fix typo. 8 years ago
John R Barker 21bef93d83 Double backticks
[ci skip]
8 years ago
chouseknecht 22de8a9a21
Update ansible-container links. 8 years ago
chouseknecht 0c80b71d71
Fix italics and version directives. 8 years ago
chouseknecht 10c5d9e749
Add docker_service and mention ansible-container. 8 years ago
James Cammarata 74a252d0a5 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.
8 years ago
Toshio Kuratomi aad9f43dda Make load_params into a function that custom modules can access (#15913) 8 years ago
Sandra Wills 7160911604 Merge pull request #15762 from dharmabumstead/devel
Work-in-progress - networking content draft
8 years ago
Dag Wieers a485395b02 Fix small typo in ansible.cfg (#15912) 8 years ago
Peter Sprygada d197407306 Merge pull request #15743 from mattchilders/multi-parent-netcfg-difference
Fixed issue with parents havings depth of 3+ on add method of Network…
8 years ago
Toshio Kuratomi 61f2147385 Rename pycompat to pycompat24
This change makes it so we know when it is safe to get rid of the module
(when we stop supporting python2.4) and makes it easier for us to find
code that is using the functions in there to update.

If needed, we'll create a pycompat26 and pycompat27 as well.  These
files are for functions that are needed on that python version to write
portable code.  So python-2.4 compatible modules may need code in
pycompat24, python26+ modules may need code in pycompat26, etc.  If
a function is needed in multiple python versions, we should implement it
in an internal common file and use import to put it in the namespace for
each pycompatXY module.
8 years ago
James Cammarata f0e26d0b76 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().
8 years ago
James Cammarata 0f659d699e 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
8 years ago
Vincent Roy 7a1309c98a Make sure that serial failures are handled correctly. 8 years ago
Vincent Roy 59d3ae6136 Don't let max_fail_percentage affect future plays. 8 years ago
Vincent Roy 994e57fa2b Handle max_fail_percentage per task. 8 years ago
Vincent Roy e193e80f04 Don't stop executing plays after failure.
https://github.com/ansible/ansible/pull/13750/files
8 years ago
Vincent Roy ba89b2a095 Backward compatibility execution failures with 1.9 8 years ago
Peter Sprygada 48aa9153f2 Merge pull request #15755 from ocadotechnology/fix-junos-netconf-ssh-agent
Allow ssh agent usage for junos_netconf
8 years ago
Peter Sprygada 9553dfdbab Merge pull request #15911 from keinohguchi/ops_rest_auth_fix
openswitch.py: Fix the OpenSwitch REST authentication
8 years ago
Peter Sprygada 114a0596aa Merge pull request #15727 from privateip/shell_module
handle name resolution errors more gracefully from shell.py
8 years ago
Kei Nohguchi 2043c32551 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.
8 years ago
Scott Butler a62ac9f17e Merge branch 'devel' of https://github.com/ansible/ansible into devel 8 years ago
Scott Butler f3dcd4b8b3 Rearranged structure; added install instructions; added info to the conditionals section. 8 years ago
nitzmahone 42f6114b61 fix windows integration tests to run under kerberos users 8 years ago
Toshio Kuratomi 73a2bddf84 Update submodule refs 8 years ago
Michael Scherer 42d8ababcb Start to test module_utils for python 3 syntax (#15882) 8 years ago
Matt Davis 9ad5a32208 Merge pull request #15894 from jhawkesworth/add_ubuntu_krb5_user_to_windows_intro
add krb5-user to list of packages to install for ubuntu
8 years ago
Peter Sprygada 7cb7132b24 Merge pull request #15891 from privateip/fixes-ansible-modules-core-3502
bugfix for issue with trying to eval contains with non-string
8 years ago
Abhijit Menon-Sen 659409a0d7 Merge pull request #15781 from alvarezloaiciga/patch-1
Fix typo in Dynamic Inventory doc
8 years ago
= be928ef71a add krb5-user to list of packages to install for ubuntu following this post on the google group: https://groups.google.com/forum/#!topic/ansible-project/dLhLtnuyzak 8 years ago
Michael Scherer fb2355e47d Port rax.py to python3 compatible syntax (#15875)
Since the pyrax website say that only python 2.7 is tested,
I do not think it is worth to aim for python 2.4 compatibility
for the various rackspace modules.
8 years ago
Michael Scherer 376fc21f92 Add a exception for module_utils/six.py regarding code smell (#15878)
Since six replace urlopen, it is normal to trigger the test,
hence the exception
8 years ago
Anne Gentle 2cd17b66be Updates links to OpenStack docs to specific pages (#15857)
While a redirect is in place for both the links to the docs.openstack.org site, a more precise link is helpful.
8 years ago