Commit Graph

29991 Commits (6020c0d4f64dbafcbafdffbfc67cfc5bb6b3c75c)
 

Author SHA1 Message Date
Toshio Kuratomi 6020c0d4f6 Prefer the stdlib SSLContext over urllib3 context
We do not go through the effort of finding the right PROTOCOL setting if
we have SSLContext in the stdlib.  So we do not want to hit the code
that uses PROTOCOL to set the urllib3-provided ssl context when
SSLContext is available.  Also, the urllib3 implementation appears to
have a bug in some recent versions.  Preferring the stdlib version will
work around that for those with Python-2.7.9+ as well.

Fixes #26235
Fixes #25402
Fixes #31998

(cherry picked from commit 725ae96e1b)
8 years ago
Matt Clay bc9b44d907 Fix pip integration test.
(cherry picked from commit ea70b49b11)
8 years ago
Matt Clay fb14b36f7f Remove EOL openSUSE Leap 42.2 from CI.
(cherry picked from commit abbc1ed4e6)
8 years ago
s-hertel 857f959135 loop doesn't exist in 2.4
(cherry picked from commit 6a6ae0cede)
8 years ago
Toshio Kuratomi 5bd16d438d Add environment in loop fix to changelog 8 years ago
Sloane Hertel deaa9a21f9 Fix using loops with environment and add tests (#32796)
(cherry picked from commit 7bb35e8781)
8 years ago
Toshio Kuratomi 6233daaa44 Add ssh flush() fix to changelog 8 years ago
Matt Martz f0cae29d57 Ensure that the become password is written on py3 in the ssh connection plugin. Fixes #34727
(cherry picked from commit 29c1d5cb5d)
8 years ago
Adam Miller 2c116617de
Fix Linux blockdevice size computation (#34645)
Linux' sysfs _always_ reports device size in 512b sector units,
regardless of the device's actual, physical blocksize.

Backport of PR#34475 originally written by jtru

Original Commit ID: 603d31685c

Signed-off-by: Adam Miller <admiller@redhat.com>
8 years ago
Matt Clay 204d0f7bea Make xattr test conditional on feature support.
(cherry picked from commit 77726b471f)
8 years ago
Matt Davis fcba7a086a avoid use of Write-Host in config script
(cherry picked from commit 82996d5b26)
8 years ago
Matt Davis a787488990 add GlobalHttpFirewallAccess arg
(cherry picked from commit a9ca0389b6)
8 years ago
James Cammarata 0255ab2e27 New release v2.3.3.0-1 8 years ago
Matt Clay 797d999513 Update FreeBSD completion for ansible-test.
(cherry picked from commit 73132d3906)
8 years ago
Matt Clay 3a963a68c2 Limit pytest < 3.3.0 for python 2.6.
(cherry picked from commit 58286ef93b)
8 years ago
Matt Clay 6e1f29cde2 Limit paramiko to < 2.4.0 for python 2.6.
(cherry picked from commit 5f5e150771)
8 years ago
Matt Clay 30b0103ceb Update FreeBSD versions used in CI. 8 years ago
Matt Clay 218103d540 Update vyos completion in network.txt.
(cherry picked from commit 3a6fad38fa)
8 years ago
Matt Clay f0f2031eaf Use vyos/1.1.8 in CI.
(cherry picked from commit 887f227994)
8 years ago
Matt Clay b123fa4d6f Fix and re-enable zypper* integration tests in CI.
(cherry picked from commit 781219bcfd)
8 years ago
Matt Clay 7256dd17ae
Pin Shippable build image to v5.4.1. (#32988)
* Pin Shippable build image to v5.4.1.
* Remove `pre_ci` to eliminate extra git sync.
8 years ago
James Cammarata 54cfb022c2 New release v2.3.3.0-0.3.rc3 8 years ago
Toshio Kuratomi 012998c5f7 Revert "Add template lookup fix to changelog"
This reverts commit 994ed2c443.
8 years ago
Toshio Kuratomi 6eb485c136 Revert "Do not escape backslashes when using the template lookup plugin"
This reverts commit 2b40463a48.

Decided that this change was too big for a bugfix release.  Make it
2.4.x only.
8 years ago
Matt Clay 49f3dda7f6
WIP: Resolve CI issues for stable-2.3. (#32605)
* Revert "If pip install requirements.txt fails, upgrade pip (#32399)"

This reverts commit 2fb4f547a9.

* Avoid pep8 user warning in 1.7.1.
* Limit cryptography version for Windows tests.
* Upgrade pip in virtualenv for pip test.
* Upgrade pip in virtualenv for groupby_filter test.
* Upgrade pip in virtualenv for template_jinja2_latest test.
8 years ago
Toshio Kuratomi b77de1bd5d If we can't find a .py file for the system six, use our bundled copy instead.
Fixes #32567
8 years ago
John R Barker 2fb4f547a9
If pip install requirements.txt fails, upgrade pip (#32399)
* If pip install requirements.txt fails, upgrade pip

* Use pycodestyle instead of pep8 (#25947)

(cherry picked from commit 4b3d6dfa8a)

* Ignore more

* pylint lint fixes

* Ignore more
8 years ago
Ganesh Nalawade eaa2fcc73f Fix password leak in logs for provider argument (#32215)
* Fix password leak in logs for provider argument

Since provider argument is not validated against a spec
the `no_log` arguments are not handled leading to password
leaking to syslogs.
To fix this:
*  Mask password and other `no_log` provider arguments in action plugin
*  In case of eapi and nxapi as the password is used in module code,
*  copy the provider password to top-level password argument which
*  handles `no_log` correctly. This will, however, throw a deprecation
*  warning message for password arg even if it is not given as a
*  top-level argument.

* Remove auth details from provider args in action plugin

* Update CHANGELOG
8 years ago
Matt Martz 4c6612eeba Fix patching to epel package
(cherry picked from commit be9cc70b74)
8 years ago
Toshio Kuratomi c4085eb07c Add hostname fix for rhel7 8 years ago
Martin Krizek b27e86ac07 hostname: fix for a new version of rhel (#31839)
Fixes #31811
(cherry picked from commit efec43dd1e)
8 years ago
James Cammarata 9e116c1b65 New release v2.3.3.0-0.2.rc2 8 years ago
Matt Clay 4cddc2e7c9 Backport ansible-test updates from devel.
The primary change is use of the new servers for
provisioning remote OS X instances for use in CI.
8 years ago
Brian Coca 03a0ea682b restored 2.4/2.5 compat 8 years ago
sethp-nr 152c895b1f wait_for: treat broken connections as "unready" (#28839)
* wait_for: treat broken connections as "unready"

We have observed the following condition while waiting for hosts:

```
Traceback (most recent call last):
  File "/var/folders/f8/23xp00654plcv2b2tcc028680000gn/T/ansible_8hxm4_/ansible_module_wait_for.py", line 585, in <module>
    main()
  File "/var/folders/f8/23xp00654plcv2b2tcc028680000gn/T/ansible_8hxm4_/ansible_module_wait_for.py", line 535, in main
    s.shutdown(socket.SHUT_RDWR)
  File "/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 57] Socket is not connected
```

This appears to happen while the host is still starting; we believe something is
accepting our connection but immediately resetting it. In these cases, we'd
prefer to continue waiting instead of immediately failing the play.

This patch has been applied locally for some time, and we have seen no adverse
effects.

* wait_for: fixup change

We were missing an import and a space after the `#`

(cherry picked from commit 402b095841)
8 years ago
James Cammarata 60d9513efb New release v2.3.3.0-0.1.rc1 8 years ago
Brian Coca 4eea3e91ad restored 'static' which is still used in 2.3 8 years ago
Brian Coca a9e8f38342 validate include_role args (#28077)
* validate include_role args
* removed unused static

(cherry picked from commit d89dd75769)
8 years ago
Toshio Kuratomi fd37f27d2b Add jenkins_plugin CVE fix to changelog 8 years ago
Toshio Kuratomi 4d5b9ae803 Remove example of using params for the url_password
params could be logged so never use it for passwords.

Also add code to raise an error if passwords are used in that field.

References #30874

(cherry picked from commit 863fcb5ace)
8 years ago
Brian Coca 43e0a0369b fix for yaml inventory in not likeing 'none' 8 years ago
jborean93 82754c7a31 revert win_file headers back to original format so cherry picking works 8 years ago
jborean93 a606321975 Updated changelog to for win_file check mode fix 8 years ago
Dag Wieers f1f8d0319f win_file: Fix check-mode issue removing dirs (#30475)
This fixed #30442

(cherry picked from commit 229a86c952)
8 years ago
Ganesh Nalawade 4f5bf2e08f Use safe_load to load yaml (#30408)
Replace `yaml.load` with `yaml.safe_load`

(cherry picked from commit 8c3bf20a13)
8 years ago
Toshio Kuratomi b4004e5046 Document boolean default value treatment (#30062)
* Consistency and document treatment of default bool values

* Document that default bool values can be any Ansible recognized bool.
  choose the one that reads better in context
* For fragments used by the copy module, make bool types use type=bool and not choices

* Edit for clarity

(cherry picked from commit 8a2f069468)
8 years ago
Rene Moser 48d821e611 update changelog for Tower module_utils SSL fix 8 years ago
ethackal 4a58187103 Fixes verify_ssl option when False in ansible_tower module util (#30308)
* Fixes verify_ssl option when False in ansible_tower module util

* fixed comparison to None per PEP-8 standards

(cherry picked from commit 4980ebf064)
8 years ago
Sloane Hertel e8e2c5a9f7 [cloud] update the local variable route_table with the latest tag changes (#23136) (#29989) 8 years ago
jborean93 01cbdb9878 Update changelog to show windows become fix on output streams 8 years ago